Hello All, I rebooted this evening and now apache2 will not start. Starting web server: apache2/usr/sbin/apache2: error while loading shared libraries: liblber-2.4.so.2: cannot open shared object file: Error 116 webserver:/usr/sbin# ldd apache2 linux-gate.so.1 => (0xb76e6000) libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb76b3000) libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb7695000) libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7669000) libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7650000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb74f5000) libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb74b2000) liblber-2.4.so.2 => not found libdb-4.6.so => /usr/lib/libdb-4.6.so (0xb737e000) libpq.so.5 => /usr/lib/libpq.so.5 (0xb735f000) libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7174000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb7105000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb70df000) libuuid.so.1 => /lib/libuuid.so.1 (0xb70db000) librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb70d1000) libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb709f000) libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb709b000) /lib/ld-linux.so.2 (0xb76e7000) liblber-2.4.so.2 => not found libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb7087000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb706f000) libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb6fd2000) libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb6f8a000) libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb6e37000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb6da3000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb6d9f000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb6d75000) libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb6d5c000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb6d36000) libz.so.1 => /usr/lib/libz.so.1 (0xb6d21000) libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb6d10000) libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb6d0c000) libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb6ca4000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb6c80000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb6c78000) libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb6c74000) checked the logs and at first glance do not see anyting out of the ordinary. Google is no help! Any ideas how to correct? Thank You!
As a follow up in case anyone else has run into this..... webserver:/etc# ldconfig ldconfig: Cannot lstat /usr/lib/libgccpp.so.1.0.2: Stale NFS file handle ldconfig: Cannot lstat /usr/lib/libopcodes-2.18.0.20080103.so: Stale NFS file handle ldconfig: Cannot lstat /usr/lib/liblockfile.so.1.0: Stale NFS file handle ldconfig: Cannot lstat /usr/lib/libgettextpo.so.0.4.0: Stale NFS file handle ldconfig: Can't link /usr/lib/liblber-2.4.so.2 to liblber-2.4.so.2.1.0 ldconfig: Can't link /usr/lib/libmagic.so.1 to libmagic.so.1.0.0 ldconfig: Can't link /usr/lib/libformw.so.5 to libformw.so.5.7 webserver:/etc# /etc/init.d/apache2 restart Restarting web server: apache2/usr/sbin/apache2: error while loading shared libraries: liblber-2.4.so.2: cannot open shared object file: Error 116 failed! webserver:/etc I'm starting to wonder if this is a HD issue
Solved! I post just in case someone else runs into this: Code: error while loading shared libraries and Code: Stale NFS file handle The cause was disk errors. So I boot into maint mode, run: Code: fsck -f /dev/md0 then reboot. Code: ldconfig repaired all the library link with the exception of liblockfile.so.1. This I solved by reinstalling the effected package... Code: apt-get autoremove liblockfile1 Code: apt-get clean Code: apt-get install liblockfile1 and voila... I have a working system!