Hello,
I try to run dovecot 1.0.3 on RHEL 5.1 beta.
As soon as I start it I get the following output and it's impossible to IMAP-log in over network.
I've been following the list for a while and it seems to ring a bell about setting the correct ulimit, but I can't find the thread anymore, so I need to ask. :(
Here's the debug output I've put together. I've been not able to core dump dovecot as described in the debug docs:
Sep 1 18:18:05 izlbw dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Sep 1 18:18:05 izlbw dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Sep 1 18:18:05 izlbw dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Sep 1 18:18:05 izlbw last message repeated 2 times Sep 1 18:18:05 izlbw dovecot: child 28781 (login) returned error 127 Sep 1 18:18:05 izlbw dovecot: child 28782 (login) returned error 127 Sep 1 18:18:05 izlbw dovecot: child 28783 (login) returned error 127 Sep 1 18:18:05 izlbw dovecot: child 28784 (login) returned error 127 Sep 1 18:18:05 izlbw dovecot: child 28785 (login) returned error 127 Sep 1 18:18:05 izlbw dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Sep 1 18:18:05 izlbw dovecot: child 28786 (login) returned error 127
Dovecot version: 1.0.3 built from atrpms.net src.rpm
Operating system or Linux distribution name: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.1 Beta (Tikanga)
CPU architecture (x86 or something else?): # uname -p x86_64
Filesystem you used: # mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) ...
Dovecot configuration: # dovecot -n # 1.0.3: /etc/dovecot.conf login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_process_per_connection: no mail_location: maildir:~/Maildir:INDEX=/srv/indexes/%d/%1n/%n mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 auth default: debug: yes debug_passwords: yes passdb: driver: ldap args: /etc/dovecot-ldap.conf userdb: driver: ldap args: /etc/dovecot-ldap.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail
Debugging:
# ulimit -c unlimited # ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited max nice (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 40960 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 max rt priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 40960 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
-- state of mind Agentur für Kommunikation, Design und Softwareentwicklung
Patrick Koetter Tel: 089 45227227 Echinger Strasse 3 Fax: 089 45227226 85386 Eching Web: http://www.state-of-mind.de
Amtsgericht München Partnerschaftsregister PR 563