When you are usually running ftp daemon in the Linux, you may come across this error. You notice that your ftp site is not being served. At this point you start troubleshooting by looking at the service.
/etc/init.d/vsftpd status
vsftpd dead but subsys locked
The solution to this is first stop the xinetd by the following command,
/etc/rc.d/init.d/xinetd stop
Stopping xinetd: [ OK ]
Then remove the vsftpd lock by removing the lock file from
rm /var/lock/subsys/vsftpd
Then start the vsftpd daemon by using the following command,
service vsftpd restart
Starting vsftpd for vsftpd: [ OK ]
After starting the vsftpd deamon, you need to restart the xinetd service using the following command,
/etc/rc.d/init.d/xinetd restart
Starting xinetd: [ OK ]
This will bring up your ftp site and running.
If you liked my post, feel free to subscribe to my rss feeds
























BlogoSquare
One Trackback
[…] […]