[ntp:questions] Re: Ntpdate - socket in use
mayer at gis.net
Mon Jan 12 12:50:07 UTC 2004
ephesys at myexcel.com (Isaac Grover) wrote in message news:<40019073.727185 at news.centennialpr.net>...
> Hi everyone,
> I am running ntpdate 4.2.0 at 1.1161-r on RedHat 7.1, Linux kernel 2.4.2-2, and I'm
> running into what seems to be a common error. The problem is that I've looked
> at the common solutions, and I haven't come to a resolution.
> Upon running "ntpdate 188.8.131.52 ntp1.level3.net ntp2.level3.net
> 184.108.40.206" (servers are listed in order of topological proximity), I
> recieve the following message;
> Looking for host 220.127.116.11 and service ntp
> host found : ge-7-1.core2.Chicago1.Level3.net
> Looking for host ntp1.level3.net and service ntp
> host found : ntp1.level3.net
> Looking for host ntp2.level3.net and service ntp
> host found : ntp2.level3.net
> Looking for host 18.104.22.168 and service ntp
> host found : so-8-0.core1.Chicago1.Level3.net
> 11 Jan 13:19:10 ntpdate: the NTP socket is in use, exiting
> The common solution states that I am running ntpd and to kill it. "killall
> ntpd" yields "ntpd: no process killed" and a netstat doesn't show the TCP/UDP
> port 123 anywhere.
> Has anyone else run into this problem?
The common solution is not to run ntpdate, just ntpd with the -g option.
I don't know why the RedHat people did this in the startup, but there is
no reason to run ntpdate any more.
More information about the questions