httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory|cPanel

Date Posted: 04-04-2018

Recently, we have received an issue with respect to libaprutil package on cPanel server. The apache service went down due to this. The following steps will help on fixing the issue.

1. Login to the server via ssh.

2. Run the below commands
httpd -l
apachectl -l

3. If it reports any error with respect to apr package like below.

httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory

4. Run the below command to fix the error.

yum update ea-apr-util

This will update/install the missing package on cPanel server.

5. Restart apache2 service

service httpd restart

6. Check the httpd status
service httpd status

 

Leave a Reply