LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-23-2007, 01:19 PM   #1
amsharma
LQ Newbie
 
Registered: Aug 2005
Location: New Delhi, India
Distribution: Redhat
Posts: 2

Rep: Reputation: 0
Error starting dovecot on boot in Fedora Core 6


Hello,

I installed FC6 on an Intel box. I configured Dovecot with basic changes to /etc/dovecot.conf, e.g. protocols = pop3 pop3s etc.

I also configured: log_path = /var/log/dovecot.log in this configuration file. It does not start Dovecot if I give the log_path variable. If I do not define it starts Dovecot ok.

If I switch off Dovecot service to start on boot and start it manually after boot, it starts off perfectly even if the log_path variable is defined as above. I am not sure what is happening.

If I give the command to start dovecot in /etc/rc.d/rc.local with the log_path variable set as given above it gives an error which looks like:
audit(.......): avc: denied { search } for pid 2316 comm="dovecot" name="log" dev=sda6 ino=848641 scontext=system_u: system_r:dovecot_t:s0

Is this related to SELinux? I have the firewall and SELinux enabled.
Any suggestions on how to resolve this.

Thanks
Amal
 
Old 02-24-2007, 11:44 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: 344Reputation: 344Reputation: 344Reputation: 344
Yes, this is SELinux. Have you applied maintenance to your system?

yum -y update

If that doesn't resolve it, then make sure that the files in /var/log have the correct security context:

restorecon -v -r /var/log

If all else fails, disable SELinux protection for Dovecot:

setsebool -P dovecot_disable_trans 1
 
Old 04-01-2007, 04:13 AM   #3
mbnaik
LQ Newbie
 
Registered: Aug 2006
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
Unhappy dovecot.conf

Hi
I am useing Fedora Core 6 in IBM machin first time. I am sucssesfuly installed proxy on redhat 8 but I am not abale to do in Fedora.

I am able to start dovecot service I am fecaing following error

"Starting Dovecot Imap: Fatal: listen(143) failed: Address already in use"

Pls. guide
Thanks In Advance
Manish Naik
 
Old 04-01-2007, 05:42 AM   #4
amsharma
LQ Newbie
 
Registered: Aug 2005
Location: New Delhi, India
Distribution: Redhat
Posts: 2

Original Poster
Rep: Reputation: 0
Manish,

You should start a separate thread for your problem. It is a different issue than the one with which this Thread started.

I am not sure about your problem. It could be that you have another Pop3 or Imap server software running which is using these ports.

Amal
 
Old 01-15-2009, 01:24 AM   #5
farrukhndm
Member
 
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75

Rep: Reputation: 15
turn off SeLinux off by [root@system ~]# setenforce 1

Quote:
Originally Posted by mbnaik View Post
Hi
I am useing Fedora Core 6 in IBM machin first time. I am sucssesfuly installed proxy on redhat 8 but I am not abale to do in Fedora.

I am able to start dovecot service I am fecaing following error

"Starting Dovecot Imap: Fatal: listen(143) failed: Address already in use"

Pls. guide
Thanks In Advance
Manish Naik
Starting Dovecot Imap: Fatal: listen(143) failed: Address already in use"
comes when your SeLinux service is enabled.
Please stop the SeLinux Service for that by applying command

[root@mail ~]# setenforce 0



If you On the SeLinux Back for security purpose

[root@system ~]# setenforce 1

Thanks.
 
  


Reply

Tags
boot, dovecot, failure, fedora



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
FATAL error in Fedora core 6 boot up. pushpraj Fedora 5 12-24-2006 01:11 AM
Fedora Core 4 - how do i stop unnecessary programs from starting up at boot time? nickleus Fedora 5 01-24-2006 09:18 AM
dovecot + postfix + fedora core 3 paul_mat Linux - Networking 0 08-29-2005 11:48 PM
how to start pop3 service in fedora core 3 and 2 using dovecot abhis_mail2002 Fedora 5 02-01-2005 04:35 AM
dovecot , sendmail and fedora core 2 ScooterB Linux - Software 6 01-05-2005 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration