[ntp:questions] ntpd startup failed
Jim Rice
jim at homebydesign.com
Wed Jul 27 15:29:00 UTC 2005
On Wed, 2005-07-27 at 10:42 +0200, Brad Knowles wrote:
> At 11:33 AM -0700 2005-07-26, Jim Rice wrote:
>
> > Jul 26 11:24:04 production ntpd: local_clock: time 0 clock 0.000000
> > offset 0.000000 freq 0.000 state 0
> > Jul 26 11:24:04 production ntpd: ntpd startup failed
> >
> > ntpdate works...
>
> It's impossible to help unless we know more about your configuration.
>
Internal server:
restrict default nomodify notrap noquery
restrict 127.0.0.1
restrict 192.168.0.0 mask 255.255.0.0 nomodify notrap
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
driftfile /var/lib/ntp/drift
# ntpq -d
ntpq> pe
remote refid st t when poll reach delay offset
jitter
==============================================================================
+65.125.233.206 128.227.205.3 2 u 740 1024 377 172.386 -27.717
2.013
*81.169.152.214 192.53.103.104 2 u 550 1024 377 163.334 11.637
0.585
+zepan.org 212.186.110.32 3 u 609 1024 377 175.124 52.014
5.601
Internal client:
server cow.homebydesign.com
driftfile /var/lib/ntp/drift
restrict default ignore
restrict 127.0.0.1
restrict cow.homebydesign.com nomodify notrap noquery
When I try to start ntpd it exits right away, leaving behind only the
pid file and a few log messages.
I ran an strace and it seg faulted...
strace -f -t /usr/sbin/ntpd -d -n -u ntp:ntp -p /var/run/ntpd.pid
...
08:26:48 connect(9, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
08:26:48 close(9) = 0
08:26:48 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
08:26:48 +++ killed by SIGSEGV +++
Why "nscd/socket"?
More information about the questions
mailing list