- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Time Synchronisation
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
Discussions
Discussions
Forums
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
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
тАО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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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...