- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: why have two NTP process after xntpd start
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
Discussions
Discussions
Forums
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
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
тАО10-08-2008 07:18 PM
тАО10-08-2008 07:18 PM
gs80,V5.1B
And I killed them, and restarted the daemon. But there were still 2 processes.
# ps -ef | grep ntp
root 370379 1 3.7 Sep 12 ?? 13:41:32 /usr/sbin/xntpd -g -c /etc/ntp.conf
root 370894 370379 0.0 Sep 12 ?? 0:00.59 /usr/sbin/xntpd -g -c /etc/ntp.conf
root 242803 243617 0.0 12:16:36 pts/6 0:00.01 grep ntp
# kill -9 370379 370894
#
# ps -ef | grep ntp
root 241066 243617 0.3 12:17:36 pts/6 0:00.01 grep ntp
# /sbin/init.d/xntpd start
Network Time Service started
#
# ps -ef | grep ntp
root 237930 242621 0.2 12:17:43 ?? 0:00.02 /usr/sbin/xntpd -g -c /etc/ntp.conf
root 242621 1 0.4 12:17:43 ?? 0:00.03 /usr/sbin/xntpd -g -c /etc/ntp.conf
root 242606 243617 0.3 12:17:46 pts/6 0:00.01 grep ntp
more /etc/ntp.conf
server sdbsmon1 version 3
peer mes3app0 version 3
I had copy /sbin/init.d/xntpd, /usr/sbin/xntpd file to other machine and ntp start ok just have one process.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2008 08:39 PM
тАО10-08-2008 08:39 PM
Re: why have two NTP process after xntpd start
the xntpd processes is the parent of the
other. Perhaps it spawns/forks when it's
talking to someone else (or someone else is
talking to it). Perhaps "netstat -a" would
say something interesting about the NTP
port(s). ntpq or xntpdc might be able to
tell you things, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2008 11:31 PM
тАО10-08-2008 11:31 PM
Re: why have two NTP process after xntpd start
thanks you so much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2008 10:57 PM
тАО10-12-2008 10:57 PM
Re: why have two NTP process after xntpd start
can anyone help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 02:06 AM
тАО10-13-2008 02:06 AM
Re: why have two NTP process after xntpd start
Awarding 8 points to an answer would indicate to those looking at the thread, that the problem was solved...
If it isn't then can we assume that you've done the things that Steven suggested ?
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 07:22 PM
тАО10-13-2008 07:22 PM
Re: why have two NTP process after xntpd start
thank you help. I have not get netstat -a log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 09:42 PM
тАО10-13-2008 09:42 PM
Re: why have two NTP process after xntpd start
can't see any ntp info when using netstat -a
edward
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 09:56 PM
тАО10-13-2008 09:56 PM
Re: why have two NTP process after xntpd start
OK... What does :
# ntpq -np
show you ? It should give you your NTP servers in numerical format.
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2008 10:04 PM
тАО10-13-2008 10:04 PM
Re: why have two NTP process after xntpd start
# ntpq -np
127.0.0.1: timed out, nothing received
***Request timed out
thank you help.
edward
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2008 12:04 AM
тАО10-14-2008 12:04 AM
SolutionDo you know what the NTP configuration is supposed to be ?
You appear to be trying to work as both a server and client, by having both peer and server defined in your ntp.conf.
That might explain the two xntpd processes, but the ntpq -np output doesn't look too healthy.
You might also find some troubleshooting clues in /var/adm/syslog.dated/current/daemon.log
Cheers,
Rob