HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuration NTP
Operating System - HP-UX
1833178
Members
2693
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-10-2006 12:25 PM
09-10-2006 12:25 PM
Configuration NTP
NTP
---
I cannot cause that my server synchronizes with an NTP Time Server (internet).
The file ntp.conf has :
server 1.south-america.pool.ntp.org
server 0.pool.ntp.org
server 2.pool.ntp.org
and the exit of the commando ntpq is:
remot refid st t when poll
===========================================
inmunotron.med. 0.0.0.0 16 - - 64
graphite.hyperc 0.0.0.0 16 - - 64
shrewd.pub.knig 0.0.0.0 16 - - 64
reach delay offset disp
===========================================
0 0.00 0.000 16000.0
0 0.00 0.000 16000.0
0 0.00 0.000 16000.0
I thank for its aid and opinions.
Greetings
JOSE ZAMORA
---
I cannot cause that my server synchronizes with an NTP Time Server (internet).
The file ntp.conf has :
server 1.south-america.pool.ntp.org
server 0.pool.ntp.org
server 2.pool.ntp.org
and the exit of the commando ntpq is:
remot refid st t when poll
===========================================
inmunotron.med. 0.0.0.0 16 - - 64
graphite.hyperc 0.0.0.0 16 - - 64
shrewd.pub.knig 0.0.0.0 16 - - 64
reach delay offset disp
===========================================
0 0.00 0.000 16000.0
0 0.00 0.000 16000.0
0 0.00 0.000 16000.0
I thank for its aid and opinions.
Greetings
JOSE ZAMORA
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2006 01:35 PM
09-10-2006 01:35 PM
Re: Configuration NTP
It appears that your machine does not have DNS resolving the hostnames. This is seen in the ntpq command where the IP address (refid) is all zeros. Test this with the nslookup command:
nslookup 1.south-america.pool.ntp.org
If you do not get an IP address (or several addresses) then your DNS server is not working correctly. Try this:
nslookup 200.43.64.77
and
ntpq -p 200.43.64.77
If the first fails, you have DNS problems. If the second command returns something like this:
remote refid st t when poll reach
=====================================================
*GENERIC(0) .GPS. 0 l 35 64 377
host3.200-43-14 octant.coopvgg. 2 u 788 1024 377
xadsl.remco.org .PG0A. 1 u 847 1024 377
then you can try using 200.43.64.77 by IP address in your /etc/ntp.conf file:
server 200.43.64.77
Now use ntpq -p (with no server name) to verify that your local NTP code can see the server. If that works, you are ready to 'jump' the time to match this server. Shutdown any applications that might be affected by changing the time. When ready, use this command:
ntpdate -b 200.43.64.77
If this produces no error, you can now start xntpd:
xntpd
Then monitor syslog.log and after an hour or so, check ntpq with:
ntpq -p
That should get you started. You will want to fix the DNS problems so nslookup works correctly. Then you can switch back to your current ntp.conf file.
Bill Hassell, sysadmin
nslookup 1.south-america.pool.ntp.org
If you do not get an IP address (or several addresses) then your DNS server is not working correctly. Try this:
nslookup 200.43.64.77
and
ntpq -p 200.43.64.77
If the first fails, you have DNS problems. If the second command returns something like this:
remote refid st t when poll reach
=====================================================
*GENERIC(0) .GPS. 0 l 35 64 377
host3.200-43-14 octant.coopvgg. 2 u 788 1024 377
xadsl.remco.org .PG0A. 1 u 847 1024 377
then you can try using 200.43.64.77 by IP address in your /etc/ntp.conf file:
server 200.43.64.77
Now use ntpq -p (with no server name) to verify that your local NTP code can see the server. If that works, you are ready to 'jump' the time to match this server. Shutdown any applications that might be affected by changing the time. When ready, use this command:
ntpdate -b 200.43.64.77
If this produces no error, you can now start xntpd:
xntpd
Then monitor syslog.log and after an hour or so, check ntpq with:
ntpq -p
That should get you started. You will want to fix the DNS problems so nslookup works correctly. Then you can switch back to your current ntp.conf file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2006 03:59 PM
09-10-2006 03:59 PM
Re: Configuration NTP
Shalom,
Either set the numeric ip addresses in ntp.conf or set /etc/hosts networking to resolve those ip addreses.
Most shops today have a single time server inside and do not permit access behind the firewall to individual servers. You may need to connect to an internal server.
Obviously the above steps can be avoided by changing /etc/resolv.conf to a server that resolves hostnames to numbers.
SEP
Either set the numeric ip addresses in ntp.conf or set /etc/hosts networking to resolve those ip addreses.
Most shops today have a single time server inside and do not permit access behind the firewall to individual servers. You may need to connect to an internal server.
Obviously the above steps can be avoided by changing /etc/resolv.conf to a server that resolves hostnames to numbers.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP