Re: [suse-sparc] ntp

From: Bob Drzyzgula (bob@drzyzgula.org)
Date: Tue Apr 02 2002 - 06:19:06 PST

  • Next message: Roger Sibert: "[suse-sparc] mysql-max"

    Date: Tue, 2 Apr 2002 09:19:06 -0500
    From: Bob Drzyzgula <bob@drzyzgula.org>
    Message-ID: <20020402091906.D2697@www2>
    Subject: Re: [suse-sparc] ntp
    

    On Tue, Apr 02, 2002 at 12:50:38PM +0200, Ng, Yatsen wrote:
    >
    > Hello there,
    >
    > I've edited ntp.conf and I'm able to reach the timeserver fine:
    >
    > ##
    > ## Outside source of synchronized time
    > ##
    > server xx.xx.xx.xx # IP address of server

    It is usual to also include the following lines:

    server 127.127.1.0 # local clock
    fudge 127.127.1.0 stratum 10

    So as to give ntp a local reference in case
    the remote servers aren't talking to you,
    or during startup.

    > ##
    > ## Miscellaneous stuff
    > ##
    >
    > driftfile /etc/ntp.drift # path for drift file
    >
    > [spawn:~]# ntpq
    > ntpq> peers
    > remote refid st t when poll reach delay offset
    > jitter
    > ========================================================================
    > ======
    > bogus-131313-TS. 0.0.0.0 16 u - 64 0 0.000 0.000
    > 4000.00

    This means the remote server isn't talking to you.
    In turn, this could be because (a) the remote server isn't
    running ntpd, (b) the remote server isn't configured
    to allow you as a client, (c) there is a firewall between
    you and the remote server that is blocking the ntp traffic,
    or (d) something else.

    The firewall thing can be the hardest to diagnose, because
    you might possibly be able to contact the time server
    using other protocols such as telnet, ssh, http, ftp,
    etc., and yet ntp will be blocked. NTP uses UDP as its
    transport. Many firewalls are configured to allow a limited
    set of TCP ports through, but will block all or virtualy
    all UDP traffic. DNS is often the only UDP protocol allowed
    through, and many times it is allowed through only via an
    application-level gateway.

    One other thing to note is that NTP takes a bunch of time
    to start up. Make sure you give it serveral minutes to
    stabilize before you decide for sure that it isn't working.

    Hope this helps.

    --Bob Drzyzugla

    -- 
    To unsubscribe, e-mail: suse-sparc-unsubscribe@suse.com
    For additional commands, e-mail: suse-sparc-help@suse.com
    



    This archive was generated by hypermail 2.1.0 : Tue Apr 02 2002 - 06:18:11 PST