In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Vsftpd is dead but what to do if subsys is locked. In order to solve this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find an easier way.
Vsftpd is the most popular FTP server program in the Linux distribution. It is characterized by small and light, safe and easy to use. After a long time, I found a problem: vsftpd is dead, but subsys is locked. There are two answers to search the Internet. See the following analysis!
Run after booting today.
# service vsftpd start
# service vsftpd status
Vsftpd is dead, but subsys is locked.
After finding this error, back up the current configuration file as vsftpd.conf.bak20060401, and restore the previously backed up vsftpd.conf
Normal operation after restarting vsftpd
Compare the current vsftpd.conf with the wrong vsftpd.conf.bak20060401
# diff vsftpd.conf vsftpd.conf.bak20060401
32d31
48c47
-
> # add chown_username and anon_umask to forbid downloading
60c59
-
> idle_session_timeout=600
107a107109
> # # add chroot_local_user
> max_clients=5
> max_per_ip=2
108a111
> chroot_local_user
110c113
-
> # userlist_enable=YES
It is found that the problem is that the value of chroot_local_user is not defined after the sentence.
Change to chroot_local_user=YES
# mv vsftpd.conf.bak20060401 vsftpd.conf
Normal after restart
Previously searched the Internet for "vsftpd is dead, but subsys is locked"
There is only one result.
"there is a conflict between gssftp and vsftpd in the super process. Blocking gssftp and then restarting xinet and vsftpd will ok."
It seems that this sentence is not comprehensive.
Because there is no gssftp in my process, the problem lies in the low-level errors in vsftpd.conf
I think most of the people who encounter this problem should be like me to configure vsftp.conf because of some negligence rather than the so-called gssftp.
This is the answer to the question about what to do when vsftpd is dead but subsys is locked. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.