LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 01-22-2007, 09:47 PM   #1
mrJimmbo
LQ Newbie
 
Registered: Dec 2006
Location: Australia
Distribution: Fedora Core
Posts: 9

Rep: Reputation: 0
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!
 
Old 01-23-2007, 03:07 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
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.
 
Old 01-23-2007, 05:56 PM   #3
mrJimmbo
LQ Newbie
 
Registered: Dec 2006
Location: Australia
Distribution: Fedora Core
Posts: 9

Original Poster
Rep: Reputation: 0
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?
 
Old 01-23-2007, 07:38 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Yes - use the syntax:

Code:
listen = *:port
For example:

Code:
listen = *:8143
 
Old 01-24-2007, 07:51 PM   #5
mrJimmbo
LQ Newbie
 
Registered: Dec 2006
Location: Australia
Distribution: Fedora Core
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 01-24-2007, 08:03 PM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
I assume you stopped the manual execution before attempting to start the service?

ps -Afl | grep -i dovecot
 
Old 01-24-2007, 08:51 PM   #7
mrJimmbo
LQ Newbie
 
Registered: Dec 2006
Location: Australia
Distribution: Fedora Core
Posts: 9

Original Poster
Rep: Reputation: 0
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!!
 
  


Reply

Tags
dovecot, sendmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dovecot can't start hilhunter Linux - Software 1 03-12-2006 01:38 PM
dovecot failed to start xchido Fedora 0 03-10-2006 04:25 PM
what to do for dovecot to start in boot itself deepclutch Linux - Networking 1 09-04-2005 11:13 AM
how to start pop3 service in fedora core 3 and 2 using dovecot abhis_mail2002 Fedora 5 02-01-2005 04:35 AM
X failing to start... Tayl Linux - Newbie 5 07-19-2002 04:51 AM


All times are GMT -5. The time now is 06:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration