LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-17-2004, 03:10 PM   #1
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
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?
 
Old 02-17-2004, 03:43 PM   #2
meks
Member
 
Registered: Jul 2003
Location: AT, Upper Austria
Posts: 33

Rep: Reputation: 15
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.
 
Old 08-25-2011, 02:24 AM   #3
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Fedora 29 XFCE
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
Smile 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 status
proftpd dead but subsys locked

2) If you get the proftpd dead error, first stop the xinetd service.
[test@server ~]$ sudo /etc/init.d/xinetd stop
3) Now stop the proftpd service, and then remove the lock file forcefully.
[test@server ~]$ sudo /etc/init.d/proftpd stop
[test@server ~]$ sudo rm -f /var/lock/subsys/proftpd
4)Now start the proftpd service.
[test@server ~]$ sudo /etc/init.d/proftpd start
5)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 known
- warning: unable to determine IP address of 'hostname'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf' [FAILED]
6) 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 start
[test@server ~]$ sudo /etc/init.d/proftpd status
proftpd (pid xxxxx ) is running...
Start the xinetd services finally.
[test@server ~]$ sudo /etc/init.d/xinetd start
Let us know, if this helps….
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sshd dead but subsys locked phyrko Linux - Networking 9 03-26-2009 06:17 AM
sshd dead but subsys locked itsjustme Linux - Networking 14 09-08-2005 11:36 PM
httpd dead but subsys locked x2000koh Linux - General 5 03-21-2005 06:26 PM
vsftpd dead but subsys locked ??? markstevens Linux - Software 43 03-18-2004 11:14 AM
proftpd dead but subsys locked!! NEED HELP!! acegamer Linux - Newbie 0 04-18-2003 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration