Apache symbol lookup error apr_os_uuid_get
Hi Everyone,
I have a virtual server running Fedora 9. I did a system update yesterday and since then I cannot get Apache to start. I have searched everywhere on this problem and haven't found anything that will resolve the issue for me. On executing httpd I get the OK that httpd started. If I check the status of httpd it tells me "http dead but subsys locked". On checking the logs I get this error /usr/sbin/httpd: Symbol lookup error: /usr/lib64/libaprutil-1.so.0: Undefined symbol: apr_os_uuid_get I have tried reinstalling apr aprutils and libapr, I have reinstalled httpd several times and even tried building my own to no avail. Does anyone have any help they can give me? Thanks Adam |
Hi.
A few questions: 1) Do you have the Rawhide repo switched on in your YUM config? 2) What do you get from: 'ldd /usr/sbin/httpd' 3) what do you get from: 'ldd /usr/lib64/libaprutil-1.so.0' Dave |
1. Rawhide repo in yum.
I am not sure. It is a standard install a couple of weeks old and I haven't changed anything in yum. 2. 'ldd /usr/sbin/httpd' [root@mail ~]# ldd /usr/sbin/httpd linux-vdso.so.1 => (0x00007fff4e9fe000) libm.so.6 => /lib64/libm.so.6 (0x000000000032e000) libpcre.so.0 => /lib64/libpcre.so.0 (0x00000000005b3000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00000000007dc000) libaprutil-1.so.0 => /usr/lib64/libaprutil-1.so.0 (0x00000000009f8000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000000000c13000) libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x0000000000e4b000) liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x000000008d0d8000) libdb-4.6.so => /lib64/libdb-4.6.so (0x000000000108d000) libexpat.so.1 => /lib64/libexpat.so.1 (0x00000000013d7000) libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0x0000000001600000) libpthread.so.0 => /lib64/libpthread.so.0 (0x000000000182a000) libdl.so.2 => /lib64/libdl.so.2 (0x00000000f69c0000) libc.so.6 => /lib64/libc.so.6 (0x0000000001a45000) /lib64/ld-linux-x86-64.so.2 (0x0000000000110000) libuuid.so.1 => /lib64/libuuid.so.1 (0x0000000001db1000) libresolv.so.2 => /lib64/libresolv.so.2 (0x0000000001fb5000) libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00000000021ca000) libssl.so.7 => /lib64/libssl.so.7 (0x00000000023e4000) libcrypto.so.7 => /lib64/libcrypto.so.7 (0x0000000002633000) librt.so.1 => /lib64/librt.so.1 (0x0000000002996000) libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x0000000002b9f00 0) libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x0000000002dce000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000000003070000) libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x0000000003272000) libz.so.1 => /lib64/libz.so.1 (0x0000000080632000) libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x000000000349700 0) libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x000000000369f000) 3. 'ldd /usr/lib64/libaprutil-1.so.0' [root@mail ~]# ldd /usr/lib64/libaprutil-1.so.0 linux-vdso.so.1 => (0x00007fff63bff000) libuuid.so.1 => /lib64/libuuid.so.1 (0x000000000032b000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x000000000052f000) libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x0000000000767000) liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00000000009a9000) libdb-4.6.so => /lib64/libdb-4.6.so (0x0000000000bb8000) libexpat.so.1 => /lib64/libexpat.so.1 (0x0000000000f02000) libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0x000000004b89d000) libpthread.so.0 => /lib64/libpthread.so.0 (0x000000000112b000) libdl.so.2 => /lib64/libdl.so.2 (0x0000000001346000) libc.so.6 => /lib64/libc.so.6 (0x000000000ed8f000) /lib64/ld-linux-x86-64.so.2 (0x0000003530400000) libresolv.so.2 => /lib64/libresolv.so.2 (0x000000000154a000) libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x000000000175f000) libssl.so.7 => /lib64/libssl.so.7 (0x0000000001979000) libcrypto.so.7 => /lib64/libcrypto.so.7 (0x0000000001bc8000) librt.so.1 => /lib64/librt.so.1 (0x0000000001f2b000) libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x000000000213400 0) libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x0000000002363000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000000002605000) libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x0000000002807000) libz.so.1 => /lib64/libz.so.1 (0x0000000002a2c000) libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x0000000002c4100 0) libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000000002e49000) libselinux.so.1 => /lib64/libselinux.so.1 (0x0000000006451000) [root@mail etc]# service httpd status httpd dead but subsys locked [root@mail etc]# service httpd start Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/lib64/libaprutil-1.so .0: undefined symbol: apr_os_uuid_get [FAILED] |
Looks like the versions are off on apr and httpd (httpd's been compiled against a different version of apr). Don't know how/why this has happened.
I'd try (another) 'yum update' and if you don't get any joy, post the output from: # rpm -qa | egrep 'httpd|apr' and the output from: # rpm -qi <package> for each of the packages found in the first command. Dave |
It was probably my fault. I was getting an error in Virtualmin after the latest update a few days ago. I tried re-compiling apache with support for this error and ended up finding how to remove the problem altogether.
Then I updated via yum the other night and apache hasn't worked since. Tried another yum update - no change. [root@mail /]# rpm -qa | egrep 'httpd|apr' apr-util-1.2.12-5.fc9.x86_64 libapreq2-devel-2.09-0.15.rc2.fc9.x86_64 apr-devel-1.2.12-2.fc9.x86_64 apr-util-devel-1.2.12-5.fc9.x86_64 httpd-tools-2.2.9-1.fc9.x86_64 httpd-2.2.9-1.fc9.x86_64 libapreq2-2.09-0.15.rc2.fc9.x86_64 perl-libapreq2-2.09-0.15.rc2.fc9.x86_64 apr-1.2.12-2.fc9.x86_64 httpd-devel-2.2.9-1.fc9.x86_64 [root@mail /]# rpm -qi apr-util-1.2.12-5.fc9.x86_64 Name : apr-util Relocations: (not relocatable) Version : 1.2.12 Vendor: Fedora Project Release : 5.fc9 Build Date: Mon 25 Feb 2008 09:45:40 PM EST Install Date: Mon 29 Sep 2008 01:43:48 AM EST Build Host: hammer2.fedora.re dhat.com Group : System Environment/Libraries Source RPM: apr-util-1.2.12-5.fc9.s rc.rpm Size : 159799 License: ASL 2.0 Signature : DSA/SHA1, Thu 10 Apr 2008 01:06:13 PM EST, Key ID b44269d04f2a6fd2 Packager : Fedora Project URL : http://apr.apache.org/ Summary : Apache Portable Runtime Utility library Description : The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines. This library contains additional utility interfaces for APR; including support for XML, LDAP, database interfaces, URI parsing and more. [root@mail /]# rpm -qi libapreq2-devel-2.09-0.15.rc2.fc9.x86_64 Name : libapreq2-devel Relocations: (not relocatable) Version : 2.09 Vendor: Fedora Project Release : 0.15.rc2.fc9 Build Date: Mon 10 Mar 2008 04:11:47 AM EST Install Date: Mon 29 Sep 2008 02:33:41 PM EST Build Host: xenbuilder2.fedora.redhat.com Group : Development/Libraries Source RPM: libapreq2-2.09-0.15.rc2.fc9.src.rpm Size : 956654 License: ASL 2.0 Signature : DSA/SHA1, Fri 11 Apr 2008 11:29:16 AM EST, Key ID b44269d04f2a6fd2 Packager : Fedora Project URL : http://httpd.apache.org/apreq/ Summary : Development files for libapreq2 Description : Development files for libapreq2. [root@mail /]# rpm -qi apr-devel-1.2.12-2.fc9.x86_64 Name : apr-devel Relocations: (not relocatable) Version : 1.2.12 Vendor: Fedora Project Release : 2.fc9 Build Date: Mon 25 Feb 2008 09:46:14 PM EST Install Date: Mon 29 Sep 2008 02:33:40 PM EST Build Host: xenbuilder1.fedora.redhat.com Group : Development/Libraries Source RPM: apr-1.2.12-2.fc9.src.rpm Size : 658339 License: ASL 2.0 Signature : DSA/SHA1, Thu 10 Apr 2008 01:06:13 PM EST, Key ID b44269d04f2a6fd2 Packager : Fedora Project URL : http://apr.apache.org/ Summary : APR library development kit Description : This package provides the support files which can be used to build applications using the APR library. The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines. [root@mail /]# rpm -qi apr-util-devel-1.2.12-5.fc9.x86_64 Name : apr-util-devel Relocations: (not relocatable) Version : 1.2.12 Vendor: Fedora Project Release : 5.fc9 Build Date: Mon 25 Feb 2008 09:45:40 PM EST Install Date: Mon 29 Sep 2008 02:33:40 PM EST Build Host: hammer2.fedora.redhat.com Group : Development/Libraries Source RPM: apr-util-1.2.12-5.fc9.src.rpm Size : 209837 License: ASL 2.0 Signature : DSA/SHA1, Thu 10 Apr 2008 01:06:14 PM EST, Key ID b44269d04f2a6fd2 Packager : Fedora Project URL : http://apr.apache.org/ Summary : APR utility library development kit Description : This package provides the support files which can be used to build applications using the APR utility library. The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines. [root@mail /]# httpd-tools-2.2.9-1.fc9.x86_64 -bash: httpd-tools-2.2.9-1.fc9.x86_64: command not found [root@mail /]# rpm -qi httpd-tools-2.2.9-1.fc9.x86_64 Name : httpd-tools Relocations: (not relocatable) Version : 2.2.9 Vendor: Fedora Project Release : 1.fc9 Build Date: Tue 15 Jul 2008 05:37:09 AM EST Install Date: Mon 29 Sep 2008 01:43:48 AM EST Build Host: x86-7 Group : System Environment/Daemons Source RPM: httpd-2.2.9-1.fc9.src.rpm Size : 140568 License: ASL 2.0 Signature : DSA/SHA1, Fri 29 Aug 2008 07:20:19 AM EST, Key ID 62aec3dc6df2196f Packager : Fedora Project URL : http://httpd.apache.org/ Summary : Tools for use with the Apache HTTP Server Description : The httpd-tools package contains tools which can be used with the Apache HTTP Server. [root@mail /]# rpm -qi httpd-2.2.9-1.fc9.x86_64 Name : httpd Relocations: (not relocatable) Version : 2.2.9 Vendor: Fedora Project Release : 1.fc9 Build Date: Tue 15 Jul 2008 05:37:09 AM EST Install Date: Mon 29 Sep 2008 01:43:49 AM EST Build Host: x86-7 Group : System Environment/Daemons Source RPM: httpd-2.2.9-1.fc9.src.rpm Size : 2778208 License: ASL 2.0 Signature : DSA/SHA1, Fri 29 Aug 2008 07:20:17 AM EST, Key ID 62aec3dc6df2196f Packager : Fedora Project URL : http://httpd.apache.org/ Summary : Apache HTTP Server Description : The Apache HTTP Server is a powerful, efficient, and extensible web server. [root@mail /]# rpm -qi libapreq2-2.09-0.15.rc2.fc9.x86_64 Name : libapreq2 Relocations: (not relocatable) Version : 2.09 Vendor: Fedora Project Release : 0.15.rc2.fc9 Build Date: Mon 10 Mar 2008 04:11:47 AM EST Install Date: Mon 29 Sep 2008 02:33:39 PM EST Build Host: xenbuilder2.fedora.redhat.com Group : System Environment/Libraries Source RPM: libapreq2-2.09-0.15.rc2.fc9.src.rpm Size : 113185 License: ASL 2.0 Signature : DSA/SHA1, Fri 11 Apr 2008 11:29:16 AM EST, Key ID b44269d04f2a6fd2 Packager : Fedora Project URL : http://httpd.apache.org/apreq/ Summary : Apache HTTP request library Description : libapreq is a shared library with associated modules for manipulating client request data via the Apache API. Functionality includes parsing of application/x-www-form-urlencoded and multipart/form-data content, as well as HTTP cookies. [root@mail /]# rpm -qi perl-libapreq2-2.09-0.15.rc2.fc9.x86_64 Name : perl-libapreq2 Relocations: (not relocatable) Version : 2.09 Vendor: Fedora Project Release : 0.15.rc2.fc9 Build Date: Mon 10 Mar 2008 04:11:47 AM EST Install Date: Mon 29 Sep 2008 05:31:06 PM EST Build Host: xenbuilder2.fedora.redhat.com Group : Development/Libraries Source RPM: libapreq2-2.09-0.15.rc2.fc9.src.rpm Size : 405270 License: ASL 2.0 Signature : DSA/SHA1, Sat 12 Apr 2008 04:28:36 AM EST, Key ID b44269d04f2a6fd2 Packager : Fedora Project URL : http://httpd.apache.org/apreq/ Summary : Perl interface to the Apache HTTP request library Description : This package contains a Perl interface to the Apache HTTP request library. [root@mail /]# rpm -qi apr-1.2.12-2.fc9.x86_64 Name : apr Relocations: (not relocatable) Version : 1.2.12 Vendor: Fedora Project Release : 2.fc9 Build Date: Mon 25 Feb 2008 09:46:14 PM EST Install Date: Mon 29 Sep 2008 01:43:48 AM EST Build Host: xenbuilder1.fedora.redhat.com Group : System Environment/Libraries Source RPM: apr-1.2.12-2.fc9.src.rpm Size : 281088 License: ASL 2.0 Signature : DSA/SHA1, Thu 10 Apr 2008 01:06:11 PM EST, Key ID b44269d04f2a6fd2 Packager : Fedora Project URL : http://apr.apache.org/ Summary : Apache Portable Runtime library Description : The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines, forming a system portability layer to as many operating systems as possible, including Unices, MS Win32, BeOS and OS/2. [root@mail /]# rpm -qi httpd-devel-2.2.9-1.fc9.x86_64 Name : httpd-devel Relocations: (not relocatable) Version : 2.2.9 Vendor: Fedora Project Release : 1.fc9 Build Date: Tue 15 Jul 2008 05:37:09 AM EST Install Date: Mon 29 Sep 2008 02:33:40 PM EST Build Host: x86-7 Group : Development/Libraries Source RPM: httpd-2.2.9-1.fc9.src.rpm Size : 529516 License: ASL 2.0 Signature : DSA/SHA1, Fri 29 Aug 2008 07:20:18 AM EST, Key ID 62aec3dc6df2196f Packager : Fedora Project URL : http://httpd.apache.org/ Summary : Development interfaces for the Apache HTTP server Description : The httpd-devel package contains the APXS binary and other files that you need to build Dynamic Shared Objects (DSOs) for the Apache HTTP Server. If you are installing the Apache HTTP server and you want to be able to compile or develop additional modules for Apache, you need to install this package. [root@mail /]# Thanks for your help, I really appreciate it. |
I would 'make uninstall' httpd, and rip out anything in /usr/local which is from httpd.
Then yum remove and yum install httpd and apr and see if you can start apache again. Dave |
I removed apache, apr, deleted directories in /usr/local and am still having the same problem.
I ended up setting up another machine here as the http server that links to the original machine for mysql and webmail so I am out of trouble for the moment but would still like to get it sorted. Adam |
Try uninstalling all the apr and httpd stuff again, then run:
# find / -name 'libapr*' # find / -name httpd and see if anything's been left lying around. Dave |
All times are GMT -5. The time now is 07:36 PM. |