proftpd dead but subsys locked
What is wrong: I cant stop or restart proftpd, but when starting it it says it was succesfully started. Anyway, it doesn't work. When I checked it's status it said "proftpd dead but subsys locked". What does that mean and how can I get proftpd work again?
|
hi.
have a look at /var/log/messages - maybe you will find some lines telling you whats going on. additonally, you can search your proftpd-config for log-directives (SystemLog in particular). this directive defines the log-file where proftpd will write errors/warnings to. if nothing is specified or completely missing, proftpd logs to /var/log/messages. |
Final Solution that worked for me for past 2 years
See this Link
Getting the below error when starting proftpd service, on Linux. "proftpd dead but subsys locked" Please find some of the steps below to overcome this issue:1) Check the status of proftpd service, if it return the status with the below error then the service is dead & locked. [test@server ~]$ sudo /etc/init.d/proftpd status2) If you get the proftpd dead error, first stop the xinetd service. [test@server ~]$ sudo /etc/init.d/xinetd stop3) Now stop the proftpd service, and then remove the lock file forcefully. [test@server ~]$ sudo /etc/init.d/proftpd stop4)Now start the proftpd service. [test@server ~]$ sudo /etc/init.d/proftpd start5)If are getting the below error while starting the proftpd service. Then add the server IP in hosts file. Starting proftpd: – getaddrinfo 'hostname' error: Name or service not known6) Add the below entry to /etc/hosts, to overcome above error (5). <server_ip_address> <server_hostname>7) Now start the proftpd service, it starts succesfully. [test@server ~]$ sudo /etc/init.d/proftpd startStart the xinetd services finally. [test@server ~]$ sudo /etc/init.d/xinetd startLet us know, if this helps…. |
All times are GMT -5. The time now is 07:04 AM. |