[TCPware] Debugging RSH ? - VMS

This is a discussion on [TCPware] Debugging RSH ? - VMS ; I had a nonworking RSH service and I wanted to debug why it had problems. I fixed my problem in the meantime, but nevertheless I'd like to ask: Is there a way to get more debug information? I saw that ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [TCPware] Debugging RSH ?

  1. [TCPware] Debugging RSH ?

    I had a nonworking RSH service and I wanted to debug why it had problems.
    I fixed my problem in the meantime, but nevertheless I'd like to ask:

    Is there a way to get more debug information?

    I saw that

    $ NETCU SH SER SHELL STREAM/FU
    TCPware(R) for OpenVMS NETCP Services:

    Protocol Port Active Limit Connects Errors Image
    -------- ---- ------ ----- -------- ------ -----
    STREAM shell 0 none 0 0
    /ROUTINE=CREATE_RSERVICE
    /LOG

    a log(file) should be there somewhere. I also saw that a logical

    (LNM$SYSTEM_TABLE) [kernel] [shareable,system]
    [Protection=(RWC,RWC,R,R)] [Owner=[SYSTEM]]

    "TCPWARE_RCMD_OUTPUT" [exec] = "_NLA0:"

    seems to prevent the logging/logfile. Redefining it didn't change this!?
    Or do I need to restart the service? But a @TCPWARE:RESTART RCMD cleared
    the logical again, so it didn't help. All I saw is in TCPWARE:NETCP.LOG

    ** 9-OCT-2007 08:19:49 TCP connection established on _INET41: from 192.168.1.3,
    1023 to 192.168.1.2,514.
    ** 9-OCT-2007 08:19:50 Failure establishing SHELL service for _INET41:
    -SYSTEM-F-NOSUCHUSER, login information not recognized at remote node

    and that was not enough...

    Do you have ideas (until I dig into the docs some time in the future)?

    Many TIA

    --
    Peter "EPLAN" LANGSTOEGER
    Network and OpenVMS system specialist
    E-mail peter@langstoeger.at
    A-1030 VIENNA AUSTRIA I'm not a pessimist, I'm a realist

  2. Re: [TCPware] Debugging RSH ?

    Peter,

    > I had a nonworking RSH service and I wanted to debug why it had problems.
    > I fixed my problem in the meantime, but nevertheless I'd like to ask:
    >
    > Is there a way to get more debug information?
    >
    > I saw that
    >
    > $ NETCU SH SER SHELL STREAM/FU
    > TCPware(R) for OpenVMS NETCP Services:
    >
    > Protocol Port Active Limit Connects Errors Image
    > -------- ---- ------ ----- -------- ------ -----
    > STREAM shell 0 none 0 0
    > /ROUTINE=CREATE_RSERVICE
    > /LOG
    >
    > a log(file) should be there somewhere. I also saw that a logical
    >
    > (LNM$SYSTEM_TABLE) [kernel] [shareable,system]
    > [Protection=(RWC,RWC,R,R)] [Owner=[SYSTEM]]
    >
    > "TCPWARE_RCMD_OUTPUT" [exec] = "_NLA0:"
    >
    > seems to prevent the logging/logfile. Redefining it didn't change this!?
    > Or do I need to restart the service? But a @TCPWARE:RESTART RCMD cleared
    > the logical again, so it didn't help. All I saw is in TCPWARE:NETCP.LOG
    >
    > ** 9-OCT-2007 08:19:49 TCP connection established on _INET41:
    > from 192.168.1.3,1023 to 192.168.1.2,514.
    > ** 9-OCT-2007 08:19:50 Failure establishing SHELL service for _INET41:
    > -SYSTEM-F-NOSUCHUSER, login information not recognized at remote node
    >
    > and that was not enough...
    >
    > Do you have ideas (until I dig into the docs some time in the future)?


    TCPWARE_RCMD_OUTPUT is defined and can be changed in TCPWARE:RCMD_CONTROL.COM.
    Of course, this can be overwritten by a patch or update installation, but
    for a limited time, this should be okay. It even says in that file

    $ ! Define the TCPWARE_RCMD_OUTPUT logical (controls whether users
    $ ! get a log in there login directories whenever an RSH or REXEC
    $ ! command is used). Define as null device to disable log files.
    $ ! Define as the log file name to create a log file (do NOT include
    $ ! device or directory in this case).

    HTH,
    Martin
    --
    Your mouse has moved. | Martin Vorlaender | OpenVMS rules!
    Windows must be restarted | work: mv@pdv-systeme.de
    for the change to take | http://www.pdv-systeme.de/users/martinv/
    effect. Reboot now? [OK] | home: martin@radiogaga.harz.de

+ Reply to Thread