LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-30-2003, 11:21 PM   #1
CaptainInsane
Member
 
Registered: Nov 2003
Location: Peoria
Distribution: Fedora 8
Posts: 92

Rep: Reputation: 15
Question vsftp problem... Linux clients locked out


Having a strange problem with 3 vsftp servers I setup this month.
Got anon off, using vsftpd_user_configs.

I can connect fine with IE 5.5 on Win98, or via the ftp command at a
DOS prompt. But I cant connect from any of my Linux clients.
Logs in ok, but any attempt at data transfer, even an ls or dir, and the
ftp just stalls out until I hit ctrl-c. If I try to send a file, an empty
file with the correct name is created, but then it stalls the same way.

Know its not a permissions or login issue as I can upload/download
fine using the same login from my 98 boxes.

WS_ftp and dreamweaver fail to connect from the same 98 machine
that ftp or IE connect fine with....

Same results on all three servers for both internal and external
connections. (got 2 DSL lines.)

Any ideas ? Let me know if you want to see a conf file or need more
info.
 
Old 12-01-2003, 11:00 AM   #2
donchron
LQ Newbie
 
Registered: May 2003
Location: Boston
Distribution: Fedora, SLES 8.2/UnitedLinux 1.0, RH9
Posts: 6

Rep: Reputation: 0
My vsftpd server won't accept passive connections, which is the default for some ftp clients. When I connect with a passive ftp client, the server log shows a successful connection, but I can't send or receive data (except 0-byte files as you described).

Are you using active or passive ftp on the client side? Are you allowing active and passive in vsftpd? What do your ftp logs show?

-don
 
Old 12-02-2003, 12:57 AM   #3
CaptainInsane
Member
 
Registered: Nov 2003
Location: Peoria
Distribution: Fedora 8
Posts: 92

Original Poster
Rep: Reputation: 15
You put me on the right track.

Seems to be working now. Was trying to allow both active and passive, and had the
pasv_min_port and pasv_max_port specified.

Turns out it was iptables. I got my firewall locked pretty tight, and although the ftp
port was enabled, had no rule for the port range I selected for pasv_min/max.

Added one, and it is fixed. Time to go do an iptables-save I think....

Scott
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vsftp problem dsf767 Linux - Networking 3 02-03-2005 04:05 AM
problem - locked by another application. stefdaniels Linux - Software 0 08-16-2004 12:07 PM
Linux DNS - Windows clients problem tommynet Linux - Networking 4 08-13-2003 01:33 PM
i am facing problem regarding locked cdrom drive in mandrake linux 8.2 ps_tks LinuxQuestions.org Member Success Stories 2 08-04-2003 02:14 PM
Problem with locked screen... BorisW Linux - Newbie 0 04-08-2003 05:27 AM


All times are GMT -5. The time now is 02:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration