1753800 Members
7783 Online
108805 Solutions
New Discussion

Re: xntpd not found

 
SOLVED
Go to solution
user-1221
Occasional Advisor

xntpd not found

Hi,

 

We have a new HP-UX 11.31 machine, trying to setup NTP on hte server, 

 

# uname -a
HP-UX mhrd01 B.11.31 U ia64 0774228282 unlimited-user license

 

set the NTP server in "/etc/rc.config.d/netdaemons" file

export NTPDATE_SERVER=ntp_server_hostname
export XNTPD=1
export XNTPD_ARGS="-x"

 

the ntp.conf file was not available in the "/etc" I have copied it from one existing HP-UX server,

Also the xntpd script was also not available in "/sbin/init.d/" copied this script from the existing HP-UX server.

 

Cannot start xntp deamon

 

# /sbin/init.d/xntpd start

 

# ps -ef |grep xnt
root 3396 3315 0 09:41:30 pts/0 0:00 grep xnt

 

The server from where the "xntpd" and "/etc/ntp.conf" file was copied is 

 

# uname -a
HP-UX hdb03 B.11.31 U ia64 0358197384 unlimited-user license

 

Any help will be highly appreciated!

 

 

P.S. This thread has been moved from HP-UX > System Administration to HP-UX > networking.
-HP Forum Moderator

user1221
4 REPLIES 4
Bill Hassell
Honored Contributor

Re: xntpd not found

>> the ntp.conf file was not available in the "/etc"

 

You can find all the original files in /usr/newconfig

 

>> # /sbin/init.d/xntpd start

 

What happened then? Did you see any message from the script? What did you see in syslog.log?

 

It is very unusual for HP-UX to have ntp files removed. What does this command report:

 

swlist -l file NTP.NTP-RUN

 

If you get an error that the software was not found, some root user has removed the NTP fileset. I would be very concerned about what else has been removed.

 



Bill Hassell, sysadmin
user-1221
Occasional Advisor

Re: xntpd not found

 

Hi,

 

root:/homeroot# /sbin/init.d/xntpd start

root:/homeroot#

root:/homeroot# ps -ef | grep ntp root 22179 21520 0 10:23:31 pts/1 0:00 grep ntp

 

root:/homeroot#

root:/homeroot# swlist -l file NTP.NTP-RUN

# Initializing... # Contacting target "mcdh01"...

ERROR: Software "NTP.NTP-RUN" was not found on host

"mdchr01.kfmc.med:/".

 

I think NTP is not installed on the server, can you please let me know which version of NTP can be installed.

user1221
Dennis Handly
Acclaimed Contributor

Re: xntpd not found

Get your installation DVDs and install NTP:

swinstall -s /dev/dvd-device NTP

user-1221
Occasional Advisor
Solution

Re: xntpd not found

Hi,

 

Installed "HP-UX_11.31_HPUX-NTP_C.4.2.6.1.0_HP-UX_B.11.31_IA_PA_Mega.depot" 

 

NTP is configured now.

Thanks.

user1221