client's server was burned off during the Chinese New Year, the customer looking for data recovery company recovered data, but the application is still inaccessible, it is best to go to apache here, Apache2 can't start, saying libsasl2.so.2 can't be found, apache can't start. Solution: # whereis httpd Find out the absolute path of your httpd installation. For example, /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/li Bcrypt.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< Br>
So ln -s /usr/local/lib/libsasl2.so.2.0.21 /lib/libsasl2.so.2
Then check again: # 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 => /lib/libsasl2 .so.2 (0xf6c5a000) libssl.so.4 => /lib/libssl.so.4 (0xf6c26000) libcrypto.so.4 => /lib/libcrypto.so.4 (0 Xf6b3e000) /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)
Restart httpd, OK.
In daily work or experiment, we often need to clone or migrate the virtual machine. After the migra
Execlp looks for a file from the PATH environment variable and executes the definition: int execlp(
Before downloading the files on the Linux machine via FTP, upload it after the Windows editing, so
About Linux shutdown and restart commands. In fact, the first article should write about Linux inst
High availability of Linux operating system clusters
Configuration and Application of Samba for File Sharing Service
How to check the number of CPUs under Linux system
.rar compressed file under linux
Linux source command and its usage introduction
Memcacheq service installation and principle overview
MongoDB installation basic tutorial under LInux
Shell batch change file system file name
Linux hard disk error report (you must specify the filesystem type)
Linux terminal terminal commonly used shortcuts
Detailed STMFD and LDMFD instructions and personal understanding analysis
Explanation: When a segmentation error occurs, how does the Linux system generate the core file
Modify the Linux default startup level or mode
How to successfully activate Win10 official professional version system?
How to revisit more than 50 desktop gadgets on Win10? 8GadgetPack to help you
Configuring tornado in windows environment
Create a personalized Win8 change Win8 startup background begins
Neighbor subsystem of the linux protocol stack (overview 1)
Winxp boot press F11 to enter the system solution winxp can not enter the system
Ask my computer to play lol this game card?
Win10 system how to open OneNote cloud notes record life drops
Win7 system plugged into the headset without sound how to do