LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 11-14-2007, 10:46 AM   #1
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 38
dovecot & RHEL5 U1 installation problem


I want to install dovecot as an imap server on RHEL5 U1.

Code:
Linux ***** 2.6.18-52.el5 #1 SMP Wed Sep 26 15:26:44 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
I followed the same steps (certainly there are slight differences) as I installed dovecot on a Fedora test machine.

Code:
# yum install dovecot
# /usr/share/doc/dovecot-1.0/examples/mkcert.sh
Most important setting in /etc/dovecot.conf:
Code:
protocols= imap, imaps
While my Fedora machine works, the RHEL5 U1 dovecot setup does not:

Code:
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
*hangs*
Here I should be greeted with:
Code:
$ telnet localhost 143
Trying 127.0.0.1...
Connected to server1.example.com (127.0.0.1).
Escape character is '^]'.
* OK Dovecot ready
A test with mutt also fails (Waiting forever for login):

Code:
# mutt -f imap://localhost:143
Nmap shows, that the ports are open:
Code:
# nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-11-14 17:45 CET
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 1673 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
111/tcp open  rpcbind
143/tcp open  imap
631/tcp open  ipp
632/tcp open  unknown
993/tcp open  imaps

Nmap finished: 1 IP address (1 host up) scanned in 0.128 seconds
Checking with fuser for using port 143 shows the PID of a running dovecot...

Code:
# rpm -qa dovecot
dovecot-1.0-1.2.rc15.el5
# rpm -qa openssl
openssl-0.9.8b-8.3.el5
Firewall & SELinux are disabled. Any idea what is going wrong? The logs /var/log/maillog respectively /var/log/messages show nothing.

Last edited by brianmcgee; 11-14-2007 at 10:56 AM.
 
Old 11-15-2007, 01:54 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Original Poster
Rep: Reputation: 38
I have upgraded to dovecot-1.0.7-0_63.el5.x86_64 and now there are some error messages that gives me a hint where to look:

Code:
Nov 15 08:48:10 ********** dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
At [1] I found the tipp that resolves this issue. And surprise surprise now it works: Setting login_process_size = 64

Code:
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK Dovecot ready
[1] http://www.cyberciti.biz/tips/rhel-d...libraries.html
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem configure RHEL5 kernel to read & write NTFS file system. hocheetiong Linux - Newbie 3 07-08-2008 11:49 PM
Sendmail & dovecot Inbox problem fatum112 Linux - Networking 2 09-23-2007 01:51 AM
apt-get installation on RHEL5 zafar466 Linux - Software 5 08-04-2007 12:36 PM
Dom U Installation Problems on RHEL5+ Xen (installation exits abnormally) dmpatra Red Hat 1 07-24-2007 05:46 PM
Problem encountered during dovecot installation. vivaspeed Linux - Networking 1 07-12-2005 01:38 AM


All times are GMT -5. The time now is 10:03 AM.

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