Customer's server in the new year, was burned off, customers find data recovery company recovered the data, but the application is still inaccessible, and finally to Apache here, Apache2 can not start, said Libsasl2.so.2 can't find, Apache can not start.
Workaround:
# Whereis HTTPD
Find out the absolute path to your httpd installation. such as/USR/SBIN/HTTPD
#ldd/usr/sbin/httpd
libpcre.so.0 =>/lib/libpcre.so.0 (0xf6f8a000)
libpcreposix.so.0 =>/usr/lib/libpcreposix.so.0 (0xf6f86000)
libaprutil-0.so.0 =>/usr/lib/libaprutil-0.so.0 (0xf6f72000)
libldap-2.2.so.7 =>/usr/lib/libldap-2.2.so.7 (0xf6f41000)
liblber-2.2.so.7 =>/usr/lib/liblber-2.2.so.7 (0xf6f35000)
libdb-4.2.so =>/lib/tls/i686/libdb-4.2.so (0xf6e67000)
libexpat.so.0 =>/usr/lib/libexpat.so.0 (0xf6e48000)
libapr-0.so.0 =>/usr/lib/libapr-0.so.0 (0xf6e25000)
Librt.so.1 =>/lib/tls/librt.so.1 (0xf6e11000)
Libm.so.6 =>/lib/tls/libm.so.6 (0xf6dee000)
Libcrypt.so.1 =>/lib/libcrypt.so.1 (0xf6dc0000)
libpthread.so.0 =>/lib/tls/libpthread.so.0 (0xf6dae000)
Libdl.so.2 =>/lib/libdl.so.2 (0xf6daa000)
Libc.so.6 =>/lib/tls/libc.so.6 (0xf6c82000)
Libresolv.so.2 =>/lib/libresolv.so.2 (0xf6c6e000)
Libsasl2.so.2 => not found
Libssl.so.4 =>/lib/libssl.so.4 (0xf6c26000)
Libcrypto.so.4 =>/lib/libcrypto.so.4 (0xf6b3e000)
/lib/ld-linux.so.2 (0xf6fab000)
Libgssapi_krb5.so.2 =>/usr/lib/libgssapi_krb5.so.2 (0xf6b29000)
Libkrb5.so.3 =>/usr/lib/libkrb5.so.3 (0xf6ac4000)
Libcom_err.so.2 =>/lib/libcom_err.so.2 (0xf6ac1000)
Libk5crypto.so.3 =>/usr/lib/libk5crypto.so.3 (0xf6aa0000)
Libz.so.1 =>/usr/lib/libz.so.1 (0xf6a90000)
#whereis libsasl2.so.2
/usr/local/lib/libsasl2.so.2
/usr/local/lib/libsasl2.so.2.0.21
Ls-l/usr/local/lib/libsasl2.so.2
Found/usr/local/lib/libsasl2.so.2==>/usr/local/lib/libsasl2.so.2.0.21
So Ln-s/usr/local/lib/libsasl2.so.2.0.21/lib/libsasl2.so.2
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/web/