- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ntp challenges
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 07:07 AM
10-30-2002 07:07 AM
ntp challenges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 07:09 AM
10-30-2002 07:09 AM
Re: ntp challenges
look at "man xntpd"
...
xntpd exits if it detects that the system clock is off by 1000 seconds or more.
...
1000 seconds are more than 10 minutes but are you running in this problem ??
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 07:23 AM
10-30-2002 07:23 AM
Re: ntp challenges
Has your NT server been setup as XNTP server ?
check on unix.
/sbin/init.d/xntpd stop
ntpdate
tail -20 /var/adm/messages
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 07:29 AM
10-30-2002 07:29 AM
Re: ntp challenges
If 'ntpd' sees a time difference in excess of 1000 seconds synchronization will cease.
You will need to step your time manually
If you are running 11.x, you can use 'date -a [-]sss[.fff]' to slew the server's clock backwards or forwards. When the clock is close to the correct time, restart your 'ntpd' services.
Otherwise, stop any time-critical processes (particularly databases where transaction timestamps are critical to integrity) and step your clock. If the adjustment is backwards, it may be simplest to reboot. Otherwise, restart 'ntpd' after the clock adjustment.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 10:02 AM
10-30-2002 10:02 AM
Re: ntp challenges
/sbin/init.d/xntpd stop
Then manually sync the time to the nt box:
ntpdate 123.123.123.2 (the nt's ipaddress)
Then restart xntpd:
/sbin/init.d/xntpd start
Verify that it is working:
tail /var/adm/syslog/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 11:29 AM
10-30-2002 11:29 AM
Re: ntp challenges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 11:36 AM
10-30-2002 11:36 AM
Re: ntp challenges
I thought my math was failing me as well there for a second....
You have the two options already:
1) Slew the time with date -a as JRF suggests. That's what I'd prefer.
OR
2) Stop xntpd & jump it forward with ntpdate as John has stated.
Either way you'll be fine as your moving forward - not backward. You'll just see more "gaps" in logs via method 2 but it should cause no harm.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 11:37 AM
10-30-2002 11:37 AM
Re: ntp challenges
concerning that 10 hours and no change could you stop and start xntpd on the HPUX box and tail the /var/adm/syslog/syslog.log file so we can see what is going on with your xntpd. Also ps -ef |grep xntpd would be nice after you restart it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 11:46 AM
10-30-2002 11:46 AM
Re: ntp challenges
The key is that a reboot will set the time directly from the NT server early in the reboot process. But before you do anything else, make sure the NT server is actually working! Use the command:
ntpq -p 123.456.789.0
or whatever the NT server's IP or hostname might be. If that fails, xntpd has been logging all sort of errors in your syslog about a dead server. Here's what a good server might look like:
ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*gpstime.srv.gxp gpinet2.gxpac.c 3 u 1 64 377 2.01 0.107 0.08
+gpstime2.srv.ga gpinet2.gxpac.c 3 u 6 64 377 1.83 6.195 0.58
+gpstime3.srv.ga gpinet2.gxpac.c 3 u 47 64 377 1.94 13.071 0.31
The columns won't match vertically because of the proportional font used in the ITRC Forums, but the key is: reach should be 377 meaning that the server is reachable and reasonable as a time server. If instead you get host unreachable or connection refused, that is the real problem. Again, all of these errors are logged in /var/adm/syslog/syslog.log--just grep for xntp.
Bill Hassell, sysadmin