Operating System - OpenVMS
1751811 Members
5215 Online
108781 Solutions
New Discussion юеВ

Re: NTP Works Fine,But I cannot see it in PS NTP

 
Prem Mohan
Advisor

NTP Works Fine,But I cannot see it in PS NTP

Hi All,
The NTP works fine on Open VMS7.3-2,But I cannot see it while I do a PS NTP on one node.I have a 4 node system and it works well in all four & also PS NTP shows in all three except the fourth.
I have checked the permissions,Secuirity,owner etc.

Working Node:

dir TCPIP$NTP.CONF;19 /full

Directory SYS$SPECIFIC:[TCPIP$NTP]

TCPIP$NTP.CONF;19 File ID: (11805,205,0)
Size: 9/35 Owner: [TCPIP$AUX,TCPIP$NTP]
Created: 11-APR-2007 13:40:04.45
Revised: 11-APR-2007 13:40:04.45 (1)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 35, Extend: 0, Global buffer count: 0
No version limit
Record format: Stream_LF, maximum 0 bytes, longest 88 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None

Total of 1 file, 9/35 blocks.
dir TCPIP$NTP.CONF;19 /sec

Directory SYS$SPECIFIC:[TCPIP$NTP]

TCPIP$NTP.CONF;19 [TCPIP$AUX,TCPIP$NTP] (RWED,RWED,RE,)

Total of 1 file.
dir *login* /sec

Directory SYS$SPECIFIC:[TCPIP$NTP]

LOGIN.COM;1 [TCPIP$AUX,TCPIP$NTP] (RWED,RWED,RE,)

Total of 1 file.
ucx show service ntp /full

Service: NTP
State: Enabled
Port: 123 Protocol: UDP Address: 0.0.0.0
Inactivity: 0 User_name: TCPIP$NTP Process: TCPIP$NTP
Limit: 1 Active: 0 Peak: 0

File: TCPIP$SYSTEM:TCPIP$NTP_RUN.COM
Flags: None

Socket Opts: Rcheck Scheck
Receive: 0 Send: 0

Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
File: SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP_RUN.LOG

Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0
ps ntp
OpenVMS V7.3-2 on node A 14-APR-2007 12:02:41.56 Uptime 3 01:47:23
20200435 VIQ_NTP_V353 HIB 15 5182091 0 00:01:44.51 398 434
20200C36 TCPIP$NTP_1 LEF 10 246076 0 00:00:01.12 390 330 N
OpenVMS V7.3-2 on node A 14-APR-2007 12:02:41.57 Uptime 3 01:47:04
20400433 VIQ_NTP_V353 HIB 15 3544660 0 00:02:12.26 398 434
20401121 TCPIP$NTP_1 LEF 10 241648 0 00:00:01.27 352 330 N show system /net
OpenVMS V7.3-2 on node A 14-APR-2007 12:02:52.66 Uptime 3 01:47:34
Pid Process Name State Pri I/O CPU Page flts Pages
20200423 TCPIP$FTP_1 LEF 9 550533 0 00:00:33.36 645 379 N
20200C36 TCPIP$NTP_1 LEF 10 246087 0 00:00:01.12 390 330 N

Non-working Node:( Rather non-showing node )
dir SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.CONF; /full

Directory SYS$SPECIFIC:[TCPIP$NTP]

TCPIP$NTP.CONF;3 File ID: (20084,19,0)
Size: 9/35 Owner: [TCPIP$AUX,TCPIP$NTP]
Created: 11-APR-2007 13:40:04.45
Revised: 14-APR-2007 12:16:13.00 (6)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 35, Extend: 0, Global buffer count: 0, No version limit
Record format: Stream_LF, maximum 0 bytes, longest 88 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None

Total of 1 file, 9/35 blocks.
dir SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.CONF; /sec

Directory SYS$SPECIFIC:[TCPIP$NTP]

TCPIP$NTP.CONF;3 [TCPIP$AUX,TCPIP$NTP] (RWED,RWED,RE,)

Total of 1 file.
dir SYS$SPECIFIC:[TCPIP$NTP]*login* /sec

Directory SYS$SPECIFIC:[TCPIP$NTP]

LOGIN.COM;1 [TCPIP$AUX,TCPIP$NTP] (RWED,RWED,RE,)

Total of 1 file.
ucx show service ntp /full

Service: NTP
State: Enabled
Port: 123 Protocol: UDP Address: 0.0.0.0
Inactivity: 5 User_name: TCPIP$NTP Process: TCPIP$NTP
Limit: 1 Active: 1 Peak: 1

File: TCPIP$SYSTEM:TCPIP$NTP_RUN.COM
Flags: Listen

Socket Opts: Rcheck Scheck
Receive: 0 Send: 0

Log Opts: None
File: not defined

Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0
show system /net
OpenVMS V7.3-2 on node SMST24 14-APR-2007 12:20:03.96 Uptime 16 21:22:09
Pid Process Name State Pri I/O CPU Page flts Pages
0000041C TCPIP$FTP_1 LEF 9 2853378 0 00:02:16.67 743 308 N
0000A999 TCPIP$NT_BG2918 LEF 10 1147 0 00:00:00.12 746 348 N
00002A05 TASK_14010005 HIB 6 759 0 00:00:00.14 682 270 N

Appreciate your response and help.

Prem.


42 REPLIES 42
John Abbott_2
Esteemed Contributor

Re: NTP Works Fine,But I cannot see it in PS NTP

Hi Prem,

1. Compare the contents ($ diff) of the failing node with one of the working nodes for file TCPIP$NTP.CONF

