- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xntpd
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
05-01-2003 09:18 AM
05-01-2003 09:18 AM
here is my /etc/ntp.conf :
server tock.usnogps.navy.mil
version 2 prefer
broadcast 201.201.2.255 version 2
broadcastclient no
broadcast 201.201.2. version 3
When I execute /sbin/init.d/xntpd start I get an error /sbin/init.d/xntpd[36]: ROUTE_COUNT:: not found.
1 May 12:11:52 ntpdate[20962]: step time server 204.34.198.41 offset -0.000150 sec .
xntpd daemon doesn't appear in ps -eaf.
/etc/rc.config.d/netconf shows this :
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=201.201.2.2
ROUTE_COUNT[0]=1
I can't start this server from sam either. Basically, what I need to do is have the hp boxen sync with the mil. time server and broadcast to the internal network (201.201.2.0/24). Thank you for any insight to my problems.
Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 12:54 PM
05-01-2003 12:54 PM
Re: xntpd
NTP Time server
===========
# cd /etc/
# /sbin/init.d/xntp stop
# vi ntp.conf
server 127.127.1.1 minpoll 3 maxpoll 4 prefer
fudge 127.127.1.1 stratum 10
broadcast ip
# /sbin/init.d/xntp start
NTP Client
======
# cd /etc/rc.config.d
# /sbin/init.d/xntp stop
# vi netdaemons
export NTPDATE_SERVER=node name
export XNTPD=1
# ntpdate
# /sbin/init.d/xntp start
Wait for about 5-8 min, run the follwoing to check the status:
# ntpq -p
chk for output of "reftime" it should not be zero if the servers are in sync.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 01:23 PM
05-01-2003 01:23 PM
Re: xntpd
#ntpq -p
ntpq: read: Can't assign requested address
Matthew Bettinger
Champion Elevators,Inc.
Houston, Texas 77061
713.640.8500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 03:15 PM
05-01-2003 03:15 PM
Solution/etc/rc.config.d/netdaemons file
there is 3 variables
export NTPDATE_SERVER="firewall.server.com"
export XNTPD=1
export XNTPD_ARGS=" -c /etc/ntp.conf"
then in your /etc/ntp.config file
just 3 servers
server ipadress
server ipadress
server ipadress
driftfile /etc/ntp.drift
in the /etc/ntp.drift file
put one line
5.613 0
then start the baby
/sbin/init.d/xntpd start
wowla
ntpq -p
peace
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 06:31 PM
05-01-2003 06:31 PM
Re: xntpd
Is your NTP server within your local lan or a NIST time server for instance?
check your ports with:
netstat -an
lsof -i udp:123
lsof -i tcp:123
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 06:32 PM
05-01-2003 06:32 PM
Re: xntpd
check your ports with:
netstat -an
lsof -i udp:123
lsof -i tcp:123
Is your NTP server within your local lan or a NIST time server for instance?
Also, check your loopback line in /etc/hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 08:14 PM
05-01-2003 08:14 PM
Re: xntpd
If you don't have one on your network, then look at
http://www.eecis.udel.edu/~mills/ntp/clock2a.html
for a list of public ntp servers and find one that's not too far from you (in terms of latency and hops; traceroute and ping the host to determine this)
Often times your ISP or upstream provider will have n NTP server you can sync to.
Also, simplify your ntp.conf file:
server some.host.com
driftfile /some/ntp.driftfile
should be enough to get you synced up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 05:44 AM
05-02-2003 05:44 AM
Re: xntpd
Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500