1827845 Members
1178 Online
109969 Solutions
New Discussion

Re: NTP on OpenVMS?

 
Andy Bustamante
Honored Contributor

Re: NTP on OpenVMS?


The PEER keyword indicates that the the systems will agree on a time between themselves. I believe that your node's address should also be added to the remote config files for this to work properly.

The SERVER keyword configures your server to accept time from the specificied server and pass it on to other nodes.

Can you try either substituting server or adding this node's info to the config files on your time servers.

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
Andy Bustamante
Honored Contributor

Re: NTP on OpenVMS?

The log file is started but the end of file isn't yet moved forward. If you issue

@sys$startup:tcpip$ntp_shutdown

you'll be able to review the log. While you have NTP shut down. It will take several samples with different delays so this log file will take some time to have entries available. You can also try:

@sys$manager:tcpip$define_commands
ntpdate -q -d
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
Antoniov.
Honored Contributor

Re: NTP on OpenVMS?

Andy,
log file is created when service start. On my system I'm able to read log file while NTP service is running; I can read log file even if I rename .conf file and in this case I read NTP couldn't open conf file! If log file is not created (and service is not active) means there is some strong trouble.

Antonio Vigliotti
Antonio Maria Vigliotti
Volker Halle
Honored Contributor

Re: NTP on OpenVMS?

Scott,

there must be some problem, which prevents the TCPIP$NTP_1 process from being started or from succeeding to execute. Please issue a REPLY/ENABLE before starting NTP with @SYS$STARTUP:TCPIP$NTP_STARTUP and watch for OPCOM error messages.

Please check the ownership and protection of the SYS$SPECIFIC:[TCPIP$NTP] directory and files. Make sure they are owned by TCPIP$NTP.

You can audit process creation with:

$ SET AUDIT/ALARM/ENA=PROCESS=CREPRC

to see, that the TCPIP$NTP_1 process get created. Disable with ... /DISABLE=...

If the process get created, but fails, check accounting SHOW ACC/FULL/SINCE=...

Volker.
Venkat_18
Advisor

Re: NTP on OpenVMS?

A small correction
>>If the process get created, but fails,
>> check accounting SHOW ACC/FULL/SINCE=...

Check accounting with command ACC/FULL/SINCE= ....


Antoniov.
Honored Contributor

Re: NTP on OpenVMS?

Scott,
what does it happen if you try to start manually service?
$ TCPIP ENABLE SERVICE NTP

Antonio Vigliotti
Antonio Maria Vigliotti
Scott Frye_1
Super Advisor

Re: NTP on OpenVMS?

Very Interesting:

8060SF03 HNAC$ @sys$startup:tcpip$ntp_startup
%TCPIP-I-INFO, image SYS$SYSTEM:TCPIP$NTP.EXE installed
%TCPIP-I-INFO, logical names created
%%%%%%%%%%% OPCOM 12-AUG-2005 12:37:10.55 %%%%%%%%%%%
Message from user INTERnet on HNAC
INTERnet ACP Activate NTP Server

%%%%%%%%%%% OPCOM 12-AUG-2005 12:37:10.55 %%%%%%%%%%%
Message from user INTERnet on HNAC
INTERnet ACP NOLISTEN Process creation success: Service - NTP

%TCPIP-I-INFO, service enabled
%TCPIP-S-STARTDONE, TCPIP$NTP startup completed
8060SF03 HNAC$
%%%%%%%%%%% OPCOM 12-AUG-2005 12:37:10.57 %%%%%%%%%%%
Message from user AUDIT$SERVER on HNAC
Security alarm (SECURITY) and security audit (SECURITY) on HNAC, system id: 5127
Auditable event: Network login failure
Event time: 12-AUG-2005 12:37:10.57
PID: 20ED8965
Process name: TCPIP$NTP_1
Username: TCPIP$NTP
Process owner: [TCPIP$AUX,TCPIP$NTP]
Image name: $4$DKA807:[SYS0.SYSCOMMON.][SYSEXE]LOGINOUT.EXE
Remote node id: 0 (0.0)
Remote username: TCPIP$NTP
Status: %LOGIN-F-ACNTEXPIR, your account has expired; contact your system manager

8060SF03 HNAC$
%%%%%%%%%%% OPCOM 12-AUG-2005 12:37:10.58 %%%%%%%%%%%
Message from user INTERnet on HNAC
INTERnet ACP Error during process startup, Nolisten Service Disabled - NTP Server
Scott Frye_1
Super Advisor

Re: NTP on OpenVMS?

Volker,

You are my hero!!! doing the reply/enable allowed me to see my tcpip$ntp account had expired. I reset the paramaters and now NTP is running.

Thanks to all who help me with this. I love this forum!!!!!

Scott