- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Correct time setup
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
04-24-2002 05:57 AM
04-24-2002 05:57 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 06:03 AM
04-24-2002 06:03 AM
Re: Correct time setup
What about using NTP ?
# man xntpd
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 06:09 AM
04-24-2002 06:09 AM
Re: Correct time setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 06:10 AM
04-24-2002 06:10 AM
Re: Correct time setup
You need to use the NTP (Network Time Protocol) daemon - xntpd
The config file for it is /etc/ntp.conf which is where you will set the host to be polled or listened to for time sync. You'll have to set the NT system to be a NTP server.
It is better, however to use a more "accurate" source, such as a GSP radio signal or recognized NTP servers out on the Internet. They would be MUCH more accurate & then you could set the rest of the servers to sync of the internal server being served by the outside server.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 06:11 AM
04-24-2002 06:11 AM
Solutiondriftfile /etc/ntp.drift
statsdir /tmp/ntpstats
server
server
That is all..
Link the /etc/rc2.d/S660xntpd to /sbin/init.d/xntpd
You can also set it using 'sam'.
Look at /etc/ntp.drift to check if it works: 'cat' and 'll'.
Success,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 06:11 AM
04-24-2002 06:11 AM
Re: Correct time setup
# vi /etc/rc.config.d/netdameons
..
export NTPDATE_SERVER="servername.domain.com"
export XNTPD=1
..
# vi /etc/ntp.conf
server servername.domain.com
driftfile /etc/ntp.drift
# touch /etc/ntp.drift
# /usr/sbin/xntpd
==> start ntp
# /usr/sbin/ntpq -p
==> check association..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 07:10 AM
04-24-2002 07:10 AM
Re: Correct time setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 07:18 AM
04-24-2002 07:18 AM
Re: Correct time setup
You need to install NTP SW & configure the WIN2K system to be an NTP server.
SW & further info can be obtained at:
http://www.eecis.udel.edu/~ntp/software/win9x.html
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 07:22 AM
04-24-2002 07:22 AM
Re: Correct time setup
1) NTP server cannot be reached over network.
2) NTP server is not running NTP.
3) NTP server's own timeclock is not sync'd up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 07:23 AM
04-24-2002 07:23 AM
Re: Correct time setup
"No association" means that a suitable time source cannot be found. This could be due to a difference in time between you and your source that exceeds 1000 seconds. Other possibliities include an unreachable source or a server that does not offer NTP packets.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 07:57 AM
04-24-2002 07:57 AM
Re: Correct time setup
One final point to consider is the traffic between an NTP server & it's clients.
NTP uses port 123 UDP.
So if a firewall exists in your network between server/client OR you will obtain NTP traffic from outside your network, you'll have to make sure that traffic can pass between the NTP server & it's clients.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 07:58 AM
04-24-2002 07:58 AM
Re: Correct time setup
I use NetTime on several W2K Pro, NT4.0 server, NT4.0 workstation, and Win98 boxes. It's available from:
http://nettime.sourceforge.net
You can install it as a service (if you desire), sync to Internet sources (provided your firewalls allow that), and allow other systems to sync to your system.
I use NTP on my HPUX servers to sync to an internal NTP server but I have tested syncing to a NetTime PC without problem.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 08:03 AM
04-24-2002 08:03 AM
Re: Correct time setup
It looks it is not able to reach the server you ahve set for reading the time .
Can you ping to the server with the IP Adress setup in the /etc/ntp.conf file , ofcourse the NTP daemon should eb running.
Here is the link to docs.hp for more trouble shooting :
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/63-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/63-toc.html&searchterms=NTP&queryid=20020415-123421
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 08:15 AM
04-24-2002 08:15 AM