Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On a server I haven't installed, ntpd is broken:

# /etc/init.d/ntpd start
ntpd: error while loading shared libraries: cannot open shared object file: Permission denied

but permissions look right:

# ldd /usr/sbin/ntpd => /usr/lib64/

# ls -l /usr/lib64/
lrwxrwxrwx root root /usr/lib64/ ->

# ls -l /usr/lib64/
-rwxr-xr-x root root /usr/lib64/

LD_LIBRARY_PATH is empty and the server is 64 bit:

# uname -a
Linux my.server 2.6.18-128.el5 #1 SMP [...] x86_64 x86_64 x86_64 GNU/Linux

How do I find out which library hasn't enough permissions?

share|improve this question
up vote 3 down vote accepted

If you are using SELinux, then you might have a wrong label on /usr/lib64/ file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.