[CentOS] NTP

Wed May 24 18:06:42 UTC 2006
Sam Drinkard <sam at wa4phy.net>

William L. Maltby wrote:

>On Wed, 2006-05-24 at 13:26 -0400, Sam Drinkard wrote:
>  
>
>>Robert wrote:
>>
>>    
>>
>>>Sam Drinkard wrote:
>>>
>>><snip>
>>>
>>>      
>>>
>>>>Will,
>>>>
>>>>   Everything has worked correctly in the past, and I have not made 
>>>>any changes to the config files, nor dns, which is not a caching 
>>>>server.  A little bit more info.. somehow, the machine on which I'm 
>>>>having this issue is i386, where the machine here at home is x86-64.  
>>>>It works as advertized.  I copied all the config files over and 
>>>>deleted the first entry from the hosts, which on the local machine 
>>>>pointed to the remote machine.  Other than that, they both are 
>>>>identical now.  If, when executing either command, I enter "host 
>>>>vortex.wa4phy.net" then I get normal behavior.  Somehow, it is not 
>>>>setting the default host, or a default host.  I'm totally at a loss 
>>>>to explain unless there are some diffs between the two arch's.
>>>>
>>>>Sam
>>>>
>>>>        
>>>>
>>>>> 
>>>>>
>>>>>          
>>>>>
>>>Sam, just for grins, why don't you try replacing host names with IP 
>>>addresses in your /etc/ntp.conf  (after copying the original somewhere 
>>>safe!), issue a
>>>#service ntpd restart
>>>and see what that does.  Another thought:  If you have a single-core 
>>>processor accidentally running an smp kernel, ntpd will never 
>>>stabilize.  At least, that's the way it works on this AMD Athlon I'm 
>>>using right now.
>>>
>>>      
>>>
>>Will,
>>
>>    I reverted back to the original configuration, and in the process, 
>>looked at the system-config-services.  I'm seeing with the ntpd service 
>>stopped, but the subsys is locked.
>>    
>>
>
>Folks often forget this
>
>ls /var/lock/subsys
>
>should have an ntpd file.
>
>  
>
All is well on wa4phy.net.  The whole thing boiled down to the corrupt 
entry in the /etc/hosts file for the loopback.  It's a real wonder other 
stuff has not complained.....

Yes, I forgot about /var/lock/subsys too.... 

Many thanks.......

Sam