View Single Post
Tuổi 22-03-2021, 11:25 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
How to Fix Shared Libraries Error When Installing DirectAdmin
How to Fix Shared Libraries Error When Installing DirectAdmin




Lỗi /usr/local/directadmin/directadmin: error while loading shared libraries:




Problem:

After running the DirectAdmin installer, if you still see the following error message:
************************************* * * * All parts have been installed * * * ************************************* Type: /sbin/service httpd restart ./directadmin: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory ./directadmin: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory
Solution:

Step 1: Go to the DirectAdmin directory and use the ldd command lists the pathnames of all dependencies.
cd /usr/local/directadmin ldd directadmin
Step 2: Check what is the missing library, here is an example:
./directadmin: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
Step 3: Search your system for any “libssl.so.*” files by running:
locate libssl.so
Step 4: If you find a libsso.so file for a different version, eg, /lib64/libssl.so.10, then type:
cd /lib64 ln -s /usr/lib64/libssl.so.10 libssl.so.6

hoặc nếu thấy báo lỗilibcrypto.so.6

ln -sf /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6
Step 5: Finish the install by running:
cd /usr/local/directadmin
./directadmin i
./directadmin p

Nguồn: https://www.ipserverone.info/knowled...g-directadmin/
https://wiki.iphoster.net/wiki/Direc...e_or_directory
  Trả lời ngay kèm theo trích dẫn này