[Planetlab-users] NTP daemon
Markus Gnauck
markus at unik.de
Tue Jan 29 17:30:37 EST 2008
Hello PlanetLab Users!
I installed ntp on some of my project's nodes. Unfortunately when
trying to run the ntp service it seems to crash immediately upon
startup.
$ sudo yum install ntp
..works as expected..
$ sudo /etc/init.d/ntpd start
Starting ntpd: [ OK ]
$ /etc/init.d/ntpd status
ntpd dead but pid file exists
I tried to search for the problem, with some sources suggesting to
delete /var/run/ntpd.pid and restarting ntpd. As anticipated that did
not help much. The results are still as depicted above. (To my
knowledge the configuration file ntpd.conf seems fine though.)
When tracing the problem my tutor came up with the following output
which strongly seems like a permission issue:
Jan 27 18:42:54 chronos ntpd[31596]: ntpd 4.2.0a at 1.1196-r Fri May 12
09:51:35 EDT 2006 (1)
Jan 27 18:42:54 chronos ntpd[31596]: Cannot set RLIMIT_MEMLOCK:
Operation not permitted
Jan 27 18:42:54 chronos ntpd[31596]: mlockall(): Cannot allocate memory
Jan 27 18:42:54 chronos ntpd[31596]: precision = 1.000 usec
Jan 27 18:42:54 chronos ntpd[31596]: bind() fd 4, family 2, port 123,
addr 0.0.0.0, in_classd=0 flags=8 fails: Permission denied
Jan 27 18:42:54 chronos ntpd[31596]: bind() fd 4, family 2, port 123,
addr 127.0.0.1, in_classd=0 flags=0 fails: Permission denied
Jan 27 18:42:54 chronos ntpd[31596]: bind() fd 4, family 2, port 123,
addr 134.34.246.5, in_classd=0 flags=8 fails: Permission denied
Jan 27 18:42:54 chronos ntpd[31596]: bind() fd 4, family 2, port 123,
addr 134.34.246.5, in_classd=0 flags=8 fails: Permission denied
Jan 27 18:42:54 chronos ntpd[31596]: bind() fd 4, family 2, port 123,
addr 10.41.221.1, in_classd=0 flags=8 fails: Permission denied
Jan 27 18:42:54 chronos ntpd[31596]: kernel time sync status 0040
Jan 27 18:42:54 chronos ntpd[31596]: cap_set_proc() failed to drop root
privileges: Operation not permitted
The problem appeared on all the nodes that I've considered. I'm kind
of at a loss right now. Do you have any suggestions, pointers or help
to solve my problem?!
Please let me know if I better direct the question to a different
source of support for issues regarding PlanetLab.
Thanks in advance! Cheers,
-Markus
More information about the Users
mailing list