- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- About 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
01-07-2002 11:08 PM
01-07-2002 11:08 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2002 11:46 PM
01-07-2002 11:46 PM
Re: About NTP!
at server:
1. edit /etc/ntp.conf
uncomment
server 127.127.1.1
at client:
2. /etc/ntp.conf
input
server
at both server
3. edit /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=
export XNTPD=1
export XNTPD_ARGS=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 12:22 AM
01-08-2002 12:22 AM
Re: About NTP!
Type
/sbin/init.d/xntpd start
To monitor the status of ntp use
ntpq -p
Within the /etc/ntp.conf file you can also specify additional servers or peers.
HTH
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 12:50 AM
01-08-2002 12:50 AM
Re: About NTP!
When I use command /sbin/init.d/xntpd start, one wrong message displays:
no server suitable for synchronization found.
your answer is same as what I have read on books, but it doesn't work correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 01:02 AM
01-08-2002 01:02 AM
Re: About NTP!
"server 127.127.1.1 prefer"
The "prefer" option is necessary for a valid internal synchronization !
If you have a large number of clients on one subnet, you can broadcast from the server :
broadcast
and on your clients : "broadcastclient yes"
Or you can configure your clients to request time from the server on a regular base:
"server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 01:19 AM
01-08-2002 01:19 AM
Re: About NTP!
server 127.127.1.1. prefer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 01:24 AM
01-08-2002 01:24 AM
Re: About NTP!
this message is no hard error. Its more like a warning.
As you configured your NTP server to use its local clock as a source there is no external timesource to synchronize with.
And thats all this message says.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 01:37 AM
01-08-2002 01:37 AM
Re: About NTP!
And what is the response from "ntpq -p" a few minutes after you have (stopped and) started the xntpd ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 01:51 AM
01-08-2002 01:51 AM
Solution===========
# cd /etc/
# /sbin/init.d/xntp stop
# vi ntp.conf
((modify the parameter accordingly & save it; broadcast adddress can be
obtained by running the command" ifconfig lan0, get the last entry which
shows something like: 192.23.24.255)):
server 127.127.1.1 minpoll 3 maxpoll 4 prefer
fudge 127.127.1.1 stratum 10
broadcast
# /sbin/init.d/xntp start
NTP Client
======
# cd /etc/rc.config.d
# /sbin/init.d/xntp stop
# vi netdaemons
((modify accordingly)):
export NTPDATE_SERVER=ctxpss
export XNTPD=1
# ntpdate
# /sbin/init.d/xntp start
Wait for about 5-8 min, run the follwoing to check the status:
# ntpq -c rv
chk for output of "reftime" it shld not be zero if the servers are in sync.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 01:56 AM
01-08-2002 01:56 AM
Re: About NTP!
You need to edit /etc/ntp.conf for ntp client also.
server (ntp server)
broadcastclient yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 05:13 AM
01-08-2002 05:13 AM
Re: About NTP!
To see if a given server is running NTP, use the NTP query command:
# ntpq -p some-ntp-system.com
If it replies, the list will be the NTP source(s) used by the server. That is the server-name to put into the /etc/rc.config.d/netdaemons file. Until ntpq -p works, you won't be able to use NTP other than as a source to other systems (all machines sync to a local machine).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 06:41 AM
01-08-2002 06:41 AM
Re: About NTP!
Take a look at the link from hp docs site on setting up NTP,
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=20020108-064545
Here are two links for ITRC to help you out,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=de8b684601578fea06/screen=ckiDisplayDocument?docId=200000053307950
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=de8b684601578fea06/screen=ckiDisplayDocument?docId=200000047992570
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 07:22 PM
01-08-2002 07:22 PM
Re: About NTP!
Every time after I use command /sbin/init.d/xntpd start on the server , the I immediately also run the same command on the client ,the I wait and wait, that's the reason.