- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Synchronizing system time with my time server ...
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
08-10-2005 11:35 PM
08-10-2005 11:35 PM
i am currently trying to setup configure our server so that it automatically sychronises its time from our time server.
i have already gone through the steps listed by Rita at the following URL:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=88427
It is still not OK!
how do i go about troubleshooting this problem?
thanking you in advance for your replies.
kind regards
yogeeraj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 11:45 PM
08-10-2005 11:45 PM
Re: Synchronizing system time with my time server (w2k3)
You must check if the time diference between you server and time server is not too big, otherwise you must first adust de time manually and then restart ntp sync.
Check syslog when starting xntpd, any messages?
Enjoy :)
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 11:46 PM
08-10-2005 11:46 PM
Re: Synchronizing system time with my time server (w2k3)
Have you tried going through the troubleshooting steps outlined here:
http://docs.hp.com/en/B2355-90685/ch07s03.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 11:52 PM
08-10-2005 11:52 PM
Re: Synchronizing system time with my time server (w2k3)
If this is the case, it may be a W2K3 bug.
It can be fixed a few ways:
1) Contact microsoft support and give them the ntpq -p results and don't take no for an answer.
2) go to http://www.ntp.org
They have working time server software for Windows NT/2000/2003 that actually follows the standards set by the International organization.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 12:15 AM
08-11-2005 12:15 AM
Re: Synchronizing system time with my time server (w2k3)
Thank you all for your replies.
A few clarifications, my time server is running on the Windows 2003 server (i have also tried to install a demo time server software on a PC - PresenTense Server (evaluation))
On my HP-UX server, i ma just trying to synchronise with the time server.
below the output of the "ntpq" and "ntpdate" when run on my hp-ux server:
# /usr/sbin/ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
mytimeserver 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
#
# /usr/sbin/ntpdate -d mytimeserver
transmit(mytimeserver)
transmit(mytimeserver)
transmit(mytimeserver)
transmit(mytimeserver)
transmit(mytimeserver)
server mytimeserver, port 123
stratum 0, precision 0, leap 00, trust 000
refid [0.0.0.0], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 10:28:16.000
originate timestamp: 00000000.00000000 Thu, Feb 7 2036 10:28:16.000
transmit timestamp: c6a5bf4f.385a7000 Thu, Aug 11 2005 16:13:03.220
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000
11 Aug 16:13:04 ntpdate[6668]: no server suitable for synchronization found
#
thanks for further guidances
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 01:47 AM
08-11-2005 01:47 AM
Re: Synchronizing system time with my time server (w2k3)
perhaps the server you try to sync up to is not itself sync'ed up(!?)
Hmmm, better take a look at Doc. ID KBRC00001983 in the tech base yourself.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 02:01 AM
08-11-2005 02:01 AM
Re: Synchronizing system time with my time server (w2k3)
You can see in your debugg information that the "reference time" and "originate timestamp" are in the future :)
What's the output of the "date" command on you hp-ux server? Is the time correctly set on your time server?
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 03:05 AM
08-11-2005 03:05 AM
Re: Synchronizing system time with my time server (w2k3)
Your timeserver is not working.
It does not reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 12:18 AM
08-12-2005 12:18 AM
Re: Synchronizing system time with my time server (w2k3)
thank you for your replies.
A few clarifications:
1. Date on my hp-ux server is ok
2. Date on my time server is ok too!
I have also tried to install a 3rd party time server (PresenTense) and it is still not ok.
giving me the following error message:
# ntpq -p mypresentense
192.168.150.208: timed out, nothing received
***Request timed out
#
any more insights would be most appreciated.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 12:47 AM
08-12-2005 12:47 AM
Re: Synchronizing system time with my time server (w2k3)
could you show us the content of /etc/ntp.conf?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 12:59 AM
08-12-2005 12:59 AM
Re: Synchronizing system time with my time server (w2k3)
attached the file you asked.
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 01:22 AM
08-12-2005 01:22 AM
Re: Synchronizing system time with my time server (w2k3)
disappointingly, it holds an entry like the one I use myself, which works ok.
doc. ID UOTHKBRC00010203 in the Tech Base suggests a different minimum use, but - as mentioned - I can get along with a single "server entry", so the doc. may not help.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 01:35 AM
08-12-2005 01:35 AM
Re: Synchronizing system time with my time server (w2k3)
thanks for your reply john.
any recommended ways for trying something afresh?
thanks
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 01:44 AM
08-12-2005 01:44 AM
Re: Synchronizing system time with my time server (w2k3)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 01:48 AM
08-12-2005 01:48 AM
Re: Synchronizing system time with my time server (w2k3)
time zones are not the same!
on hp-ux:
# echo $TZ
MRU-4
on windows:
(GMT+4:00)Abu Dhabi, Muscat
anything issues concerning time zones?
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 01:56 AM
08-12-2005 01:56 AM
Re: Synchronizing system time with my time server (w2k3)
That is why you see follows.-->
Thu, Feb 7 2036 10:28:16.000
Thu, Aug 11 2005 16:13:03.220
reference time: 00000000.00000000 Thu, Feb 7 2036 10:28:16.000
originate timestamp: 00000000.00000000 Thu, Feb 7 2036 10:28:16.000
transmit timestamp: c6a5bf4f.385a7000 Thu, Aug 11 2005 16:13:03.220
They have to be same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 04:16 PM
08-12-2005 04:16 PM
Re: Synchronizing system time with my time server (w2k3)
thank you for your reply.
1. do that mean that we gmt settings must be the same?
2. why does the "ntpq -p" command fail?
timed out, nothing received
***Request timed out
please guide.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 05:22 PM
08-12-2005 05:22 PM
Re: Synchronizing system time with my time server (w2k3)
I changed my time zone settings and it is still not OK. Am i missing something?
# echo $TZ
GMT-04:00
# /usr/sbin/ntpdate -d mytimeserver
transmit(mytimeserver)
transmit(mytimeserver)
transmit(mytimeserver)
transmit(mytimeserver)
transmit(mytimeserver)
server mytimeserver, port 123
stratum 0, precision 0, leap 00, trust 000
refid [0.0.0.0], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 10:28:16.000
originate timestamp: 00000000.00000000 Thu, Feb 7 2036 10:28:16.000
transmit timestamp: c6a80207.a3e13000 Sat, Aug 13 2005 9:22:15.640
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000
13 Aug 09:22:16 ntpdate[4798]: no server suitable for synchronization found
#
thanking you in advance for your replies.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 07:50 PM
08-12-2005 07:50 PM
Re: Synchronizing system time with my time server (w2k3)
You can run ntpq with debug option -d as in
# /usr/sbin/ntpq -d -p
To increase debugging level specify 'debug more' command multiple times.
# /usr/sbin/ntpq -c 'debug more' -c 'debug more' -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 04:03 PM
08-14-2005 04:03 PM
Re: Synchronizing system time with my time server (w2k3)
this does not help either!
below the output of these commands:
# /usr/sbin/ntpq -d -p mytimeserver
select() returns 0
select() returns 0
mytimeserver: timed out, nothing received
***Request timed out
# /usr/sbin/ntpq -c 'debug more' -c 'debug more' -p mytimeserver
debug level set to 1
debug level set to 2
select() returns 0
select() returns 0
mytimeserver: timed out, nothing received
***Request timed out
thank you for further insights
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 04:40 PM
08-14-2005 04:40 PM
Re: Synchronizing system time with my time server (w2k3)
Check if your third-party product has some utility similar to ntpq so you can verify that timeserver software on the windows system is functional.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 05:17 PM
08-14-2005 05:17 PM
Re: Synchronizing system time with my time server (w2k3)
>>Do you have firewall enabled on the w2k3 system? Maybe it's blocking your query with ntpq from the hp-ux box.
No such firewall on my server. In fact, all the PCs on the domain get their time synchronised there!
>>Check if your third-party product has some utility similar to ntpq so you can verify that timeserver software on the windows system is functional.
I tried the third-party software "PresenTense" time server query utility against the timeserver running on W2k3 server, but it is not replying.
However, i have a third-party time server install on my PC which is responding properly to the time query from the utility.
I have tried to query this 3rd-party time server from the hp-ux server as well, but no success!!
any further ideas?
thanking you in advance for your reply.
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 06:24 PM
08-14-2005 06:24 PM
Re: Synchronizing system time with my time server (w2k3)
Check if your time server on W2k3 is using SNTP or NTP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 07:48 PM
08-14-2005 07:48 PM
Re: Synchronizing system time with my time server (w2k3)
made a few changes (use NTP ver3, etc) to the configuration of the Evaluation Time server (PresenTense) and below is the output i am getting now:
# /usr/sbin/ntpq -c 'debug more' -c 'debug more' -p mytimeserver
debug level set to 1
debug level set to 2
select() returns 1
Got packet, size = 12
Packet okay
No association ID's returned
#
# /usr/sbin/ntpq -d -p mytimeserver
select() returns 1
No association ID's returned
# /usr/sbin/ntpq -p mytimeserver
No association ID's returned
# /usr/sbin/ntpdate -d mytimeserver
transmit(mytimeserver)
receive(mytimeserver)
transmit(mytimeserver)
receive(mytimeserver)
transmit(mytimeserver)
receive(mytimeserver)
transmit(mytimeserver)
receive(mytimeserver)
transmit(mytimeserver)
server mytimeserver, port 123
stratum 16, precision -18, leap 11, trust 000
refid [0.0.0.0], delay 0.03049, dispersion 0.00008
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 10:28:16.000
originate timestamp: c6aac612.2587d6f9 Mon, Aug 15 2005 11:43:14.146
transmit timestamp: c6aac68e.4e5c1000 Mon, Aug 15 2005 11:45:18.306
filter delay: 0.03049 0.03078 0.03081 0.03076
0.00000 0.00000 0.00000 0.00000
filter offset: -124.162 -124.162 -124.162 -124.162
0.000000 0.000000 0.000000 0.000000
delay 0.03049, dispersion 0.00008
offset -124.162226
15 Aug 11:45:18 ntpdate[22801]: no server suitable for synchronization found
#
do you see anything wrong now?
thanking you in advance for a reply!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 07:57 PM
08-14-2005 07:57 PM
Re: Synchronizing system time with my time server (w2k3)
and now i changed the setting on my Evaluation "PresenTense" time server as follows:
#--------------------------------------------------------------------
#
# PresenTense NTP4 Plug-In Configuration
#
#--------------------------------------------------------------------
tinker panic 7200
server Myw2k3timeserver prefer version 3 minpoll 6 maxpoll 10
server Myw2k3timeserver version 3 minpoll 6 maxpoll 10
driftfile C:\PROGRA~1\PTServer\ntp.drift
statsdir C:\PROGRA~1\PTServer\
logconfig syncall +clockall
keys C:\PROGRA~1\PTServer\NTP~1.KEY
trustedkey 1
trustedkey 2
trustedkey 3
trustedkey 4
...
and below is the output am getting when running a query:
# /usr/sbin/ntpq -d -p myPresenTenseTimeSrv
select() returns 1
remote refid st t when poll reach delay offset disp
==============================================================================
select() returns 1
select() returns 1
Myw2k3timeserver.corp.co. 0.0.0.0 16 u - 64 0 0.00 0.000 0.00
select() returns 1
select() returns 1
Myw2k3timeserver.corp.co. 0.0.0.0 16 u - 64 0 0.00 0.000 0.00
#
Something seems to be working...
what's next?
thanking you in advance for a reply
kind regards
yogeeraj