openSUSE Forums > Applications » NTP offset issue with OpenSUSE 11.0

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read

Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 24-Jun-2009, 17:41
Explorer Penguin
 
Join Date: Jun 2008
Posts: 104
henders254 hasn't been rated much yet
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.
Reply With Quote
  #2 (permalink)  
Old 24-Jun-2009, 22:21
Explorer Penguin
 
Join Date: Apr 2009
Posts: 639
ab@novell.com hasn't been rated much yet
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+XZaP6u4 NCRv5
yIRaEwsRW87TTnUg6/i7MvX8cKOtw+Z3BljdUodUVKeP2c4YFdp7YiHCPYUbzG6b
6b+Ie9985tJvGX2IJDt1rCq0j24DXFvJDxtl8Gp3n6rzi08FgV SFaU69PyDbGeBU
Pp4Wra4qkM6ns/5z1Ufg0764Orc2hxcQTpFM4d+7alL3Oa53SwqSKY53ySvIXjkX
Za/b1CT3uaM9GzG5DcHVzZMNRkjsg6GM3Gc2z1nnsT+KQoJ8iCv5B iQsc0EGP6dp
mZ+CfGyQvmJmUWd7S3mth4hrRm1Mh2So8rNkCAO7fDYJfTIanQ upXVqCqLE3B2Ca
oGKkatpfcXKAhv89Rgbx2KmAXL0xu7+g2l9KdYAUYluqnzmR+5 JoieGYTx6bo/wY
xP/0moInxnc8ecYhtS4+RrS+jNcVcr6dLRUY8p4QL3O+MFhvx3f7Q tcHTyGnsEQf
q82y6daPrZihkqebmB0w8dPa4Nvn3w+nPgSRbzN67lPs8bXqoU 0M91gvbJMB1Wrb
Am1Marp3erGTm1xVUuSy
=lD8s
-----END PGP SIGNATURE-----
Reply With Quote
  #3 (permalink)  
Old 24-Jun-2009, 23:19
Explorer Penguin
 
Join Date: Jun 2008
Posts: 104
henders254 hasn't been rated much yet
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.
Reply With Quote
  #4 (permalink)  
Old 25-Jun-2009, 04:37
Knurpht's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 1,661
Knurpht is on a distinguished reputation roadKnurpht is on a distinguished reputation road
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
__________________
- AMD Athlon X2 6.0 GHz, 8 GB DDR2-800, 30 GB SSD, 1.5 TB, EVGA 9800GT, openSUSE 11.2 RC2 KDE4 4.3.2
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, opensuse Factory, KDE4 4.3.2

There's one in every cloud...So leave the cloud in peace.
Reply With Quote
Reply

Bookmarks


Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2