2. examine sys$specific:[tcpip$ntp]tcpip$ntp_run.log; for any clues as to why it failed (does the file even exist ? what about previous versions - are there any ? any errors ?)

3. I assume you're using a common uaf or there's nothing different about uaf tcpip$ntp account.

4. from the system managers account you can restart NTP on the failed node by issuing @sys$startup:tcpip$ntp_startup but I'd suggest looking for reasons as to why it's not running 1st.

Kind Regards
John.
Don't do what Donny Dont does
Prem Mohan
Advisor

Re: NTP Works Fine,But I cannot see it in PS NTP

Hi John,

For question 1

I actually FTPed the file from working node to the other, NTP itself works fine, But I just cannot view it using PS NTP.
How ever I can see it in show system /net
NTP itself is working on all the nodes.

Question 2

I do not see a *ntp*run*.log file in sys$specific:[tcpip$ntp]

Question 3

UAF is not shared, But there is nothing
different

Showing node

TCPIP$NTP TCPIP$NTP [3655,7] TCPIP Normal 8 SYS$SPECIFIC:[TCPIP$NTP]

in non-showing node

TCPIP$NTP TCPIP$NTP [3655,6] TCPIP Normal 8 SYS$SPECIFIC:[TCPIP$NTP]

question 4
I have already done that.

Again NTP works fine on the non-showing node as well, its inconvinient that its just not showing

Best Regards
Prem.
Prem Mohan
Advisor

Re: NTP Works Fine,But I cannot see it in PS NTP

Hi John,

There are no errors in *ntp*run*.log files, Please see below NTP is running but in one
node it is TCPIP$NTP_1 and on the other it is TCPIP$NT_BG2918
thats why its not appearing on PS NTP

PS == "PIPE SHO SYS /CLUSTER | SEARCH SYS$INPUT NODE,"

Showing Node: show system /net
OpenVMS V7.3-2 on node SMST21 14-APR-2007 13:29:46.20 Uptime 3 03:14:27
Pid Process Name State Pri I/O CPU Page flts Pages
20200423 TCPIP$FTP_1 LEF 9 561342 0 00:00:34.06 645 379 N
20200C36 TCPIP$NTP_1 LEF 9 251473 0 00:00:01.20 390 330 N

non-showing node

show system /net
OpenVMS V7.3-2 on node SMST24 14-APR-2007 13:28:49.85 Uptime 16 22:30:55
Pid Process Name State Pri I/O CPU Page flts Pages
0000041C TCPIP$FTP_1 LEF 9 2861483 0 00:02:17.02 743 308 N
0000A999 TCPIP$NT_BG2918 LEF 10 6212 0 00:00:00.17 746 348 N
00002A05 TASK_14010005 HIB 6 759 0 00:00:00.14 682 270 N
Steven Schweda
Honored Contributor

Re: NTP Works Fine,But I cannot see it in PS NTP

"ps" is not a VMS command.

SHOW SYMBOL PS (everywhere)

I _assume_ that "ps" is defined to use a
command procedure to do something like:

SHOW SYSTEM /PROCESS = *'p1'*

but if "ps.com" (or whatever) is missing the
asterisks on one system, that could explain a
lot.
Steven Schweda
Honored Contributor

Re: NTP Works Fine,But I cannot see it in PS NTP

Oh. Too late. But it was a fair guess.

TCPIP SHOW VERSION look the same everywhere?
John Abbott_2
Esteemed Contributor

Re: NTP Works Fine,But I cannot see it in PS NTP

Like Steve, I assumed PS was some sort of SHOW SYSTEM x y z (not difficult based on the output provided). However I missed your point about it being NT_BG and actually running... oh what IP version I think 5.4 ECO 6 was the last for 7.3-2

J.
Don't do what Donny Dont does
John Abbott_2
Esteemed Contributor

Re: NTP Works Fine,But I cannot see it in PS NTP

Have you tried stopping & starting NTP on this node ? does the prcnam revert ?

J.
Don't do what Donny Dont does
Steven Schweda
Honored Contributor

Re: NTP Works Fine,But I cannot see it in PS NTP

I like my "ps" better anyway.

alp $ PS == "PIPE SHO SYS /CLUSTER | SEARCH SYS$INPUT NODE,"

alp $ ps ntp
OpenVMS V7.3-2 on node ALP 14-APR-2007 05:56:28.13 Uptime 19 20:34:11
20200235 TCPIP$NTP_1 LEF 10 1720820 0 00:00:15.41 302 301 N
202002DA my_name_is_node LEF 4 923782 0 00:05:58.19 215970 145

Slightly better would be something like:

PS == "PIPE SHO SYS /CLUSTER | SEARCH SYS$INPUT "" on node "","

alp $ ps ntp
OpenVMS V7.3-2 on node ALP 14-APR-2007 05:57:42.45 Uptime 19 20:35:26
20200235 TCPIP$NTP_1 LEF 10 1720894 0 00:00:15.41 302 301 N

But that's still subject to error:

alp $ ps ntp
OpenVMS V7.3-2 on node ALP 14-APR-2007 05:58:51.84 Uptime 19 20:36:35
20200235 TCPIP$NTP_1 LEF 9 1720964 0 00:00:15.41 302 301 N
202002DA x on node y LEF 9 923833 0 00:05:58.21 216052 140
John Abbott_2
Esteemed Contributor

Re: NTP Works Fine,But I cannot see it in PS NTP

Never used this one myself ( http://h71000.www7.hp.com/freeware/freeware80/set_prcnam/ ) but there's always useful tools on the freeware, this one allows you to change a prcnam. The freeware is always worth a browse.

J.
Don't do what Donny Dont does