Operating System - OpenVMS
1824245 Members
3667 Online
109669 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
Taulant Shamo
Frequent Advisor

Re: NTP Client configuration

The product installed are:

SCCRA1$ PROD SHOW PROD
----------------------------------- ----------- ------------
PRODUCT KIT TYPE STATE
----------------------------------- ----------- ------------
DEC AXPVMS DECNET_OSI V7.2-1 Full LP Installed
DEC AXPVMS OPENVMS V7.2-1 Platform Installed
DEC AXPVMS VMS V7.2-1 Oper System Installed
DEC AXPVMS WEBES V4.0-7 Platform Installed
----------------------------------- ----------- ------------

4 items found

TCPIP is not installed.

SCCRA1$ UCX SHOW SERV NTP /FULL
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\UCX\

UCX is not installed too

Taulant Shamo
Frequent Advisor

Re: NTP Client configuration

How can in install TCPIP software?
Is needed the server restart after installation?

Can this installation have an impact in syatem, because the4 system is live.
Antoniov.
Honored Contributor

Re: NTP Client configuration

Taulant,
you have not got tcp/ip suite installed.
No tcp/ip, no NTP!
Is there some reason of tcp/ip are not installed? You have V7.2 and tcp/ip is include in this version of software.

Antonio Vigliotti
Antonio Maria Vigliotti
Taulant Shamo
Frequent Advisor

Re: NTP Client configuration

The reason why tcpip suite is not installed I don't know. In my other system which is new tcpip suite is installed and ntp is configured properly. this system in older and may be tcpip was not needed before.

my other system has it:
BEP1-> PROD SHOW PROD
----------------------------------- ----------- ------------
PRODUCT KIT TYPE STATE
----------------------------------- ----------- ------------
COMPAQ AXPVMS FMKCTF V3.0 Full LP Installed
COMPAQ AXPVMS FMKLIC V1.2 Full LP Installed
COMPAQ AXPVMS FMKTBX V3.0 Full LP Installed
COMPAQ AXPVMS IN7_CCITT V4.1-5 Full LP InsDependErr
CPQ AXPVMS CDSA V1.0-2 Full LP Installed
DEC AXPVMS DECNET_OSI V7.3-1 Full LP Installed
DEC AXPVMS FTAM V3.2-O Full LP Installed
DEC AXPVMS OPENVMS V7.3-1 Platform Installed
DEC AXPVMS OSAK V3.0-R Full LP Installed
DEC AXPVMS TCPIP V5.3-18 Full LP Installed
DEC AXPVMS VMS V7.3-1 Oper System Installed
DEC AXPVMS VT V2.1-J Full LP Installed
DEC AXPVMS WANDD V1.6-1 Full LP Installed
DEC AXPVMS X25 V1.6-1 Full LP Installed
Antoniov.
Honored Contributor

Re: NTP Client configuration

Hi,
the other older system appears to be newest software installed. Older has V7.3-1 while newest has V7.2-1.
I think you have to install tcp/ip; AFAIK there are no reason to avoid this software. However it best you ask for a while why tcp/ip is not present. May be this machine must be isolated by other hosts?

Antonio Vigliotti
Antonio Maria Vigliotti
Taulant Shamo
Frequent Advisor

Re: NTP Client configuration

How to install tcp/ip.
Has any impact in communicationj with other sytems.
Ian Miller.
Honored Contributor

Re: NTP Client configuration

The TCPIP kit can be found on the VMS CDs.

It will be in a directory with TCPIP in the name.

Current versions of TCPIP install with PCSI so there should be *TCPIP*.PCSI on a CD file which you install with

PRODUCT INSTALL TCPIP/SOURCE=dev:[dir]

where dev:[dir] is the location of the kit.

You do do need a licence for this product. Look for a TCPIP licence or a NAS licence in the result of SHOW LICENSE command.

The TCPIP product can run concurrently with DECnet but not concurrently with other vendors TCP/IP products.
____________________
Purely Personal Opinion
Antoniov.
Honored Contributor

Re: NTP Client configuration

Taulant,
my check list is:
a) Are you network administrator? If no, you have to ask for a tcp/ip address to assign to your host.
b) Have you enough memory? You need approx 150,000 blocks on HD; I don't forget how many RAM, it's better 256 Mb at minimun.
c) Have license loaded? TCP/IP is included in VMS; however if I remember you need of PAK.
d) Have you CD? TCP/IP is on VMS distribution media or else on Layered Products Distribution media.
e) What version of TCP/IP you can install? At now I don't remember. For V7.2 may be V5.3; I have to search for exact answer.
d) How install TCP/IP? Using PRODUCT INSTALL command.
f) Other question? You can read TCP/IP Software Product Description
http://h18000.www1.hp.com/info/SP4646/SP4646PF.PDF
and TCP/IP installation guide
http://h71000.www7.hp.com/doc/82FINAL/6524/6524pro.HTML

Antonio Vigliotti
Antonio Maria Vigliotti
Andy Bustamante
Honored Contributor

Re: NTP Client configuration

I'm curious that you have ntpq available but don't have HP's TCPIP or UCCX installed.

Do either of either these commands list a file?

$ DIR SYS$SYSROOT:[MULTINET]START_MULTINET.COM
or
$ DIR SYS$SYSROOT:[TCPWARE]TCPWARE_LOGICALS.COM

There are other TCPIP stacks besides the default HP TCPIP product. If you an ntpq command available I suspect you're running one of the third party IP stacks.


Andy
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

Only this file exist:

TCPWARE_LOGICALS.COM;1


The system use tcpware
Martin Vorlaender
Honored Contributor
Solution

Re: NTP Client configuration

>>>
The system use tcpware
<<<

Then forget all the suggestions that include TCPIP$ and UCX$*

Do you have processes named TCPware_* ?

Please see the manual at http://vms.process.com/ftp/tcpware/documentation/html/installation/Ch04.htm#E52E63 for configuration details.

cu,
Martin
Taulant Shamo
Frequent Advisor

Re: NTP Client configuration

Yes the TCPware processes arunning are:

SCCRA1$ show sys /proc=tcp*
OpenVMS V7.2-1 on node SCCRA1 24-AUG-2005 14:26:02.84 Uptime 83 08:55:38
Pid Process Name State Pri I/O CPU Page flts Pages
000210B1 TCPware_NETCP LEF 8 510 0 00:00:00.12 219 186
000210B2 TCPware_DNS HIB 6 304 0 00:00:00.12 630 159
0001ECB3 TCPware_FTP HIB 6 55 0 00:00:00.06 1357 99
0001ECB4 TCPware_SNMPD LEF 6 13176 0 00:00:00.01 131 128