[Dovecot] startup script under FreeBSD 6.2 / dovecot-1.0rc22
Hi all,
I recently installed Dovecot rc22 from the FreeBSD ports and I have
some problem with the dovecot startup:
- If I start dovecot manually, it works fine, it starts and I get
messages in /var/log/maillog - If I reboot the machine, that's where the problem appears, dovecot
doesn't seem to start and I get nothing, no errors in /var/log/maillog
Any idea if this is a known problem and how to fix it ?
Thanks in advance, Regards,
Alexis
On Mon, 19 Feb 2007 23:32:27 +0100 Alexis Susset admin@munai.com wrote:
I recently installed Dovecot rc22 from the FreeBSD ports and I have
some problem with the dovecot startup:
- If I start dovecot manually, it works fine, it starts and I get
messages in /var/log/maillog- If I reboot the machine, that's where the problem appears, dovecot
doesn't seem to start and I get nothing, no errors in /var/log/maillogAny idea if this is a known problem and how to fix it ?
Have you got it enabled in the
/etc/rc.conf file?
Check the /usr/local/etc/rc.d/dovecot file for information. I am not at that machine now; however, I believe you just need:
/etc/rc.conf
dovecot_enable="YES"
In the file. It might be 'enabled' rather than 'enable' so check it out.
-- Gerard
For my birthday I got a humidifier and a de-humidifier. I put them in the same room and let them fight it out. -- Steven Wright
On 19 févr. 07, at 23:50, Gerard Seibert wrote:
On Mon, 19 Feb 2007 23:32:27 +0100 Alexis Susset admin@munai.com wrote:
I recently installed Dovecot rc22 from the FreeBSD ports and I have some problem with the dovecot startup:
- If I start dovecot manually, it works fine, it starts and I get messages in /var/log/maillog
- If I reboot the machine, that's where the problem appears, dovecot doesn't seem to start and I get nothing, no errors in /var/log/ maillog
Any idea if this is a known problem and how to fix it ?
Have you got it enabled in the
/etc/rc.conf file?
Check the /usr/local/etc/rc.d/dovecot file for information. I am
not at that machine now; however, I believe you just need:/etc/rc.conf dovecot_enable="YES"
Hello Gerard,
yes i have that in place.
The only problem seems the FreeBSD startup itself, ie: when I reboot
the machine.
Thanks for the help!
Alexis
On Mon, 19 Feb 2007 23:55:28 +0100 Alexis Susset admin@munai.com wrote:
yes i have that in place. The only problem seems the FreeBSD startup itself, ie: when I reboot
the machine.
What does you log file say? The next time you boot up, hit the "5" key I believe for verbose output. See if there is an error message regarding dovecot.
Exactly how do you start the program manually anyway? Do you use the rc.d script. Check and make sure the script has 0755 permissions.
-- Gerard
Still looking for the glorious results of my misspent youth. Say, do you have a map to the next joint?
On Mon, 19 Feb 2007 23:55:28 +0100 Alexis Susset admin@munai.com wrote:
On 19 févr. 07, at 23:50, Gerard Seibert wrote:
On Mon, 19 Feb 2007 23:32:27 +0100 Alexis Susset admin@munai.com wrote:
I recently installed Dovecot rc22 from the FreeBSD ports and I have some problem with the dovecot startup:
- If I start dovecot manually, it works fine, it starts and I get messages in /var/log/maillog
- If I reboot the machine, that's where the problem appears, dovecot doesn't seem to start and I get nothing, no errors in /var/log/ maillog
Any idea if this is a known problem and how to fix it ?
Try making the script sleep for 60 seconds before it tries to start Dovecot. That should indicate if the error is caused by a race in your configuration which Dovecot is losing.
Cheers, Dominic
On Mon, 19 Feb 2007 23:32:27 +0100 Alexis Susset admin@munai.com wrote:
Hi all,
I recently installed Dovecot rc22 from the FreeBSD ports and I have
some problem with the dovecot startup:
- If I start dovecot manually, it works fine, it starts and I get
messages in /var/log/maillog- If I reboot the machine, that's where the problem appears, dovecot
doesn't seem to start and I get nothing, no errors in /var/log/maillogAny idea if this is a known problem and how to fix it ?
This sounds similar to a problem I've been having. You're the first person I know of, though, that has seen a similar problem. This is made even more puzzling by the fact that I'm using Gentoo and you're on FreeBSD.
In my case, the problem occurs when a mail_plugin is set in the "protocol imap" section (and only there). As near as I can tell, dovecot only fails when started from a non-interactive shell or background process (I'm not sure which is the actual culprit). Using "screen -D -m" to start dovecot bypasses this problem.
-- Marshal Newrock Ideal Solution, LLC - http://www.idealso.com
participants (4)
-
Alexis Susset
-
Dominic Marks
-
Gerard Seibert
-
Marshal Newrock