- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- 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
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 01:26 AM
10-14-2008 01:26 AM
Re: why have two NTP process after xntpd start
thank you so much!
in daemon.log
Oct 14 15:01:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 15:06:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 15:11:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 15:15:44 mes3app1 xntpd[242621]: synchronisation lost
Oct 14 15:16:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 15:21:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 15:24:24 mes3app1 xntpd[242621]: synchronisation lost
Oct 14 15:26:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 15:31:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 15:36:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 15:46:01 mes3app1 last message repeated 2 times
Oct 14 15:56:01 mes3app1 last message repeated 2 times
Oct 14 16:01:01 mes3app1 /usr/sbin/collect[424698]: Forcing data buffer flush
Oct 14 16:02:43 mes3app1 xntpd[242621]: synchronisation lost
Oct 14 16:06:01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 01:58 AM
10-14-2008 01:58 AM
Re: why have two NTP process after xntpd start
peer mes3app0 version 3
out of your ntp.conf, and restart NTP.
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 03:42 AM
10-14-2008 03:42 AM
Re: why have two NTP process after xntpd start
I know how you must feel. I can't see any of
your "netstat -a" output at all.
You might be looking for the right stuff, and
you might not, but with no actual evidence,
it's very difficult for a non-psychic like me
to know which is true.