- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- Re: Time Synchronisation
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
12-21-2008 10:24 AM
12-21-2008 10:24 AM
Re: Time Synchronisation
i'm still getting "Can't assign requested address" ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-21-2008 01:03 PM
12-21-2008 01:03 PM
Re: Time Synchronisation
Did you simply type the command: ntpq -p? If so, this is normal because you told ntpq to query xntpd on your local server and it is not running, or not running correctly. Be sure you type the command completely:
ntpq -p 10.2.2.28
Once you get a good response, change your ntp.conf file as mentioned above and stop/restart xntpd:
/sbin/init.d/xntpd stop
/sbin/init.d/xntpd start
then look at the end of syslog.log:
tail /var/adm/syslog/syslog.log
which will show what happened when ntpdate was run to set the current time.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-21-2008 08:39 PM
12-21-2008 08:39 PM
Re: Time Synchronisation
Did you check whether your xntpd demon is running or not ?
Are you using drift file ? if not then try with drift file restart the demon
/sbin/init.d/xntpd stop
/sbin/init.d/xntpd start
after restart give
ntpd â q
Then check you /var/adm/syslog/syslog.log
Still problem then post last 100 line of your syslog.log
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-22-2008 05:56 AM
12-22-2008 05:56 AM
Re: Time Synchronisation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-22-2008 07:00 AM
12-22-2008 07:00 AM
Re: Time Synchronisation
from client
Dec 22 09:40:02 apollo xntpd[450]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
Dec 22 09:40:02 apollo xntpd[450]: precision = 6 usec
from server
Dec 22 09:45:49 artemis xntpd[3269]: refclock_open: /dev/hpgps1: No such file or directory
Dec 22 09:45:49 artemis xntpd[3269]: configuration of 127.127.26.1 failed
Dec 22 09:47:43 artemis xntpd[3405]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
Dec 22 09:47:43 artemis xntpd[3405]: precision = 6 usec
Dec 22 09:47:43 artemis xntpd[3405]: refclock_open: /dev/hpgps1: No such file or directory
Dec 22 09:47:43 artemis xntpd[3405]: configuration of 127.127.26.1 failed
Dec 22 09:49:48 artemis xntpd[3456]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
Dec 22 09:49:48 artemis xntpd[3456]: precision = 25 usec
Dec 22 09:49:48 artemis xntpd[3456]: refclock_open: /dev/hpgps1: No such file or directory
Dec 22 09:49:48 artemis xntpd[3456]: configuration of 127.127.26.1 failed
there is not ntp.drift file on either server?
the ntpq -p 10.2.2.28 now returns this on the client
# ntpq -p 10.2.2.28
remote refid st t when poll reach delay offset disp
==============================================================================
*LOCAL(0) LOCAL(0) 3 l 66m 64 377 0.00 0.000 10.01
artemis.lccc.ed 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
the time on the client remains 5 minutes faster than the time on the server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-22-2008 11:19 AM
12-22-2008 11:19 AM
Re: Time Synchronisation
after stopping and starting xntpd...
Dec 22 14:15:11 apollo xntpd[23525]: synchronized to 10.2.2.28, stratum=4
Dec 22 14:15:11 apollo xntpd[23525]: time error -3918.453608 is way too large (set clock manually)
nothing shows up in the ntp.drift on the client, on the server the value is 0.0.0..
can i specify a smaller value in the ntp.drift file file on the client, and see if the client time changes ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-22-2008 12:20 PM
12-22-2008 12:20 PM
Re: Time Synchronisation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-22-2008 12:56 PM
12-22-2008 12:56 PM
Re: Time Synchronisation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-22-2008 01:35 PM
12-22-2008 01:35 PM
Re: Time Synchronisation
if i do the xntpd stop soon after the xntpd start then i don't get the error message.
on the ntp server i never get the error message when trying to do the xntpd stop...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-22-2008 02:25 PM
12-22-2008 02:25 PM
Re: Time Synchronisation
> i notice that on the client if i run the xntpd start, and then wait about 5-10 mins and try the xntpd stop i get the message "Unable to stop xntpd (cannot find pid)..."
> if i do the xntpd stop soon after the xntpd start then i don't get the error message.
This behavior is consistent with the 'xntpd' dying after it is started. This is likely the result of too large a time difference between your server and client.
Did you ever verify that the UTC time for your server is correct as I originally suggested?
# date -u
...should return a value very close to the correct time if NTP is going to begin to synchronize.
Regards!
...JRF...
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP