Re: ntp socket
On Wed, Jan 19, 2000 at 08:26:19AM -0600, Tim Thomas wrote:
> Can anyone tell me why I am getting this ?
> What else would be using that socket ?
>
> ----- Forwarded message from Cron Daemon <root> -----
>
> Date: Wed, 19 Jan 2000 06:00:05 -0600
> From: root (Cron Daemon)
> To: root
> Subject: Cron <root@watt> ntpdate tick.usno.navy.mil >> /var/log/timechange
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <LOGNAME=root>
>
> 19 Jan 06:00:05 ntpdate[12943]: the NTP socket is in use, exiting
I was getting that message when xntpd was running.
HAL9000:/etc/init.d# ntpdate tock.usno.navy.mil
19 Jan 11:51:49 ntpdate[1204]: step time server 192.5.41.41 offset -27.728177 sec
HAL9000:/etc/init.d# ./xntp3 start
Starting /usr/sbin/xntpd...
HAL9000:/etc/init.d# ntpdate tock.usno.navy.mil
19 Jan 11:52:00 ntpdate[1208]: the NTP socket is in use, exiting
HAL9000:/etc/init.d# ./xntp3 stop
HAL9000:/etc/init.d# ntpdate tock.usno.navy.mil
19 Jan 11:52:09 ntpdate[1211]: adjust time server 192.5.41.41 offset -0.047750 sec
Try killing xntpd before doing the ntpdate, then restarting xntpd afterward.
Or just kill xntpd period. I'm really not sure what the relationship is
between the two - other than they won't play nice together. ;)
--
Mike Werner KA8YSD | "Where do you want to go today?"
ICQ# 12934898 | "As far from Redmond as possible!"
'91 GS500E |
Morgantown WV | Only dead fish go with the flow.
Reply to:
- References:
- ntp socket
- From: Tim Thomas <thomas@watt.remoteautomation.net>