proftpd / pam timeout issues.

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
consultant
Forum User
Forum User
Posts: 16
Joined: Tue Mar 13, 2007 6:07 am

proftpd / pam timeout issues.

Unread post by consultant »

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

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
When any plesk (virtual) user tries to ftp they get this:

/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. 
and very occassionally I also get this:

/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
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:

Code: Select all

I/O Error: Connection Failed: Read Time Out
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
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

I'm using Cyberduck as well and it's working just fine. Maybe a matter of active versus passive FTP connections?
Lemonbit Internet Dedicated Server Management
Post Reply