LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-15-2007, 02:17 AM   #1
amardeep.sidhu
LQ Newbie
 
Registered: Mar 2007
Location: New Delhi, India
Distribution: Fedora Core 6
Posts: 9

Rep: Reputation: 0
problem with vsftpd


Hi

I have Red Hat Enterprise installed on one machine. I use another windows based machine to ftp to this machine and trasnfer some files. VSFTDP is configured on the server. These days I am facing one problem. When I try to ftp this machine sometimes it allows me but many times it gives the message "connection refused". Moreover after making the connectionw when i start transfer of files after somtimes the conenction gets disconnected and "connection reset by the peer" message is displayed. Any ideas where the problem can be. Firewall is totally disabled.

Thanks in advance
Sidhu
 
Old 03-15-2007, 11:06 AM   #2
taphagreg
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by amardeep.sidhu
Hi

I have Red Hat Enterprise installed on one machine. I use another windows based machine to ftp to this machine and trasnfer some files. VSFTDP is configured on the server. These days I am facing one problem. When I try to ftp this machine sometimes it allows me but many times it gives the message "connection refused". Moreover after making the connectionw when i start transfer of files after somtimes the conenction gets disconnected and "connection reset by the peer" message is displayed. Any ideas where the problem can be. Firewall is totally disabled.

Thanks in advance
Sidhu
Have you started the VSFTPD as a service. Check using
chkconfig --list

and confirm that the VSFTPD is listed as a service and is running.
 
Old 03-28-2007, 06:57 AM   #3
amardeep.sidhu
LQ Newbie
 
Registered: Mar 2007
Location: New Delhi, India
Distribution: Fedora Core 6
Posts: 9

Original Poster
Rep: Reputation: 0
problem with using ftp

Yea the service is started. Moreover it allows me to make the connection and also start the transfer of files. But after sometimes connection is reset and message is displayed "connection reset by the peer"

any ideas where the problem can be !!!

Thanks
Sidhu
 
Old 03-28-2007, 07:09 AM   #4
taphagreg
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
Any firewalls in the data path ?

Do you have nay firewalls in the data path ? If so, what type and do they have FTP inspection enabled ?

greg
 
Old 03-28-2007, 07:24 AM   #5
amardeep.sidhu
LQ Newbie
 
Registered: Mar 2007
Location: New Delhi, India
Distribution: Fedora Core 6
Posts: 9

Original Poster
Rep: Reputation: 0
problem with using ftp

thanks Taphagreg

Actually no firewalls are there. I disabled it from frontend and did "iptables -F". That is why I am wondering that why it is not working

Sidhu
 
Old 03-28-2007, 08:23 AM   #6
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Anything in your log? (/var/log/vsftpd.log)
 
Old 03-28-2007, 09:04 AM   #7
taphagreg
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
No other firewalls - Cisco PIX or Checkpoint or like that ?

Connection reset by peer often means your network connection has a problem and the FTP session was destroyed. It can also occur when you exceed quota or some other permissions issue on the server. I would check your vsftpd config, and check the linux error logs first (its easier). After that look carefully at your network.

In my experience very large FTP, or very slow FTP transfers can be broken by firewalls timing out the TCP connection. But if you don't have any... that is not he problem here.
 
  


Reply

Tags
ftp, vsftpd


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
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 10:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 04:41 PM
vsftpd problem nearfar Linux - Newbie 6 12-13-2005 07:16 AM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM


All times are GMT -5. The time now is 03:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration