LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Dovecot Failing to start (https://www.linuxquestions.org/questions/linux-server-73/dovecot-failing-to-start-521893/)

mrJimmbo 01-22-2007 09:47 PM

Dovecot Failing to start
 
Hi all,

As usuall I have scoured the internet to find a solution before botheing anyone.

I am trying to setup my mail server with POP3 and IMAP functionality and so since dovecot comes with fed4 I figured that was the logical choice. (I am running sendmail is my MTA)

Every time I try #service dovecot start (or stop or restart) is fails with no error code/message.

I have used yum and apt to try and install it but apparently it is all up to date. Is there anything that could be stopping it or what do I do to find out why it is failing. I looked in maillog but there is nothing related to it there.

Any help would be greatly appreciated!

macemoneta 01-23-2007 03:07 PM

Try manually starting it at a root prompt with:

/usr/sbin/dovecot -F

to see if any errors are being reported. This is usually caused by an error in the configuration file, /etc/dovecot.conf.

mrJimmbo 01-23-2007 05:56 PM

Thankyou!!

It was a "Fatal: listen(143) failed: Address already in use" error

I thought it might be. Is the easiest way to get arround this just change the listening port in the conf file?

macemoneta 01-23-2007 07:38 PM

Yes - use the syntax:

Code:

listen = *:port
For example:

Code:

listen = *:8143

mrJimmbo 01-24-2007 07:51 PM

Hi

Changed the ports in dovecot and now when I do /usr/sbin/dovecot -F it just sits there and if Itype service dovecot start it fails agian :(

macemoneta 01-24-2007 08:03 PM

I assume you stopped the manual execution before attempting to start the service?

ps -Afl | grep -i dovecot

mrJimmbo 01-24-2007 08:51 PM

Yeah I did a service dovecot stop if thats enough?

from the above command I got
0 R root 2632 2603 0 77 0 - 938 - 13:43 pts/2 00:00:00 grep -i dovecot

I found some interesting information on selinux-policy-targeted relating to FC4 (which I'm running) I'm going to update that and see what happens

Thankyou again for your help it is greatly appreciated!!


All times are GMT -5. The time now is 04:12 AM.