| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-23-2007, 01:19 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2005
Location: New Delhi, India
Distribution: Redhat
Posts: 2
Rep:
|
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
|
|
|
|
02-24-2007, 11:44 PM
|
#2
|
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,591
|
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
|
|
|
|
04-01-2007, 04:13 AM
|
#3
|
|
LQ Newbie
Registered: Aug 2006
Posts: 4
Rep:
|
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
|
|
|
|
04-01-2007, 05:42 AM
|
#4
|
|
LQ Newbie
Registered: Aug 2005
Location: New Delhi, India
Distribution: Redhat
Posts: 2
Original Poster
Rep:
|
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
|
|
|
|
01-15-2009, 01:24 AM
|
#5
|
|
Member
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75
Rep:
|
turn off SeLinux off by [root@system ~]# setenforce 1
Quote:
Originally Posted by mbnaik
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|