ntp stopped working, hangs connections

This is a discussion on ntp stopped working, hangs connections within the Linux Networking forums, part of the Linux Forums category; Greetings all; I've got a machine running iptables and xntpd. For some reason, ntp quit working after a power ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-24-2003
Colin Bigam
 
Posts: n/a
Default ntp stopped working, hangs connections

Greetings all;

I've got a machine running iptables and xntpd. For some reason, ntp quit
working after a power failure. The ntp.conf file looks fine, just lists a
few public servers. Here's what happens, though.

1) If I start xntpd (via the rc scripts), it will spawn two processes--
one of them the parent of the other. Both processes hang there forever.
2) If I put a local/loopback entry as the only 'server' (127.127.1.0), then
it starts up as an undisciplined clock. Only one process is running at
this point.
3) If I strace the process (with either config file), I see a process start
up, and then fork off a second process. It seems then that the single
process I see in the second case is a forked process.
4) Now here's the weirdest part: When I 'strace -f' the startup with the
normal ntp.conf file (i.e. the one that has external servers in it),
then my entire session locks up! Furthermore, I can no longer ssh into
the box, necessitating a hard power-cycle! HOWEVER, iptables continues
to work fine, passing packets back and forth exactly like it's supposed
to.

Does anyone know what's going on? It's possible (but rather unlikely) that
this machine has been hacked, but I can't see any exploits that would
indicate this problem.

Oh, and as far as preliminary diagnostics have gone, I checked out all of
the servers listed. I can 'ntpdate' from all of them successfully.

Thanks,
Colin
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0