proftpd / pam timeout issues.
Posted: Tue May 29, 2007 8:22 am
Hi all,
For some reason which I can't fathom, proftpd seems to be screwed.
When I ftp to the server as a real user (non-plesk) the ftp session runs just fine.
/var/log/secure
When any plesk (virtual) user tries to ftp they get this:
/var/log/secure
and very occassionally I also get this:
/var/log/secure
I've confirmed and /etc/security/pam_env.conf definitely exists and is the standard up to date, never been messed with file. In fact none of the ftp setup has ever been messed with....
The user performing the ftp constantly tries to retrieve a directory listing and eventually times out with the Error:
To confirm it's not a firewall issue, I performed the same tests with iptables -F and ran the command again with the same effect.
If anyone could give any assistance here it would be much appreciated, currently I have a server that my virtual accounts are unable to ftp to.
UPDATE: I'm not sure what is going on, but further to the previous info, I contact a user that has been ftp'ing just fine. I run a mac and use Cyberduck (which works on the real account but not the virtual). My user (who also runs a mac) told me that Cyberduck was crap and had a stack of connection issues, and now uses fetch, I donwloaded and tested fetch, this works fine on my virtual account. The other user that is complaining about problems is a windows user. I will find out what client they are using??
T.
Cheers
Tony
For some reason which I can't fathom, proftpd seems to be screwed.
When I ftp to the server as a real user (non-plesk) the ftp session runs just fine.
/var/log/secure
Code: Select all
May 29 12:32:27 quack proftpd: pam_unix(proftpd:session): session opened for user tony by (uid=0)
May 29 12:32:27 quack proftpd[27376]: domainname.co.uk (1.2.3.4[1.2.3.4]) - USER tony: Login successful.
May 29 12:32:44 quack proftpd: pam_unix(proftpd:session): session closed for user tony
/var/log/secure
Code: Select all
May 29 12:32:26 quack xinetd[2807]: START: ftp pid=27376 from=1.2.3.4
May 29 12:32:27 quack proftpd[27376]: domainname.co.uk (1.2.3.4[1.2.3.4]) - USER tony: Login successful.
May 29 12:32:27 quack proftpd[27376]: domainname.co.uk (1.2.3.4[1.2.3.4]) - mod_delay/0.5: delaying for 392007 usecs
May 29 12:32:44 quack proftpd[27376]: domainname.co.uk (1.2.3.4[1.2.3.4]) - FTP session closed.
/var/log/secure
Code: Select all
May 29 11:47:26 quack proftpd: Deprecated pam_stack module called from service "proftpd"
May 29 11:47:26 quack proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
May 29 11:47:26 quack proftpd: Deprecated pam_stack module called from service "proftpd"
May 29 11:47:26 quack proftpd: pam_unix(proftpd:session): session closed for user tclbike
The user performing the ftp constantly tries to retrieve a directory listing and eventually times out with the Error:
Code: Select all
I/O Error: Connection Failed: Read Time Out
If anyone could give any assistance here it would be much appreciated, currently I have a server that my virtual accounts are unable to ftp to.
UPDATE: I'm not sure what is going on, but further to the previous info, I contact a user that has been ftp'ing just fine. I run a mac and use Cyberduck (which works on the real account but not the virtual). My user (who also runs a mac) told me that Cyberduck was crap and had a stack of connection issues, and now uses fetch, I donwloaded and tested fetch, this works fine on my virtual account. The other user that is complaining about problems is a windows user. I will find out what client they are using??
T.
Cheers
Tony