ProFTPD / PAM issues with new centos/virtualmin install
Posted
by
iamthewit
on Server Fault
See other posts from Server Fault
or by iamthewit
Published on 2010-09-22T19:44:52Z
Indexed on
2013/11/01
3:58 UTC
Read the original article
Hit count: 547
I just installed CentOS 5.4 on a rackspace cloud server and installed virtualmin which all seemed to go fine. The only problem I have is that I can not access the virtual servers directories via FTP.
I get the following from filezilla:
Status: Connecting to 1.1.1.1:21...
Status: Connection established, waiting for welcome message...
Response: 220 FTP Server ready.
Command: USER username
Response: 331 Password required for username.
Command: PASS ***************
Response: 230 User username logged in.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (1,1,1,1,216,214)
Command: LIST
Error: Connection timed out
Error: Failed to retrieve directory listing
and I get this from my /var/secure/log file
Sep 22 19:40:42 stickeeserver proftpd: pam_unix(proftpd:session): session opened for user username by (uid=0)
Sep 22 19:40:42 server proftpd[14051]: 94.136.40.82 (::ffff:217.207.31.60[::ffff:217.207.31.60]) - USER nastypasty: Login successful.
Sep 22 19:40:42 server proftpd[14051]: 94.136.40.82 (::ffff:217.207.31.60[::ffff:217.207.31.60]) - Preparing to chroot to directory '/home/username'
Sep 22 19:40:42 server proftpd[14051]: 94.136.40.82 (::ffff:217.207.31.60[::ffff:217.207.31.60]) - mod_delay/0.5: delaying for 728 usecs
Sep 22 19:40:42 server proftpd[14051]: 94.136.40.82
(::ffff:217.207.31.60[::ffff:217.207.31.60]) - error setting IPV6_V6ONLY: Protocol not available
Any help would be greatly appreciated, I'm not totally new to Linux but it's not my strongest subject. I do like to know exactly why problems occur though and how exactly to fix them so the more detail the better!
cheers
© Server Fault or respective owner