Kenneth Porter
2007-Oct-24 11:02 UTC
[CentOS] dovecot fails to start at boot, but starts manually
dovecot-1.0-1.2.rc15.el5 on CentOS 5 I reboot the server and dovecot fails to start. But I can then issue "service dovecot start" and it starts up just fine. How to debug? I don't see anything in /var/log/messages nor /var/log/maillog. I did have to set SELinux to permissive (in /etc/selinux/config), as dovecot can't get at its SSL certs. I'm debugging that independently. (SELinux is also disabled for clamav, another item to debug.)
Steve Searle
2007-Oct-24 11:59 UTC
[CentOS] dovecot fails to start at boot, but starts manually
Around 12:02pm on Wednesday, October 24, 2007 (UK time), Kenneth Porter scrawled:> I reboot the server and dovecot fails to start. But I can then issue > "service dovecot start" and it starts up just fine. How to debug? I don't > see anything in /var/log/messages nor /var/log/maillog.I know its proobably a daft question, but what does "/sbin/chkconfig --list dovecot" produce? Steve -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting a bad thing? 12:57:47 up 24 days, 22:54, 1 user, load average: 0.11, 0.10, 0.09 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20071024/5ed80512/attachment-0004.sig>
Kenneth Porter
2007-Oct-24 12:09 UTC
[CentOS] dovecot fails to start at boot, but starts manually
--On Wednesday, October 24, 2007 12:59 PM +0100 Steve Searle <steve at stevesearle.com> wrote:> I know its proobably a daft question, but what does "/sbin/chkconfig > --list dovecot" produce?A fair question, and the first thing I checked. ;) [ken at segw2 ~]$ chkconfig --list dovecot dovecot 0:off 1:off 2:off 3:on 4:on 5:on 6:off [ken at segw2 ~]$ runlevel N 3
Johnny Hughes
2007-Oct-24 12:17 UTC
[CentOS] dovecot fails to start at boot, but starts manually
Kenneth Porter wrote:> dovecot-1.0-1.2.rc15.el5 on CentOS 5 > > I reboot the server and dovecot fails to start. But I can then issue > "service dovecot start" and it starts up just fine. How to debug? I > don't see anything in /var/log/messages nor /var/log/maillog. > > I did have to set SELinux to permissive (in /etc/selinux/config), as > dovecot can't get at its SSL certs. I'm debugging that independently. > (SELinux is also disabled for clamav, another item to debug.)This is something I am having problems with using USB2 connected external storage. The USB filesystems are not initialized when it is time for mount ... therefore I need to do a noauto in /etc/fstab and mount them later in the boot process. This caused httpd to not start (as there was a directory used as the DocumentRoot for a Virtual Machine on the USB drive). Is it possible that you are mounting a filesystem after the postfix tries to start ... and it is available after startup but not at init.d/postfix start time? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20071024/eb9cabfd/attachment-0004.sig>
Kai Schaetzl
2007-Oct-24 14:49 UTC
[CentOS] dovecot fails to start at boot, but starts manually
Johnny Hughes wrote on Wed, 24 Oct 2007 07:17:06 -0500:> Is it possibleAnd if not: do you watch the console when it is booting up, do you see a delay when Dovecot is starting up (and failing)? Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com
Kenneth Porter
2007-Oct-24 19:55 UTC
[CentOS] dovecot fails to start at boot, but starts manually
On Wednesday, October 24, 2007 7:17 AM -0500 Johnny Hughes <johnny at centos.org> wrote:> Is it possible that you are mounting a filesystem after the postfix > tries to start ... and it is available after startup but not at > init.d/postfix start time?I do have a USB drive attached, but it's not mounted. (I mount it when I need to run a filesystem dump to back up the server, to /mnt/sdc.) But I do suspect a similar kind of race is involved.