問題描述:用systemctl restart sshd.service 重啓sshd服務報錯ssh
Error while loading shared libraries :libcrypto.so.10: cannot open shared object file :No such file or directory
解決辦法:rest
find / -name 「\*libcrypto\*」 –print ll /lib64/libcrypto* rm –rf /lib64/libcrypto.so.10 ln –s /usr/lib/vmware-tools/lib64/libcrypto.so.1.0.1/libcrypto.so.1.0.1/lib64/libcrypto.so.10 [root@t-itsm2-v-szzb ~]# ll /lib64/libcrypto* lrwxrwxrwx 1 root root 65 Nov 17 11:32 /lib64/libcrypto.so.10 -> /usr/lib/vmware-tools/lib64/libcrypto.so.1.0.1/libcrypto.so.1.0.1 lrwxrwxrwx 1 root root 65 Nov 17 11:22 /lib64/libcrypto.so.1.0.1 -> /usr/lib/vmware-tools/lib64/libcrypto.so.1.0.1/libcrypto.so.1.0.1
若是強行卸載了包裹,也會致使sshd服務不能遠程。若是是生產環境,rpm -e 是很是危險的事情code