LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2006, 06:13 PM   #1
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Rep: Reputation: 15
Unhappy ProFTPd ... FTP client fails to connect: timeout after client sends 'LIST'


Hi,

Having a little trouble getting a remotely accessable instance of ProFTPd. It starts perfectly and runs fine, however when attempted to be accessed from another machine or indeed locally from an FTP client, the client can progress no further than sending LIST. At this point, it times out.

Using ProFTPd 1.2 on Fedora Core 4.

Some snippets from logs files...

/var/log/messages:


[root@ethereal ~]# tail -n 5 /var/log/messages

Jan 1 23:39:31 localhost proftpd[16141]: localhost.localdomain (127.0.0.1[127.0.0.1]) - FTP session opened.

Jan 1 23:39:31 localhost proftpd(pam_unix)[16141]: session opened for user james by (uid=0)

Jan 1 23:39:52 localhost proftpd[16141]: localhost.localdomain (127.0.0.1[127.0.0.1]) - PAM(setcred): System error

Jan 1 23:39:52 localhost proftpd[16141]: localhost.localdomain (127.0.0.1[127.0.0.1]) - PAM(close_session): System error

Jan 1 23:39:52 localhost proftpd[16141]: localhost.localdomain (127.0.0.1[127.0.0.1]) - FTP session closed.


/var/log/secure:

Jan 1 23:39:31 localhost proftpd[16141]: localhost.localdomain (127.0.0.1[127.0.0.1]) - USER james: Login successful.

I've specified the passive port range in the ProFTPd config file as: 60000 - 65535

Any advice you can offer would be most appreciated.

Kind regards,
James
 
Old 01-01-2006, 06:20 PM   #2
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Rep: Reputation: 15
Try setting the FTP client program to connect as active and open port 21 in the firewall or router.
I use gFTP and i had to set my program to connect as "Active", or else it wouldn't work.
 
Old 01-01-2006, 07:09 PM   #3
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Original Poster
Rep: Reputation: 15
...

Hi,

Well, that seems to have done the trick. However, it's more of an avoidance than a fix, and it would be nice to know why passive mode doesn't work.

I can live with it, but anyone who might be able to assist with passive mode please offer your advice ^^.

Thanks,
James
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot read data at server socket, though client socket sends it jacques83 Linux - Networking 0 11-15-2005 01:58 PM
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 09:45 PM
Wireless hotspot client timeout script Joffe Linux - Wireless Networking 0 04-14-2004 10:12 AM
Bittorrent Client Azureus fails to connect irfanhab Linux - Software 1 02-01-2004 04:37 AM
Refresh client user list at autentication client/server network. robertoneto123 Linux - Networking 0 11-11-2003 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration