[Dovecot] dovecot crashes on start
Hello,
I wasn't able to find anything about this on the site that could give me a definite answer, but when I start dovecot it dies immediately. The following is left in the logs.
dovecot: Oct 06 20:59:30 Info: Dovecot starting up dovecot: Oct 06 20:59:32 Error: Auth process died too early - shutting down pop3-login: Oct 06 20:59:32 Fatal: fd_send(-1) failed: Broken pipe
I thought this might have something to do with chrooting so I tried to disable all of that in the configuration. After that did not work I rebuilt dovecot with minimal configure options (compared to what I used originally) and used a stock configuration changing only the certificate locations so that dovecot would not complain about the certificates missing, still no luck and the same error. I've tried using strace on dovecot but it seems like it hardly ever hangs/dies at the same point. I'm trying to run this on a slackware 9.0 linux based machine. Any suggestions?
Timothy,
-- I put instant coffee in a microwave and almost went back in time. -- Steven Wright
On Wed, 2003-10-08 at 03:09, Timothy wrote:
I wasn't able to find anything about this on the site that could give me a definite answer, but when I start dovecot it dies immediately. The following is left in the logs.
dovecot: Oct 06 20:59:30 Info: Dovecot starting up dovecot: Oct 06 20:59:32 Error: Auth process died too early - shutting down pop3-login: Oct 06 20:59:32 Fatal: fd_send(-1) failed: Broken pipe
Doesn't it say why auth process died? It should say at least something.. Such as a crash..
I thought this might have something to do with chrooting so I tried to disable all of that in the configuration. After that did not work I rebuilt dovecot with minimal configure options (compared to what I used originally) and used a stock configuration changing only the certificate locations so that dovecot would not complain about the certificates missing, still no luck and the same error.
So your auth_userdb = passwd and auth_passdb = pam?
I've tried using strace on dovecot but it seems like it hardly ever hangs/dies at the same point. I'm trying to run this on a slackware 9.0 linux based machine. Any suggestions?
I could take a look at one of the straces. And give the -f parameter to it.
I think I found the problem. The second trace had this line.
[pid 14987] writev(2, [{"dovecot-auth", 12}, {": ", 2}, {"error while
loading shared libra"..., 36}, {": ", 2}, {"libpq.so.3", 10}, {": ",
2}, {"cannot open shared object file", 30}, {": ", 2},
{"No such file or directory", 25}, {"\n", 1}], 10
so I added /usr/local/pgsql/lib into /etc/ld.so.conf and ran ldconfig. I now have running dovecot processes. I apologize for wasting your time.
Timothy,
-- I put instant coffee in a microwave and almost went back in time. -- Steven Wright
On Thu, 2003-10-09 at 04:24, Timothy wrote:
I think I found the problem. The second trace had this line.
[pid 14987] writev(2, [{"dovecot-auth", 12}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libpq.so.3", 10}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10
so I added /usr/local/pgsql/lib into /etc/ld.so.conf and ran ldconfig. I now have running dovecot processes. I apologize for wasting your time.
I think I'll have to change the logging a bit, so that anything written to stderr will go into log file.. Then these kind of problems could be noticed easily.
participants (2)
-
Timo Sirainen
-
Timothy