Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-19-2009, 02:25 AM   #1
LQ Newbie
Registered: Jun 2008
Location: Yangon, Myanmar
Posts: 5

Rep: Reputation: 0
linux dovecot service

Dear all;
How are you?
I have a problem with mail server ( linux ).
When I restart dovecot service , I see the message.
This is the message from bash that "dovecot dead but subsys is locked".
Please answer me quickly.
Old 01-19-2009, 07:17 PM   #2
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
When you restart dovecot, if it won't start up again it's likely the process crashed on startup but left the subsys lockfile in place. This prevents dovecot from starting up again.

If you run
/etc/init.d/dovecot status

and you see an error mesage like this, then you know the process has crashed and not cleaned up properly:
dovecot dead but subsys locked

Check the /var/log/maillog file (the exact mail log file may vary from Linux/BSD distro to distro) and you'll see something like this:

Oct 24 14:21:57 vps131 dovecot: Killed with signal 15
Oct 24 14:21:57 vps131 dovecot: Dovecot v1.0.rc15 starting up
Oct 24 14:21:58 vps131 dovecot: auth(default): mysql: Unknown connect string: pass
Oct 24 14:21:58 vps131 dovecot: Auth process died too early - shutting down
Oct 24 14:21:58 vps131 dovecot: child 7766 (auth) returned error 89
Oct 24 14:21:58 vps131 dovecot: Temporary failure in creating login processes, slowing down for now

In this instance there was a configuration error and dovecot crashed. It's a shame it doesn't die more gracefully.

The solution is simple. Check /var/lock/subsys and you'll see the dovecot file there. It's simply a matter of doing this:
rm /var/lock/subsys/dovecot

and then starting dovecot again. Obviously you'll need to work out what the configuration error was and fix it first.



Last edited by servat78; 02-19-2009 at 12:11 PM.
Old 01-21-2009, 03:32 AM   #3
LQ Newbie
Registered: Jun 2008
Location: Yangon, Myanmar
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you very much .
Have a nice day.


linux, mail, server

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
dovecot service stop Automatically farrukhndm Linux - Server 1 11-17-2008 09:02 PM
dovecot: unrecognized service onik Linux - Software 1 06-26-2008 02:46 AM
Dovecot and mysql veximDB to disable pop3 Service adnanhasanz Linux - Server 0 01-01-2008 04:04 AM
problem: dovecot /sbin/service dependencies mapster Mandriva 1 05-22-2006 06:25 AM
how to start pop3 service in fedora core 3 and 2 using dovecot abhis_mail2002 Fedora 5 02-01-2005 05:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:03 PM.

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