Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  VPS FAQ  >  error while loading shared libraries: libXau.so.6
Top Scroll

error while loading shared libraries: libXau.so.6

 2 min

When you are done recompiling php/apache on the server, you receive an error as below when accessing the domain.

[Sat Aug 03 03:27:44 2013] [error] [client xx.xx.xx.xx] /usr/bin/php: error while loading shared libraries: libXau.so.6: failed to map segment from shared object: Cannot allocate memory, referer: http://domain.com/
[Sat Aug 03 03:27:44 2013] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php, referer: http://domain.com/
[Sat Aug 03 03:27:45 2013] [error] [client xx.xx.xx.xx] File does not exist: /home/xyz/public_html/abc/sys_cpanel, referer: http://domian.com/abc/

Open the apache config file and comment RLimitMEM. Save the file and restart apache. RLimitMEM Limits the memory consumption of processes launched by Apache httpd children.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.