Get the App
SLTechnology News&Howtos  ›  Servers  › 

Vsftpd is dead, but what if subsys is locked?

Shulou Source: shulou.com Published: 2022-06-01 07:06:03 09月17日 Update

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.

Tags: Questions what to do backup more processes errors analysis help answers run configure low-level small easy light secure easy the following content only Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information vpn MySQL OPPO Reno Shulou Tech Info