You are not logged in.
I've decided to setup my system using ntpd. So I used the wiki to do so
http://wiki.archlinux.org/index.php/Ntpd#ntpd
and I've modified ntp.conf and so forth and added ntpd and ntpdate to my daemons. Everything seems to be running fine but at boot I see that the ntp-client writes fail at startup and I can't figure out why. I've looked in daemon.log but I can't find anything wrong. If I issue the command ntpdate I get
[af@andre ~]$ sudo /usr/bin/ntpdate 0.dk.pool.ntp.org
28 Mar 11:57:27 ntpdate[2443]: the NTP socket is in use, exiting
WHAT AM I doing wrong?
Offline
Offline
I suggest stopping ntpd before manually running ntpdate, then start ntpd again.
Assuming your clock is reasonable you shouldn't need ntpdate each boot
Offline
Do not background ntpdate, because it uses the same port as ntpd and will prevent it from starting.
Could it be this?
I'm not doing that. Here is my daemon list from rc.conf
DAEMONS=(syslog-ng !network netfs crond alsa dbus hal networkmanager ntpd ufw cups avahi-daemon samba)
Regards
André
Offline
Meyithi wrote:Do not background ntpdate, because it uses the same port as ntpd and will prevent it from starting.
Could it be this?
I'm not doing that. Here is my daemon list from rc.conf
DAEMONS=(syslog-ng !network netfs crond alsa dbus hal networkmanager ntpd ufw cups avahi-daemon samba)
Regards
André
Well, if ntpd is using the port, manually running ntpdate will fail because ntpd is using the port. Either run ntpdate before ntpd or as poster above said stop ntpd before running ntpdate.
Last edited by Meyithi (2010-03-28 12:44:00)
Offline
I did that in the beginning, running ntpdate before ntpd but ntpdate still failed on me at boot.
Offline