Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_procattr_perms_set_register

I have upgraded apache httpd server from 2.4.6 to 2.4.46.
When I fire systemctl start httpd it shows the following error:

Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_procattr_perms_set_register

like image 607
Kiran Satpute Avatar asked Oct 20 '25 14:10

Kiran Satpute


2 Answers

Make sure your apr and apr-util versions are also updated on the server and that they reside in your shared libraries.

Try this to find what httpd has been compiled with and your current installed version.

httpd -V | grep 'APR '; rpm -q apr apr-util

You should then try and update either apr or apr-util accordingly.

yum update apr apr-util

Try again and if there is no change, update the machine fully, reboot and retry. It should work.

like image 79
OldFart Avatar answered Oct 24 '25 10:10

OldFart


I got the similar error, by backend apache is stopped because of this error Error: /usr/sbin/httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_pescape_ldap

What I have done, to resolve above issue, JUST UPDATED THE apr(Apache Portable Runtime)

yum update apr apr_pescape_ldap -y

Resolved my issue.

like image 20
Maddy Avatar answered Oct 24 '25 11:10

Maddy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!