Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My ntp daemon not starting. So what is wrong? I can't find any hints about it in google.

root@us1:~# /etc/init.d/ntp start
* Starting NTP server ntpd   
/usr/sbin/ntpd: error while loading shared libraries: libopts.so.25: cannot open
shared object file: Permission denied                                     [fail]

It was running as "ntp" user. But even after I changed RUNASUSER=ntp to RUNASUSER=root in /ets/init.d/ntp situation remains the same.

root@us1:~# whereis ntpd
ntpd: /usr/sbin/ntpd

root@us1:~# /usr/sbin/ntpd
/usr/sbin/ntpd: error while loading shared libraries: libopts.so.25: cannot open
shared object file: Permission denied

root@us1:~# ls -la /usr/sbin/ntpd
-rwxr-xr-x 1 root root 671176 Jun  5 23:12 /usr/sbin/ntpd

root@us1:~# whereis libopts
libopts: /usr/lib/libopts.so /usr/lib/libopts.a

I tried to change permission to 777 but it is not helping.

root@us1:~# ls -la /usr/lib/libopts*
-rwxrwxrwx 1 root root 181130 Jul 28  2011 /usr/lib/libopts.a
lrwxrwxrwx 1 root root     18 Jul 28  2011 /usr/lib/libopts.so -> libopts.so.25.10.0
lrwxrwxrwx 1 root root     18 Jul 28  2011 /usr/lib/libopts.so.25 -> libopts.so.25.10.0
-rwxrwxrwx 1 root root 125576 Jul 28  2011 /usr/lib/libopts.so.25.10.0
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.