[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntpdate no longer working



I seem to have the same problem...does anyone know what is happening?

thanks

Richard

Robert Waldner wrote:

> Hi!
>
> Sometime this afternoon, ntpdate stopped working.
>
> Some debugging shows that it doesn´t even send out any packet to the
>  server. strace´ output doesn´t help me, either:
>
> bash-2.03$ sudo strace ntpdate -v 193.81.13.2
> <...>
> write(1, "14 Jul 19:55:26 ntpdate[20704]: "..., 8414 Jul 19:55:26 ntpdate[20704]: ntpdate 4.0.99k23 Fri Apr 27 14:27:43 CEST 2001 (1)
> ) = 84
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
> bind(3, {sin_family=AF_INET, sin_port=htons(123), sin_addr=inet_addr("0.0.0.0")}}, 16) = 0
> fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
> getpid()                                = 20704
> getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}) = 0
> setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=8192*1024}) = 0
> brk(0x8056000)                          = 0x8056000
> pipe([4, 5])                            = 0
> fn=0xf00, child_stack=0x8055898, flags=CLONE_SIGHAND, args=0x4014a520clone()                                 = 20705
> write(5, "\320p\25@\5\0\0\0\37\225\0@\215p\25@\0\0\0\0\244\372\377"..., 148) = 148
> sigprocmask(SIG_SETMASK, NULL, [USR1])  = 0
> write(5, " b\26@\0\0\0\0(\26\3@\250R\2@ \26\3@\0\2\0\0\360\372\377"..., 148) = 148
> sigaction(SIGALRM, {0x4015d5c0, [], 0x4000000}, {SIG_DFL}, 0x4008f3b8) = 0
> gettimeofday({995133326, 168063}, NULL) = 0
> setpriority(PRIO_PROCESS, 0, -12)       = 0
> select(4, [3], [], [], {60, 0}
> <here it idles ~ 1 minute>
>          = 0 (Timeout)
> time(NULL)                              = 995133386
> getpid()                                = 20704
> write(1, "14 Jul 19:56:26 ntpdate[20704]: "..., 8414 Jul 19:56:26 ntpdate[20704]: poll(): nfound = 0, error: Function not implemented
> ) = 84
> select(4, [3], [], [], {60, 0}
>
> I haven´t done anything to the system for a week or so, and in fact,
>  did nothing but catching up on my mail today.
>
> Any hints from the more clueful? I need exact times on this box for
>  log-comparing purposes rather badly...
>
> cheers+tia,
> &rw
> --
> -- ignorami: n: The BOFH art of folding problem
> -- lusers into representational shapes.
> ----
>
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

Reply to: