Tim Alberts
2008-Feb-21 23:56 UTC
[CentOS] Dovecot on CentOS5 - (login) returned error 127
Running CentOS Linux 5 with sendmail-procmail putting email in /var/spool/mail. I'm running pop3 only with the servers configured to authenticate with ldap (which is configured and running OK). I do have this same configuration on an older FC6 box and it works fine. I'm thinking I just need to upgrade dovecot given all the nss_ldap problems it has had, but I hate not using RPM packages and CentOS does not have upgraded packages. Hardware is Dell PowerEdge 1900 (64bit) with 2G RAM. Hopefully I'm doing something stupid and there's an easy fix for the packages and configuration I have. I'm seeing the following in the /var/log/maillog when I run dovecot. When I log in via telnet, I get the connection, but it never responds when I enter a user. Feb 21 15:41:20 cartman dovecot: Dovecot v1.0.rc15 starting up Feb 21 15:41:21 cartman dovecot: Temporary failure in creating login processes, slowing down for now Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:41:21 cartman dovecot: child 4445 (login) returned error 127 Feb 21 15:41:21 cartman dovecot: child 4446 (login) returned error 127 Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:41:21 cartman dovecot: child 4447 (login) returned error 127 Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:42:21 cartman dovecot: child 4465 (login) returned error 127 Feb 21 15:42:21 cartman dovecot: child 4466 (login) returned error 127 Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:42:21 cartman dovecot: child 4467 (login) returned error 127 Feb 21 15:43:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:43:21 cartman last message repeated 2 times Feb 21 15:43:21 cartman dovecot: child 4469 (login) returned error 127 Feb 21 15:43:21 cartman dovecot: child 4470 (login) returned error 127 Feb 21 15:43:21 cartman dovecot: child 4471 (login) returned error 127 Feb 21 15:43:59 cartman dovecot: Killed with signal 15 Dovecot details are as follows: *> dovecot --version* 1.0.rc15 *> dovecot -n* # /etc/dovecot.conf protocols: pop3 listen: * login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/pop3-login mail_executable: /usr/libexec/dovecot/pop3 mail_plugin_dir: /usr/lib64/dovecot/pop3 pop3_client_workarounds: outlook-no-nuls oe-ns-eoh auth default: passdb: driver: pam args: dovecot userdb: driver: passwd args: blocking=yes -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080221/19eb4ae0/attachment.html>
Scott Silva
2008-Feb-22 00:16 UTC
[CentOS] Re: Dovecot on CentOS5 - (login) returned error 127
on 2/21/2008 3:56 PM Tim Alberts spake the following:> Running CentOS Linux 5 with sendmail-procmail putting email in > /var/spool/mail. I'm running pop3 only with the servers configured to > authenticate with ldap (which is configured and running OK). I do have > this same configuration on an older FC6 box and it works fine. I'm > thinking I just need to upgrade dovecot given all the nss_ldap problems > it has had, but I hate not using RPM packages and CentOS does not have > upgraded packages. > > Hardware is Dell PowerEdge 1900 (64bit) with 2G RAM. Hopefully I'm > doing something stupid and there's an easy fix for the packages and > configuration I have. > > I'm seeing the following in the /var/log/maillog when I run dovecot. > When I log in via telnet, I get the connection, but it never responds > when I enter a user. > > Feb 21 15:41:20 cartman dovecot: Dovecot v1.0.rc15 starting up > Feb 21 15:41:21 cartman dovecot: Temporary failure in creating login processes, slowing down for now > Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory > Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory > Feb 21 15:41:21 cartman dovecot: child 4445 (login) returned error 127 > Feb 21 15:41:21 cartman dovecot: child 4446 (login) returned error 127 > Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory > Feb 21 15:41:21 cartman dovecot: child 4447 (login) returned error 127 > Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory > Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory > Feb 21 15:42:21 cartman dovecot: child 4465 (login) returned error 127 > Feb 21 15:42:21 cartman dovecot: child 4466 (login) returned error 127 > Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory > Feb 21 15:42:21 cartman dovecot: child 4467 (login) returned error 127 > Feb 21 15:43:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory > Feb 21 15:43:21 cartman last message repeated 2 times > Feb 21 15:43:21 cartman dovecot: child 4469 (login) returned error 127 > Feb 21 15:43:21 cartman dovecot: child 4470 (login) returned error 127 > Feb 21 15:43:21 cartman dovecot: child 4471 (login) returned error 127 > Feb 21 15:43:59 cartman dovecot: Killed with signal 15 > > Dovecot details are as follows: > > *> dovecot --version* > 1.0.rc15 > *> dovecot -n* > # /etc/dovecot.conf > protocols: pop3 > listen: * > login_dir: /var/run/dovecot/login > login_executable: /usr/libexec/dovecot/pop3-login > mail_executable: /usr/libexec/dovecot/pop3 > mail_plugin_dir: /usr/lib64/dovecot/pop3 > pop3_client_workarounds: outlook-no-nuls oe-ns-eoh > auth default: > passdb: > driver: pam > args: dovecot > userdb: > driver: passwd > args: blocking=yes >You can download 1.0.10 rpm from www.atrpms.net -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080221/15ef8ee4/attachment.sig>
John R Pierce
2008-Feb-22 00:21 UTC
[CentOS] Dovecot on CentOS5 - (login) returned error 127
Tim Alberts wrote:> Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory >this is a wild guess, and should be taken with a grain or three of salt. you might try increasing kernel parameter shmmax. this is in /etc/sysctl.conf, or can be manually set for experimentation with sysctl(8)
Tim Alberts
2008-Feb-22 01:06 UTC
[CentOS] Re: [Dovecot] Dovecot on CentOS5 - (login) returned error 127
Fixed, upgraded to 1.0.10 from rpm at www.atrpms.net and running now. Thank you for your support.
Ralph Angenendt
2008-Feb-22 11:36 UTC
[CentOS] Dovecot on CentOS5 - (login) returned error 127
Tim Alberts wrote:> Running CentOS Linux 5 with sendmail-procmail putting email in > Feb 21 15:41:20 cartman dovecot: Dovecot v1.0.rc15 starting up > Feb 21 15:41:21 cartman dovecot: Temporary failure in creating login processes, slowing down for nowThat is stated in the *RELEASE NOTES*, which you really should read >:) | The Dovecot package on x86_64 kernels requires the parameter | "login_process_size = 64" to be added to /etc/dovecot.conf after an | upgrade to CentOS 5.1. Cheers, Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080222/d3839841/attachment.sig>