Operating System - OpenVMS

ntp keeps log file locked and is not creating new log file daily

 
SOLVED
Go to solution
br0070
Visitor

ntp keeps log file locked and is not creating new log file daily

We have six integrity severs running OpenVMS 8.4-2L1 and HP TCP/IP Services Version 5.7 - ECO 5. All servers were running NTP and creating a new log file every 24 hours as expected. After changing the .CONF file only to modify the the NTP server address, running NTP_SHUDOWN and NTP_STARTUP on all six servers, only 3 of them create a new log file each day. All six are still logging. Three of them still create a new log file every 24 hours and the new log file remains open. The other 3 continue appending to the old log file and the log file remains locked (until the NTP service is shutdown). On startup these 3 servers open and continue to use the old log file but never create a new one. On the 3 servers that do create a new log file every day, the log file does not remain locked. Any ideas why the change in behavior?
4 REPLIES 4
Volker Halle
Honored Contributor
Solution

Re: ntp keeps log file locked and is not creating new log file daily

You're using VSI OpenVMS, so you might want to use the VSI OpenVMS Forums at

VSI OpenVMS Forum - Index page (vmssoftware.com)

Volker.

br0070
Visitor

Re: ntp keeps log file locked and is not creating new log file daily

Thank you.

Volker Halle
Honored Contributor

Re: ntp keeps log file locked and is not creating new log file daily

Here are some things to check:

Are you really using the same version of the NTP image on all 6 servers ?

$ analyze/ima/select=link sys$system:tcpip$ntp.exe

Has the log file been opened using SHR option ?

$ ANALYZE/SYSTEM

SDA> SET PROC TCPIP$NTP_1

SDA> SHOW PROC/RMS=FAB

...

FAC: 1B PUT,GET,UPD,TRN
SHR: 02 SHRGET

...

Anything special with the SYS$SPECIFIC:[TCPIP$NTP] directory or TCPIP$NTP_RUN.LOG file attributes ? Log file version limit reached ?

Any non-default NTP logicals ? ($ SHOW LOG *NTP*) ?

Volker.

 

br0070
Visitor

Re: ntp keeps log file locked and is not creating new log file daily

Ownership and permissions on the SYS$SPECIFIC:[TCPIP$NTP] directories and their contents were found to be inconsistent among the six nodes in the two clusters. The issue was resolved by making them consistent. I can only speculate as to why they worked properly previously.