dovecot - starting failed via DA, not with ssh

AxlF

Verified User
Joined
Dec 14, 2007
Messages
98
Hi,

I just installed DA. From the first login I got a message that dovecot is down.

This message has been automatically generated notifying you that the service dovecot is currently down.

If I try to start it via "Service Monitor" it says "dovecot stopped".On clicking "restart":
An error has occurred

Details

if I start dovecot on console there are no errors, and dovecot is starting!

Could this be a bug?

Regards,
Alexander
 
You don't tell us what OS Distribution you're running so it's a bit hard to help you figure it out. Perhaps DirectAdmin is trying to start it incorrectly.

Have you tested to see if it's actually running when DirectAdmin says it isn't:
Code:
$ ps waux | grep ovecot
Jef
 
You don't tell us what OS Distribution you're running so it's a bit hard to help you figure it out. Perhaps DirectAdmin is trying to start it incorrectly.

Have you tested to see if it's actually running when DirectAdmin says it isn't:
Code:
$ ps waux | grep ovecot
Jef

Sorry.
I'm using Debian etch...

Code:
$ ps waux | grep dovecot
No results after restarting dovecot with DA.

Manually on console:
$ /etc/init.d/dovecot restart
Shutting down dovecot:
Starting dovecot:


$ ps waux | grep dovecot
root 30243 0.0 0.0 1924 588 ? Ss 04:27 0:00 dovecot
root 30244 0.0 0.0 2236 912 ? S 04:27 0:00 dovecot-auth
dovecot 30246 0.0 0.0 3300 1488 ? S 04:27 0:00 pop3-login
dovecot 30247 0.0 0.0 3300 1488 ? S 04:27 0:00 pop3-login
dovecot 30248 0.0 0.0 3300 1488 ? S 04:27 0:00 pop3-login
dovecot 30249 0.0 0.0 3300 1488 ? S 04:27 0:00 pop3-login


Where to search the answer?
 
Any errors in /var/log/directadmin/error.log

No, not in error.log

But in errortask.log
Code:
007:12:21-04:27:01: service dovecot wasn't running, starting it
2007:12:21-04:27:01: Error starting service dovecot : uid 0 gid 0 : /etc/init.d/dovecot start                           >>/dev/null 2>>/dev/null                     
2007:12:21-04:27:11: service dovecot didn't start, re-starting it
2007:12:21-04:27:12: Error restarting service dovecot : uid 0 gid 0 : /etc/init.d/dovecot restart                           >>/dev/null 2>>/dev/null
 
Hello,

The only difference I can think of would be the $PATH evironmental variable.
Try editing:
/etc/init.d/dovecot

in the start) section, change:

dovecot

to

/usr/sbin/dovecot

John
 
Back
Top