在我没有安装的服务器上,ntpd 坏了:
# /etc/init.d/ntpd start
ntpd: error while loading shared libraries:
libz.so.1: cannot open shared object file: Permission denied
但权限看起来正确:
# ldd /usr/sbin/ntpd
libz.so.1 => /usr/lib64/libz.so.1
# ls -l /usr/lib64/libz.so.1
lrwxrwxrwx root root /usr/lib64/libz.so.1 -> libz.so.1.2.3
# ls -l /usr/lib64/libz.so.1.2.3
-rwxr-xr-x root root /usr/lib64/libz.so.1.2.3
LD_LIBRARY_PATH
为空且服务器为 64 位:
# uname -a
Linux my.server 2.6.18-128.el5 #1 SMP [...] x86_64 x86_64 x86_64 GNU/Linux
我如何找出哪个图书馆没有足够的权限?