[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re (5): vsftpd server problem,



On Saturday, 14 January, 2012 05:54 AM, peasthope@shaw.ca wrote:
Yup i already tried it using its own console ftp to its eth1 and
loopback interface but still the same error msgs 421 service not available.
OK, that suggests a problem with the server and not the network.
Fix that before trying a connection from another machine.
What is documented for error 421?  Might give you a hint.

                      ... P.


Hi upon my observation that every ftp connection tried the vsftpd process will spawn another process but the new process is the ppid/mother of its original PID which is the pid in the /var/run/vsftpd/vsftpd.pid. or the pid when we start the vsftpd using init.d.
 ps -ef | grep vsftp

root     6530     1           time     ?             /usr/sbin/vsftpd
root 6544 6530 time pts1 /usr/sbin/vsftpd -----> failed ftp connection error msg 421 service available root 6549 6530 time pts1 /usr/sbin/vsftpd -----> another tried and failed ftp connection error msg 421 service available
and so on for every tried failed connection.

now another observation is when issue invoke-rc.d or inet.d/vsftpd stop "root 6530 1 time ? /usr/sbin/vsftpd" will die but the remaining child process still running and it will replace the mother PID

root 6544 1 time ? /usr/sbin/vsftpd -----> failed ftp connection error msg 421 service available root 6549 6530 time pts1 /usr/sbin/vsftpd -----> another tried and failed ftp connection error msg 421 service available
and so on for every tried failed connection.

from then "invoke-rc.d or init.d/vsftpd stop" is useless it will not work even if you create the "/var/run/vsftpd/vsftpd.pid" file with 6544($ mother vsftpd PID) on it..

Inorder to stop vsftpd you need to kill it all using pid

I tried to compile from source and replace the binary vsftpd but still the problem happens..

Hope someone knows the issue..


Reply to: