Operating System - OpenVMS
1752564 Members
5549 Online
108788 Solutions
New Discussion юеВ

NTP Client configuration

 
SOLVED
Go to solution
Taulant Shamo
Frequent Advisor

NTP Client configuration

How can I configure NTP client?
can I check that ntp is installed or not?

I can give ntpq -p but the result is:
ntpq> peers
localhost: timed out, nothing received

Thanks
21 REPLIES 21
Antoniov.
Honored Contributor

Re: NTP Client configuration

At first glance you can inquire for service
$ TCPIP SH SERVICE NTP /FULL

Antonio Vigliotti
Antonio Maria Vigliotti
Andy Bustamante
Honored Contributor

Re: NTP Client configuration

To see if ntp is running use

$ show system/proc=tcpip$ntp*

If you're running a recent version of VMS and HP's TCPIP the ntp configuration file is sys$specific:[tcpip$ntp]tcpip$ntp.conf. If the file (and directory don'exist) use

@sys$manager:tcpip$config

This will set up the ntp service. You'll need to edit tcpip$ntp.template file to create tcpip$ntp.conf.
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Taulant Shamo
Frequent Advisor

Re: NTP Client configuration

I see that does not exist any *ntp* process.
My OpenVMS version is v7.2-1

SCCRA1$ show sys/proc=*ntp*

SCCRA1$ tcpip
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\TCPIP\

SCCRA1$ @sys$manager:tcpip$config
%DCL-E-OPENIN, error opening SYS$SYSROOT:[SYSMGR]TCPIP$CONFIG.COM; as input
-RMS-E-FNF, file not found



As you see above these files not exist
David B Sneddon
Honored Contributor

Re: NTP Client configuration

It would appear you don't have TCPIP installed.
Try

$ @sys$manager:ucx$config

in case you have the old version installed.

Dave
Antoniov.
Honored Contributor

Re: NTP Client configuration

Hi Taulant,
you don't see NTP process because service doesn't start.
The right way to see NTP service (and any other tcp/ip service) is
$ TCPIP SHO SERV NTP /FULL
you should see service disabled.
You can execute
$ @SYS$MANAGER:TCPIP$CONFIG
to configure NTP and any other service of tcp/ip suite.

Antonio Vigliotti
Antonio Maria Vigliotti
Taulant Shamo
Frequent Advisor

Re: NTP Client configuration

This file does not exist see printout:

SCCRA1$ @SYS$MANAGER:TCPIP$CONFIG
%DCL-E-OPENIN, error opening SYS$SYSROOT:[SYSMGR]TCPIP$CONFIG.COM; as input
-RMS-E-FNF, file not found
David B Sneddon
Honored Contributor

Re: NTP Client configuration

Try

$ @sys$manager:ucx$config

If that also fails then you will need to install
TCPIP.

Dave
Willem Grooters
Honored Contributor

Re: NTP Client configuration

$ PROD SHOW PROD will show the products installed and the versions. This is highly valuable data for help....

Willem
Willem Grooters
OpenVMS Developer & System Manager
Antoniov.
Honored Contributor

Re: NTP Client configuration

Taulant,
if you don't have TCPIP$CONFIG, you have old version of tcp/ip suit called UCX. So every command beginnig with TCPIP$ has to be modificed to UCX$; therefore
$ @SYS$MANAGER:UCX$CONFIG
and to see services:
$ UCX SHOW SERV NTP /FULL

Sorry, for misunderstanding.

Antonio Vigliotti
Antonio Maria Vigliotti