LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Error starting dovecot on boot in Fedora Core 6 (https://www.linuxquestions.org/questions/linux-server-73/error-starting-dovecot-on-boot-in-fedora-core-6-a-531749/)

amsharma 02-23-2007 01:19 PM

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

macemoneta 02-24-2007 11:44 PM

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

mbnaik 04-01-2007 04:13 AM

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

amsharma 04-01-2007 05:42 AM

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

farrukhndm 01-15-2009 01:24 AM

turn off SeLinux off by [root@system ~]# setenforce 1
 
Quote:

Originally Posted by mbnaik (Post 2692828)
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.


All times are GMT -5. The time now is 01:13 AM.