Nocser Technology | Main Page
Please Login or Register

Knowledgebase

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

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?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
SSH with Private Key (Views: 624)
Enable Register_Globals (Views: 1042)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter