- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xntpd is not synchronizing with the time serve...
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
01-22-2004 09:59 AM
01-22-2004 09:59 AM
xntpd is not synchronizing with the time server.
I can't make work the xnpd daemon.
The /etc/ntp.conf file has configured the next line:
server timeserv version 3 prefer
In the /etc/hosts :
192.168.4.50 timeserv
In the /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=
XNTPD=1
export XNTPD_ARGS=
When i run the command ntpd -p the result is:
# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
timeser 0.0.0.0 15 u 593 1024 377 1.54 -239.96 91.96
Why didn't the daemon synchronize ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 10:04 AM
01-22-2004 10:04 AM
Re: xntpd is not synchronizing with the time server.
# ntpq -p 192.168.4.50
What does the above return?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 10:46 AM
01-22-2004 10:46 AM
Re: xntpd is not synchronizing with the time server.
(see the screenshot)
The result:
# ntpq -p 192.168.4.50
192.168.4.50: timed out, nothing received
***Request timed out
but, when a run
ntpdate 192.168.4.50
it's work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 10:53 AM
01-22-2004 10:53 AM
Re: xntpd is not synchronizing with the time server.
IF this system is more than 15 minutes or so (1000 seconds to be exact) away from the server then xntpd cannot sync - it's too far to slew.
If it is then you'll need to use the ntpdate or date commands to get closer & then kick off xntpd.
You should check the syslog.log file for confirmation of this.
DO NOT move time backwards while applications are up & running. Most DBs will choke & die if time moves backwards. Instead use date -a to slowly slew time backwards - it just makes each actual second a little longer so actual time catches up.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 04:31 AM
01-26-2004 04:31 AM
Re: xntpd is not synchronizing with the time server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 05:18 AM
01-26-2004 05:18 AM
Re: xntpd is not synchronizing with the time server.
Sample /etc/ntp.conf
server server.name.com version 3
server server2.name.com version 3 prefer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 07:12 AM
01-26-2004 07:12 AM
Re: xntpd is not synchronizing with the time server.
ntpdate -d 192.168.4.50
If it reports lots of details, all is well. Then force the setting of the clock with:
ntpdate -b 192.168.4.50
NOTE: NEVER do this with a database running. Same with the date command--never change the date or time with a database running. ntpdate is only to be used during bootup.
Change your startup parameters:
export NTPDATE_SERVER=192.168.4.50
and in your /etc/ntp.conf file, you can keep the server line, but add:
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp.drift
The two 127... lines tell NTP to use the internal clock in case the external clock is not responding. Note also that you can see what's happening with xntpd with:
grep xntpd /var/adm/syslog/syslog.log
If you make changes to /etc/ntp.conf, ne sure to:
/sbin/init.d/xntpd stop
/sbin/init.d/xntpd start
and then:
tail /var/adm/syslog/syslog.log
Bill Hassell, sysadmin