unable to restart/start

seachen

Verified User
Joined
Feb 3, 2007
Messages
497
my DA service monitor show dovecot stopped.

when i click restart/start, it show error as below:

An error has occurred

Details

/sbin/service dovecot start 2>&1

may i know how to solve this?
 
Try starting dovecot manually from a root shell:
Code:
/sbin/service dovecot start
and see what error messages, if any, you get.

Jeff
 
Try starting dovecot manually from a root shell:
Code:
/sbin/service dovecot start
and see what error messages, if any, you get.

Jeff

Excuseme
I have the same problem
please tell me how to fix if
thanks you

[root@server1 ~]# service dovecot restart
Shutting down dovecot: [ OK ]
Starting dovecot: Info: If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
[ OK ]
[root@server1 ~]#
 
I have had the same problem for quite awhile.
When in the control panel you can stop dovecot fine.
When you try to start it I get error: /sbin/service dovecot start 2>&1
When you try "restart" I get error: /sbin/service dovecot start 2>&1
After 1 minute directadmin starts it and it runs fine.
From shell you can start, stop and restart it all day and it works great.
It's almost like the control panel doesn't have the right permissions to start it.
Any ideas?
Thanks!
 
Hello,

I believe it's a piping issue.. I fixed a box today with the issue.
The new dovecot spits out some text on stdout about authentication problems... the issue is that DA does't close that pipe as it's not expecting that (although it does send everything, both pipes to /dev/null).. but in any case.. the solution I found was to pipe everything to /dev/null at the command line level.

So edit the /etc/init.d/dovecot.
Find:
Code:
daemon dovecot
change it to:
Code:
daemon dovecot >/dev/null 2>&1
Note that you'd have to rely solely on /var/log/maillog for any errors that may happen.

John
 
Hello,

I believe it's a piping issue.. I fixed a box today with the issue.
The new dovecot spits out some text on stdout about authentication problems... the issue is that DA does't close that pipe as it's not expecting that (although it does send everything, both pipes to /dev/null).. but in any case.. the solution I found was to pipe everything to /dev/null at the command line level.

So edit the /etc/init.d/dovecot.
Find:
Code:
daemon dovecot
change it to:
Code:
daemon dovecot >/dev/null 2>&1
Note that you'd have to rely solely on /var/log/maillog for any errors that may happen.

John
v1.33.1 also have this problem:(
 
Back
Top