Problem: vsftpd stop failure, status hint "vsftpd is dead, but Subsys is locked"
Possible causes:
There is a problem with the 1.vsftpd.conf profile, note the correspondence of annotation and non annotation options, and note the spaces.
2. There are gssftp and vsftpd conflicts.
Problem solving:
1. Carefully check the vsftpd.conf configuration, keep trying, the problem is still unresolved, compared to the normal FTP server, the configuration file is no different, to determine that this file is not a problem.
2. View/etc/xinetd.d/gssftp, modify disable to Yes. Then restart Xinetd and VSFTPD, as follows:
# Service XINETD Restart
Stop xinetd:[OK]
Start xinetd:[OK]
#service vsftpd Stop
Shutdown vsftpd:[failed]
#service vsftpd Status
VSFTPD is dead, but Subsys is locked.
Feel the problem still unresolved, at this time client FTP is still available, so try to stop Xinetd:service xinetd stop at this time, client FTP is not available, and then restart the VSFTPD:
# Service VSFTPD Stop
Close vsftpd:[OK]
# service VSFTPD Start
Start vsftpd:[OK for VSFTPD]
Successful, client FTP can be used again.
After modifying Gssftp, execute xinetd restart,vsftpd still error, execute xinetd stop first, then restart VSFTPD, then start xinetd is successful. Although I don't know why, the problem is always solved, thanks to all the network resources that provide help.
Next try to do a variety of FTP configuration.
Turn from: http://leng411lian.itpub.net/post/17457/485332