- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ntp ???
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-22-2003 07:54 AM
04-22-2003 07:54 AM
# /sbin/init.d/xntpd start
22 Apr 11:47:00 ntpdate[18334]: no server suitable for synchronization found
ntpq command gives me following info:
# ntpq -p d start
remote refid st t when poll reach delay offset disp
==============================================================================
scrouter 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
#
I was given the default gateway as 159.234.5.254 as a stratum 3 NTP server at out facility, and have the ntp.conf configured with:
broadcastclient yes
broadcast 159.234.5.254 version 3
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 08:05 AM
04-22-2003 08:05 AM
Re: ntp ???
These links contain information on getting a compliant version of ntp serve software installed.
http://www.ntp.org/documentation.html
http://developer.novell.com/research/appnotes/1999/july/03/02.htm
I believe the ntpq -q command will enable you to generate an error messaging proving the problem. Solving it involves administration of the time server.
If port 125 is open on your firewall, you can get time directly from one of the public servers listed in my links above.
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
04-22-2003 08:06 AM
04-22-2003 08:06 AM
Re: ntp ???
I haven't tried the broadcast part of it before. We just setup our systems as client/server. I'd try using the 'server' keyword instead of 'broadcast':
server 159.234.5.254 version 3
Also, can you ping the 159.234.5.254 box?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 08:08 AM
04-22-2003 08:08 AM
Re: ntp ???
telnet server_ip 123 (* for tcp connection *)
lsof -i tcp:123
lsof -i udp:123
Do you need the initial configuration procedure?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 08:10 AM
04-22-2003 08:10 AM
Re: ntp ???
If the time difference between your server and the time-source exceeds 1000 seconds, 'xntpd' will fail to form an association. This prevents "insanity".
If this is the case, reset your server's time and restart 'ntp'. *Note* that if you must do this, either slew the time gracefully with 'date [-a [-]sss [. fff]]' *or* stop all time-sensitive processes (e.g. databases!) and reset your servers's time during a bootup.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 08:17 AM
04-22-2003 08:17 AM
Re: ntp ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 09:36 AM
04-22-2003 09:36 AM
Re: ntp ???
You mention that the 159.234.5.254 was given to you as a default gateway. Is that the IP address of your NTP server, or is that the gateway that just gets you to it?
Try commenting out the 'broadcast client' line and try it again.
Are there any other systems at your place that are successfully using this NTP server to sync their time?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 09:45 AM
04-22-2003 09:45 AM
Re: ntp ???
ntpdate -q
This will attempt to query the server your specified on the command line, and print out stratum, offset and delay statistics.
Other useful ntpdate options include
-d
more verbose debugging output
-o
specify version 1 or 2 (default is 3) for talking with older ntp implementations
ntpdate -q nad ntpdate -d both use unprivileged ports on your host, and communicate via UDP to the ntp server you specify opn the command line.
If this fails, then you either have a firewall issue or your router is not accepting NTP requests.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 09:47 AM
04-22-2003 09:47 AM
Re: ntp ???
daemon 4484 1 0 Feb 18 0:00 xntpd
/sbin/init.d/xntpd stop
/usr/sbin/ntpdate -d 159.234.5.254 (* debug NTP connection *)
Set time on client to within 3 minutes of NTP server, else, no sync will ever occur, then restart.
Takes 5 - 10 minutes to sync up.
Are these servers recently trusted?
Any NTP patches recently installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 10:22 AM
04-22-2003 10:22 AM
Solution1) you have a /etc/ntp.conf file (right)
and it is configured. at least have one server listed as the time server
2) edit the /etc/rc.config.d/netdaemons file
and make sure it looks like this
export NTPDATE_SERVER="timeserver.internet.net"
export XNTPD=1
export XNTPD_ARGS=" -c /etc/ntp.conf"
3) /sbin/init.d/xntpd start
4) check if its running
ntpq -p
Done
of course you can now add all the other bell ands wistells. such as drift file and stratum and candy maker
peace
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 11:24 AM
04-23-2003 11:24 AM
Re: ntp ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 02:49 PM
04-24-2003 02:49 PM
Re: ntp ???
http://www-1.ibm.com/services/continuity/recover1.nsf/MSS/MSS-OAR-E01-2002.1112.1
and make sure your system has the correct patch level