Results 1 to 4 of 4

Thread: NTP offset issue with OpenSUSE 11.0

  1. #1

    Default NTP offset issue with OpenSUSE 11.0

    My NTP on Opensuse 11.0 seems to drift away slowly and reach up to 1200 offset and time gets skewed by an hour or so. I restart NTPD every night but that doesn't help.

    Here's what my ntp logs says:

    Code:
    ntpd[2527]: ntpd exiting on signal 15
    ntpd[5733]: no reply; clock not set
    "ps aux | grep ntp" shows ntpd is running.

    /etc/ntp.keys

    Code:
    1 M e3e8d1a
    cat /etc/ntp.conf

    Code:
    driftfile /var/lib/ntp/drift/ntp.drift          
    logfile /var/log/ntp                     
    server ntp1.company.tld
    I tried using IP address instead of FQDN & no luck there. I can resolve ntp1.company.tld (using nslookup) and ping it.

    cat /var/lib/ntp/drift/ntp.drift

    Code:
    447.839
    tcpdump from the ntp server shows I receive packets when I restart NTPd on the OpenSUSE client.

    Thanks for any help.

  2. #2

    Default Re: NTP offset issue with OpenSUSE 11.0

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Is this a VM by chance? What do you have in your drift file?

    Good luck.





    henders254 wrote:
    > My NTP on Opensuse 11.0 seems to drift away slowly and reach up to 1200
    > offset and time gets skewed by an hour or so. I restart NTPD every night
    > but that doesn't help.
    >
    > Here's what my ntp logs says:
    >
    >
    > Code:
    > --------------------
    >
    > ntpd[2527]: ntpd exiting on signal 15
    > ntpd[5733]: no reply; clock not set
    >
    > --------------------
    >
    >
    > "ps aux | grep ntp" shows ntpd is running.
    >
    > /etc/ntp.keys
    >
    >
    > Code:
    > --------------------
    >
    > 1 M e3e8d1a
    >
    > --------------------
    >
    >
    > cat /etc/ntp.conf
    >
    >
    > Code:
    > --------------------
    >
    > driftfile /var/lib/ntp/drift/ntp.drift
    > logfile /var/log/ntp
    > server ntp1.company.tld
    >
    > --------------------
    >
    >
    > I tried using IP address instead of FQDN & no luck there. I can resolve
    > ntp1.company.tld (using nslookup) and ping it.
    >
    > cat /var/lib/ntp/drift/ntp.drift
    >
    >
    > Code:
    > --------------------
    >
    > 447.839
    >
    > --------------------
    >
    >
    > tcpdump from the ntp server shows I receive packets when I restart NTPd
    > on the OpenSUSE client.
    >
    > Thanks for any help.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iQIcBAEBAgAGBQJKQu0dAAoJEF+XTK08PnB5yxUP/iqun2N1hcWmX37ZEmQBkYo7
    m2OvLw/57qhUOdOcU2n6530OxRzXQuScjDmBKuVhGGZ5STJrQ9wl5tTHT+jzf6qx
    RT2TbiO4/S1wG3of4lzmNxX2Y3AYT2pzTyAXuwMi4Uc97tnku4w+XZaP6u4NCRv5
    yIRaEwsRW87TTnUg6/i7MvX8cKOtw+Z3BljdUodUVKeP2c4YFdp7YiHCPYUbzG6b
    6b+Ie9985tJvGX2IJDt1rCq0j24DXFvJDxtl8Gp3n6rzi08FgVSFaU69PyDbGeBU
    Pp4Wra4qkM6ns/5z1Ufg0764Orc2hxcQTpFM4d+7alL3Oa53SwqSKY53ySvIXjkX
    Za/b1CT3uaM9GzG5DcHVzZMNRkjsg6GM3Gc2z1nnsT+KQoJ8iCv5BiQsc0EGP6dp
    mZ+CfGyQvmJmUWd7S3mth4hrRm1Mh2So8rNkCAO7fDYJfTIanQupXVqCqLE3B2Ca
    oGKkatpfcXKAhv89Rgbx2KmAXL0xu7+g2l9KdYAUYluqnzmR+5JoieGYTx6bo/wY
    xP/0moInxnc8ecYhtS4+RrS+jNcVcr6dLRUY8p4QL3O+MFhvx3f7QtcHTyGnsEQf
    q82y6daPrZihkqebmB0w8dPa4Nvn3w+nPgSRbzN67lPs8bXqoU0M91gvbJMB1Wrb
    Am1Marp3erGTm1xVUuSy
    =lD8s
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: NTP offset issue with OpenSUSE 11.0

    Quote Originally Posted by ab@novell.com View Post
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    Is this a VM by chance? What do you have in your drift file?
    Yes it is VM but I have other OpenSUSE boxes in VM and they don't have any issues.

    I have already showed the drift file output.

    Thanks.

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,649
    Blog Entries
    14

    Default Re: NTP offset issue with OpenSUSE 11.0

    Sure your networkconnection is up and running by the time NTP starts?
    Did you configure things 'by hand' or through Yast?

    Never had any problems with NTP, except when network issues were causing them
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •