Re: NTP won't update

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

 



Here is the configuration of my ntp.conf (comments removed)

    server Our internal time server
    server ntp-cup.external.hp.com
    server time.nist.gov
    server 127.127.1.0
    fudge 127.127.1.0 stratum 10

    restrict 127.0.0.1
    restrict 0.0.0.0 mask 255.255.255.255 nomodify notrap noquery notrust

    driftfile /etc/ntp/drift
    multicastclient                 # listen on default 224.0.1.1
    broadcastdelay  0.008

    authenticate no

ntpdate seems to have started working now, however, ntpq -p does not.  After syncing with the time servers using ntpdate, I start the service and run ntpq -p and get this response:

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 emh1.otc.edu    .RSTR.          16 u    -   64    0    0.000    0.000 4000.00
 ntp-cup.externa .RSTR.          16 u    -   64    0    0.000    0.000 4000.00
 time.nist.gov   .RSTR.          16 u    -   64    0    0.000    0.000 4000.00
 LOCAL(0)        LOCAL(0)        10 l   62   64    7    0.000    0.000   0.004

The ntpdates synced without a problem.  I have other servers using the same ntp.conf file without a problem.  Any ideas?

Nathaniel Hall, GSEC
Intrusion Detection and Firewall Technician
Ozarks Technical Community College -- Office of Computer Networking

halln@xxxxxxx
417-447-7535


Kevin Wang wrote:
On Tue, 30 Nov 2004 13:35:30 -0600, Nathaniel Hall <halln@xxxxxxx> wrote:
  
 I am executing ntpdate timeserver. 
 
 Here is my ntpq -p:
 
     ntpq: read: Connection refused
 
 Like I said, I have ntp running correctly on several Fedora Cor 3 servers,
as well as RHAS3 servers without problems.  I have double checked our
firewalls and do not see a problem.  The firewall on the local box is
disabled so that shouldn't be a problem.  I did ask the guy who actually
installed the system if he enabled SELinux and he did.  The only thing that
still throws me off is that we have other systems with SELinux enabled that
didn't give us any problems.
    
ntpq tries to talk to the ntpd running on your machine, so it likely
isn't running.

but again, please post your ntp.conf. that will help immensely.

and the output of "ntpdate pool.ntp.org" would help too.

   - Kevin

  

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux