Operating System - OpenVMS
1748254 Members
4037 Online
108760 Solutions
New Discussion

Telnet connection problem on OpenVMS Alpha 7.3-2

 
zheng_fei
Advisor

Telnet connection problem on OpenVMS Alpha 7.3-2

I ran into a telnet connection problem on a node running OpenVMS Alpha 7.3-2 a few days ago.

The outgoing telnet from this node is ok. Decnet and ftp are also ok.

But the incoming telnet always fails, meaning that other nodes cannot access this node thru telnet.

Telnet localhost also failed after hanging for a while.

 

To investigate the problem, I enabled debug for telnet. The screen output is posted below:

------------------------------

TELNET> enable debug

TELNET> connect localhost
%TELNET-I-TRYING, Trying ... 127.0.0.1
%TELNET-I-SESSION, Session 01, host localhost, port 23
-TELNET-I-ESCAPE, Escape character is ^]
SEND [ 0] FFFB18FFFB 3FFFD 3FFFB17FFFB1F
RCVD [ 0] FFFB 1FFFB 3
SEND [ 0] FFFD 1
RCVD [ 0] FFFD18FFFA18 1FFF0
SEND [ 0] FFFA18 05654313032FFF0
RCVD [ 0] FFFD17FFFD1F
SEND [ 0] FFFA175F525441313A2F53595354454DFFF0FFFA1F 084 018FFF0
%TELNET-S-REMCLOSED, Remote connection closed
-TELNET-I-SESSION, Session 01, host localhost, port 23
TELNET> exit

------------------------------

 

I also put the telnet config below, seems no problem:

------------------------------

TCPIP> sh service telnet /full

Service: TELNET
State: Enabled
Port: 23 Protocol: TCP Address: 0.0.0.0
Inactivity: 1 User_name: not defined Process: not defined
Limit: 10000 Active: 0 Peak: 2

File: not defined
Flags: Listen Rtty IPv6

Socket Opts: Keepalive Rcheck Scheck
Receive: 3000 Send: 3000

Log Opts: Actv Dactv Conn Error Logi Logo Mdfy Rjct
File: not defined

Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0
TCPIP>

------------------------------

 

Anyone has any idea for this problem? Thanks.

 

15 REPLIES 15
zheng_fei
Advisor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

Another finding is, when I telnet the node with another terminal, I notice that new terminal TNAx was created. But the Owner process is "" and Owner process ID is 00000000.

-------------------------------

>sh dev tna /full

Terminal TNA0:, device type unknown, is online, record-oriented device, carriage
control, device is a template only.

Error count 0 Operations completed 0
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G,W
Reference count 0 Default buffer size 80

Terminal TNA9:, device type unknown, is online, record-oriented device, carriage
control.

Error count 0 Operations completed 1
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G,W
Reference count 0 Default buffer size 80

-------------------------------

I am wondering if this is abnormal

Steven Schweda
Honored Contributor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

 
zheng_fei
Advisor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

Hi, Steven,

 

Thanks for the reply. I checked the problem again according to your suggestions:

 

Tcpip version:

------------------------------------------------

>tcpip sh vers

HP TCP/IP Services for OpenVMS Alpha Version V5.4
on a AlphaServer ES40 running OpenVMS V7.3-2

------------------------------------------------

 

sys$announce:

------------------------------------------------

>sh log sys$announce
"SYS$ANNOUNCE" = " Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3-2 " (LNM$SYSTEM_TABLE)

------------------------------------------------

 

I also set the logical tcpip$telnet_server_debug (which is used in SYS$SYSTEM:TCPIP$TELNET_RUN.COM) to true, but still do not get any further debug info:

------------------------------------------------

>define /sys/exec tcpip$telnet_server_debug "true"

>telnet localhost
%TELNET-I-TRYING, Trying ... 127.0.0.1
%TELNET-I-SESSION, Session 01, host localhost, port 23
-TELNET-I-ESCAPE, Escape character is ^]
%TELNET-S-REMCLOSED, Remote connection closed
-TELNET-I-SESSION, Session 01, host localhost, port 23

------------------------------------------------

 

I did not get any OPCOM message during the process.

I also do not have SYS$SYSDEVICE:[TCPIP$TELNET] directory in this node. I checked other nodes which run telnet properly, the SYS$SYSDEVICE:[TCPIP$TELNET] does not exist as well.

 

Thanks

Zheng Fei

Hoff
Honored Contributor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

Have you configured and started the telnet server with the @SYS$MANAGER:TCPIP$CONFIG tool?

 

Did you attempt to configure and start the daemon using TCPIP> commands and not the CONFIG tool?

 

Look for the default directory associated with the user TCPIP$TELNET; that should be the target directory.

 

Steven Schweda
Honored Contributor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

 
zheng_fei
Advisor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

Hi, Hoff

Yes. the telnet server has been started with SYS$MANAGER:TCPIP$CONFIG, please see below

----------------------------------------------------

HP TCP/IP Services for OpenVMS Client Components Configuration Menu

Configuration options:

1 - DHCP Client Disabled Stopped
2 - FTP Client Enabled Started
3 - NFS Client Disabled Stopped
4 - REXEC and RSH Enabled Started
5 - RLOGIN Enabled Started
6 - SMTP Enabled Started
7 - SSH Client Enabled Started
8 - TELNET Enabled Started
9 - TELNETSYM Disabled Stopped

A - Configure options 1 - 9
[E] - Exit menu

----------------------------------------------------

HP TCP/IP Services for OpenVMS Server Components Configuration Menu

Configuration options:

1 - BIND Disabled Stopped 12 - NTP Disabled Stopped
2 - BOOTP Disabled Stopped 13 - PC-NFS Disabled Stopped
3 - DHCP Disabled Stopped 14 - POP Disabled Stopped
4 - FINGER Disabled Stopped 15 - PORTMAPPER Disabled Stopped
5 - FTP Enabled Started 16 - RLOGIN Enabled Started
6 - IMAP Disabled Stopped 17 - RMT Disabled Stopped
7 - LBROKER Disabled Stopped 18 - SNMP Disabled Stopped
8 - LPR/LPD Disabled Stopped 19 - SSH Enabled Started
9 - METRIC Disabled Stopped 20 - TELNET Enabled Started
10 - NFS Disabled Stopped 21 - TFTP Disabled Stopped
11 - LOCKD/STATD Disabled Stopped 22 - XDM Enabled Started


A - Configure options 1 - 22
[E] - Exit menu

---------------------------------------------------

 

I did not attemp to configure and start it by using TCPIP> commands as I think it makes no difference with the @SYS$MANAGER:TCPIP$CONFIG tool. I will try later if let you know if I find any difference

 

Can you advise where to find the default directory associated with the user TCPIP$TELNET?

 

Thanks

Zheng Fei

zheng_fei
Advisor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

Hi Steven,

 

I will see if I can get Eco 7.

The basic system resources should be ok as I do not notice any problem with other programs and network services.

 

Thanks

Zheng Fei

zheng_fei
Advisor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

just checked that process cnt is ok

 

--------------------------------------

>mc sysgen
SYSGEN> SH MAXPROCESSCNT
Parameter Name Current Default Min. Max. Unit Dynamic
-------------- ------- ------- ------- ------- ---- -------
MAXPROCESSCNT 800 32 12 16384 Processes

The Brit
Honored Contributor

Re: Telnet connection problem on OpenVMS Alpha 7.3-2

 

It isnt so much the SYSGEN value of MAXPROCESSCNT that is important, it is the number of slots available.

 

type:

 

$ show memory/slots

 

As for the TELNET default directory, look at the TCPIP$TELNET account in the UAF.   On my systems the default is

 

SYS$SYSDEVICE:[TCPIP$TELNET]

 

Also check the ownership and protection of this directory,  vis.

 

$ Directory/Security SYS$SYSDEVICE:[000000]TCPIP$TELNET.dir

 

Directory SYS$SYSDEVICE:[000000]

 

TCPIP$TELNET.DIR;1         [TCPIP$AUX,TCPIP$TELNET]          (RWE,RWE,RE,E)

 

Dave,