CentOS Dovecot error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Print

  • 0

If you have recently updated your Red Hat Enterprise Linux Server release 5.1 (Tikanga) / CentOS 5.1, dovecot imap server might give out the following error:

dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory

or

dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory

 

 

 

 

 

This error is not related to shared libraries. You need to set maximum process size in megabytes. If you don't use login_process_per_connection you might need to grow this. Just open /etc/dovecot.conf file

Edit the file:
nano /etc/dovecot.conf

Find line read as follows:
login_process_size

Uncomment and set it to 64:
login_process_size = 64

Save and close the file. Restart dovecot imap server:
/etc/init.d/dovecot restart


Was this answer helpful?

« Back