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

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.

Special Offer!
For our Knowledge Base visitors only
Get 10% OFF! on Premium Hosting
Offer Valid till:
59
MINS
59
SECS
STORYSAVER
Claim Your Discount
No thanks, I'll pass
Note: Copy the coupon code and apply it on checkout.