LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   problem with vsftpd (https://www.linuxquestions.org/questions/linux-server-73/problem-with-vsftpd-537624/)

amardeep.sidhu 03-15-2007 02:17 AM

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

taphagreg 03-15-2007 11:06 AM

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.

amardeep.sidhu 03-28-2007 06:57 AM

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

taphagreg 03-28-2007 07:09 AM

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

amardeep.sidhu 03-28-2007 07:24 AM

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

pk21 03-28-2007 08:23 AM

Anything in your log? (/var/log/vsftpd.log)

taphagreg 03-28-2007 09:04 AM

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.


All times are GMT -5. The time now is 09:56 PM.