[Digital logo]
[HR]

DECnet-Plus
Problem Solving


Previous | Contents

The trace file will be created in the default directory of the OSIF$GTWY account.

The trace file created may then be formatted using ositrace as discussed in Section 5.8.1.

5.9.3 Inbound VT Tracing (OpenVMS)

At this point, the VT responder is executing in your process context, and eight (or the value specified by the VT$VT_RJOBLIM logical name) resp_xxxx.bin files will be created in your current directory.

As each new connection made to the VT responder terminates, a new resp_xxxx.bin file is created, and a previous resp_xxx.bin file now contains trace information. This is done in a first in, first out manner; the oldest .bin file contains the trace of the first association, the next youngest contains the second association, and so on.

Once you have collected all of the required trace data, use Ctrl/C and terminate the VT responder. Any resp_xxxx.bin files with a size of 0 may be deleted. Resp_xxxx.bin files which have non-zero sizes may be analyzed using ositrace (see Section 5.8.1 for more information).

The regular VT responder may now be restarted using the SYS$STARTUP:VT_START.COM procedure.

The VT/LAT or VT/TELNET gateways may also be traced in a similar manner by copying VTPAD.EXE to VT_LAT_GTWY.EXE or VT_TELNET_GTWY.EXE respectively.

The LAT/VT or TELNET/VT gateways may be traced by copying VTPAD.EXE to LAT_VT_GTWY.EXE or TELNET_VT_GTWY.EXE respectively. However, the trace files produced will be named init_xxxx.bin to reflect the fact that we are now acting as an initiator.

5.10 Reading Trace Files

Open systems transmit PCI and file data in the form of octet strings. For each component being traced, the tracing utility logs the octets of PCI, file data, or both, sent or received by that component. The trace utility transcribes the octets into a sequence of hexadecimal digits. For PCI data, the utility also translates the data into ASN.1 (abstract-syntax notation). These translations correspond to the PCI definition of the component's service primitives. PCI definitions are part of the protocol specification of each FTAM or Virtual Terminal component.

You can compare tracing output to the corresponding PCI definition, to determine whether the encoding of PCI data is correct and whether the parameter values are valid. You can also compare the actual sequences of parameters with the valid sequences defined by the protocol. For information about FTAM and VT components, see your FTAM and Virtual Terminal documentation.

5.10.1 Interpreting Trace Information

The readable file that the ositrace utility creates contains the following information about the protocol data units (PDUs) for each traced layer (see the example in this section and in Appendix B):

  1. A timestamp (day, date, and time) precedes the formatted textual output of the file that the trace utility generates. The timestamp indicates when the trace started. Another timestamp that indicates when the trace ended appears at the end of the file.
  2. The time (hh:mm:ss) that the outbound or inbound PDUs were sent or received.
  3. The direction of the PDUs: a left arrow (< - ) indicates inbound PDUs and a right arrow (- > ) indicates outbound PDUs.
  4. The layer for which the PDUs are being traced: FTAM, Virtual Terminal (VT), ACSE, Presentation, or Session.
  5. The hexadecimal dump of the PDUs formatted from left to right into eight columns of eight-character (1 octet) sequences.
  6. The textual translation of PCI data in ASN.1 notation (columns 1-72), followed by the first three hexadecimal bytes of the hexadecimal sequence being described (columns 73-80).

Trace Example

 
(1) 10:11:57.08     OSI trace started Wed Jan 30 10:11:57 1992 
 
(2) 10:11:58.20 (3) --> (4) Session 
(5)      0dff0148 05061301 00160102 14020002 33028080 34020103 c1ff0130 3180a080 
        80010100 00a28081 02808082 020103a4 80308002 01010605 28c27b02 01308006 
        02510100 00000030 80020103 060528c2 7b020230 80060251 01000000 00308002 
        01050605 28c27b02 03308006 02510100 00000030 80020107 060528c2 7b020430 
        80060251 01000000 00308002 01090606 2bce0f01 02023080 06025101 00000000 
        30800201 0b060452 01000130 80060251 01000000 00000088 02060089 03054000 
        61803080 02010ba0 7b6080a1 80060528 c27b0101 0000a280 06052bce 0f070100 
        00a38002 01010000 be802880 020101a0 4da08082 01008302 03408403 05070085 
        02058086 0100a780 4e0528c2 7b05014e 0528c27b 05024e05 28c27b05 034e062b 
        ce0f0105 09000056 0776696e 63656e74 710a1908 6e69636b 73746572 00000000 
        00000000 00000000 00000000 
 
(6)    connect-spdu                                                    0d ff 01 
            connect/accept-item                                         05 06 
                protocol-options  = NULL                                13 01 
                version-number  = 2                                     16 01 02 
            session-user-requirements  = '0000000000000010'B            14 02 00 
            ( duplex functional unit )                              
            calling-ssap-identifier  =                                  33 02 80 
            called-ssap-identifier  =                                   34 02 01 
            user-data                                                   c1 ff 01 
 

5.11 Correcting FTAM Application Problems

Do the following if you isolate the problem as an FTAM application problem:
Step Action
1 Check that the initiator ID (user name) is a valid identifier on the responder's system.

For the FTAM responder, the initiator ID must be a valid user name for that system. If the user name requires a password, it must be supplied as well.

2 Check that the filestore password is a valid account password for the user name. For a Digital FTAM responder, the filestore password must be the same as the login password.

Not all FTAM vendors map the filestore password to the login password. If using FTAM products other than Digital's, check the appropriate documentation for further information.

3 If an account field is being sent to the FTAM responder on an OpenVMS system, check that the field is valid (0 to 8 characters).
4 On OpenVMS, check that the remote account specified by the initiator has read and execute access to the responder account's login command file.

On OpenVMS systems, if there is no login command file, check that the symbol LGICMD points at NL: (the null device).

5 On OpenVMS, check that the remote account specified by the initiator has read and execute access to the responder command file (i.e., osif$responder.com).
6 Check that the protection on input directories and files allows remote reading.
7 Check that the protection on output directories allows remote writing.
8 Check the following in the local database file:
  • For outbound connections, check that an alias is defined in the alias database.
  • Remember that aliases and their definitions are assumed to be all uppercase on OpenVMS, because OpenVMS is not case-sensitive.

    Because Digital UNIX is case-sensitive, interoperability problems between Digital UNIX and OpenVMS may occur if you do not use mixed-case address definitions carefully. Therefore, Digital recommends that you use only uppercase address definitions for PSEL, SSEL, and TSEL when trying to communicate between case-sensitive and case-insensitive operating systems such as Digital UNIX and OpenVMS.

  • Make sure the local database entry specifies a correct AE-qualifier, AP-title, PSEL, SSEL, TSEL, and NSAP. If the PSEL, SSEL, TSEL entries are represented as ASCII characters, be sure the case is correct.
  • Make sure that the NSAP, provider name, and template name are consistent and valid. For example, be careful not to mix RFC 1006 specifications with OSI specifications.

5.12 Correcting FTAM File-Handling Problems

This section contains suggestions for dealing with possible file-handling problems.

5.12.1 Checking Foreign Filename Formats

On OpenVMS systems, when specifying a foreign file name, you must enclose the name in double quotation marks (" "), so RMS does not parse the name. Enclose the file name in double quotation marks to preserve the case of the file name. It is best to ensure that all file names are in uppercase.

On UNIX systems, when specifying foreign file names, you must enclose the name in single quotation marks (' ').

Be aware that case sensitivity may be an issue when transferring files between OpenVMS and UNIX systems.

5.12.2 Correcting File Problems

If copied files appear to have extra characters, the remote FTAM implementation may be having problems handling the ISO 8859 character set. You can identify this problem if you display a file and see repeated escape sequences in the data. These escape sequences are the ISO 8859 character set identifiers. The remote FTAM implementation should have handled these. Refer to the supplier of that implementation for further information.

Other file problems may be related to the way the file was transferred. Problems can occur if the requested format is unsupported. The FTAM implementation must convert the file to a supported format before it can transfer it properly (see your FTAM management documentation). If an FTAM file on an OpenVMS system file does not look correct, the software probably transferred it as an FTAM-3 file, which is the default format.

Do the following to check FTAM file formats:
On OpenVMS Systems: On Digital UNIX Systems:
Enter this command:

$ dir/application_protocol=ftam/full filename

Enter this command:

% ols -A application-name::file

The displayed record tells you the format of the file, which can be:

5.13 Correcting General FTAM Connection Problems

If your system environment is set up correctly and a connection attempt fails, do the following:
Step Action
1 Check that the osak$server_v3.exe process (OpenVMS systems only) or the ftam_listener process (Digital UNIX systems only) is running. Do the following:
  • On OpenVMS systems, do one of the following:
    • Enter the OpenVMS command show system and look for the processes:

      OSAK$SERVER_V3
      OSAK$NETMAN

    • Enter the following DCL command:

      $ show process osak$server_v3.exe

      If osak$server_v3.exe is running, a summary of the process appears.

  • On Digital UNIX systems, enter the following command:

    % ps axuw | grep ftam_listener

2 If necessary, start the osak$server_v3.exe process (OpenVMS only) or the ftam_listener process (Digital UNIX only) by doing one of the following:
  • On OpenVMS systems, start the osak$server_v3.exe process from a process with SYSPRV privileges by entering the following DCL commands:

    $ @sys$startup:osak$start.com

    $ @sys$startup:osif$startup.com

  • On Digital UNIX systems, run the file /etc/osi_applstartup as root.
3 Invoke NCL and use the command show node to see if the OSI transport software is running. For example:

ncl> show node 0 osi transport state

If OSI transport is running, NCL displays a message stating that the status state equals on. For example:

Show Node 0 OSI Transport
      
at 199201-10-15::53.63400 + 00:00 I 00.00000
Status
State = On

If OSI transport is not running, NCL displays a message stating that the status state equals off. For example:

Show Node 0 OSI Transport
      
at 1992-01-10-15:41:53.63400 + 00:00 I 00.00000
Status
State = Off
4 If OSI transport is not running, do one of the following:
  • On an OpenVMS system, exit NCL and execute the OSI transport startup command file sys$startup:osit$startup.com from an account with SYSPRV. After restarting OSI transport, restart the OSAK$SERVER_V3.EXE.
  • On a Digital UNIX system, exit NCL and execute the file /etc/start_osi_transport.ncl as root.
5 Check that the underlying DECnet software is running. From a privileged account, type the following at the NCL prompt:
ncl> show session control state
      

The state should be On.

6 If you want to make a connection over an X.25 or Internet network from an OpenVMS system, you must have the X.25 software installed and running.

5.14 Correcting FTAM and Virtual Terminal Connection Problems (Digital UNIX Only)

If no error messages appear when you try to establish a connection but the connection attempt fails, create an initiator trace for the command that failed, as described in Section 5.8.

Use the procedures in the following sections if errors appear.

5.14.1 Address in Use

If the message is Address in Use, do the following:
Step Action
1 Examine /etc/isoapplications for incorrect entries. Check that all entries contain the appropriate components and delimiters.

If you find errors, correct them and retry the operation. If the file is correct, go to step 2.

2 Check that another process is not listening on the same transport address. Do the following:
  1. Use either the ps axuw| grep ftam or ps axuw| grep vt command to see if another process is running.
  2. If no process is running, use the following NCL command to look for descriptions of local transport selectors in use:

    show osi transport* all

    If any transport service access points (TSAPs) match the one that the ftam_listener or vt_listener is trying to use, then the ftam_listener or vt_listener must use a different one.

5.14.2 Network Is Unreachable

If the message is Network is unreachable, check that a listener/responder process is running on the remote node that can accept your connection request. There may be no way to reach the remote node.

Also, verify that the transport provider specified by the initiating entry is available on the responding entity.

5.14.3 Connection Refused

If the message is Connection refused, the Transport layer received a disconnect from the remote system. Retry the operation or specify a different remote node. You can also check a trace, if it exists, for a diagnostic message that indicates why the remote system refused the connection.

5.14.4 Connection Timed Out

If the message is Connection timed out, the remote node did not respond to your connection request. There may be no way to reach the remote node or no responder listening on the specified address.

5.15 Correcting FTAM and Virtual Terminal Responder Problems (OpenVMS Only)

Use the procedures in this section if an FTAM or VT responder on an OpenVMS system either terminates unexpectedly or will not start.

5.15.1 Correcting Unexpected Termination Problems

Try the following if an FTAM or Virtual Terminal responder on OpenVMS systems terminates unexpectedly:
Step Action
1 Examine the operator log for events prior to the failure. If indicated, change system parameters.
2 If no error exists in the operator log, or if changing system parameters does not correct the problem, perform a trace of the operation.
3 Check that there are no problems with the OSI transport provider (see Chapter 7).

5.15.2 Correcting Responder Starting Problems

Try the following if an FTAM or Virtual Terminal responder on OpenVMS systems will not start:
Step Action
1 Use the DCL command show system to check that a responder is not already running on the same node.

The application startup file usually prevents this from happening; check the startup file to see if it was incorrectly modified.

2 Check the alias database to see if another application is using the same TSAP.
3 Check that there are no problems with the OSI transport provider (see Chapter 7).

5.16 Correcting FTAM and Virtual Terminal Responder Problems (Digital UNIX Only)

Try the following if you have FTAM or Virtual Terminal responder problems on Digital UNIX systems:
Step Action
1 If the responder does not start, check the /usr/adm/syslog.dated/*/daemon.log file for errors that the ftam_listener or vt_listener generated. If no errors exist, go to step 2.
2 Start the responder (using ftamd or ologind) at the terminal and use the tracing option to generate a trace file.
3 Correct errors indicated by the trace file.
4 Make sure the addresses and transport options specified in the /etc/isoapplications file are correct.

5.17 Correcting FTAM Environment Problems (OpenVMS Only)

FTAM connections to remote systems can fail if the OpenVMS environment is not set up correctly. If any connections fail, first check that the size of the sysgen parameter, maxbuf, is at least 2048.

If inbound connections fail, check the following items in your OpenVMS environment:
Step Action
1 Check the address database:
  • Make sure a valid user name and password are specified for the local application address.
  • Make sure the AP-title, AE-qualifier, PSAP, SSAP, TSAP, and NSAP on both the initiating and responding systems are correct and match.
2 Make sure the responder's default directory has write access and sufficient space for writing log files.
3 Check the local account where the responder runs to see that:
  • BYTLM is set to at least 20,000 bytes.
  • The account allows network operation (NETMBX and TMPMBX privileges).
  • NETWORK is enabled for the account in AUTHORIZE.
  • If a restricted account is used, an accessible login.com file exists, or the symbol LGICMD points to NL: (the null device).
4 Check to see if maximum activity levels are being exceeded for networking processes, transport connections, X.25 connections, and other processes.
5 Check the disk to make sure it:
  • Has sufficient space to receive an inbound data transfer.

    Use the FTAM command directory/app=ftam/size= all to determine the blocks used and blocks allocated for a file on any FTAM system on your open-systems network.

  • Is not write-locked.

5.18 Correcting Target SAP Connection Problems

Connections can fail if a problem with a specific service access point exists. The following procedures describe how to correct problems in the OSI layers.

5.18.1 Correcting FTAM Physical and Data Link Problems

Do the following to verify that the network topology can reach the remote system:
Step Action
1 On OpenVMS systems only, look at the DECnet OPCOM messages to check that the remote system is available.

On Digital UNIX systems only, check the /usr/adm/syslog.dated/*/daemon.log file.

2 Check that the physical network wires are connected.

5.18.2 Correcting Network Connection Problems

Use NCL commands to do the following:

For Direct X.25 Access:
Step Action
1 Check that the X.25 address in use is correct:
  • For inbound connection attempts, ensure that the source system uses your DTE address and the appropriate subaddress or call value (if used). Source systems would use the transport subaddress of your X.25 transport template.

    If Call User Data is used in place of a subaddress, ensure that the value of the Call User Data is correct. Some systems do not send out Call User Data by default.

  • For outbound connection attempts, ask the target system manager to verify the DTE address and transport subaddress that form the X.25 address in your OSI transport address.

    Some systems require that Call User Data (03010100) be present to select the ISO transport application at the target system. Ensure that the value of the Call User Data (if used) is correct.

2 Check that both systems are using the agreed-upon call value for the network.
3 Check local DNIC usage to determine if it needs a leading zero (0) or one (1).
4 Check to see if international DNIC usage is always required.
5 See the X.25 problem-solving documentation for further assistance.

For Direct IEEE 802 Access:
Step Action
1 Check that the physical address in use is correct. Do the following:
  • For inbound connection attempts, ensure that the remote system uses the physical address for the Ethernet device that connects your system to the IEEE 802 subnetwork shared by your systems.
  • For outbound connection attempts, ask the target system manager to verify the physical address that you are using in your OSI transport address.

For Internet Access:
Step Action
1 Check that the NSAP addressing information is correct:
  • Check that the specified transport provider is rfc1006.
  • Check that the specified NSAP is a 4-byte Internet address.
  • For inbound connection attempts, ensure that the remote system manager is using a valid network service access point (NSAP) address in the isoapplications database.
  • For outbound connection attempts, ask the system manager of the target system to verify that the NSAP address specified in your OSI transport address identifies the NSAP of the target system.
2 Check that the adjacency addressing is defined and is correct:
For X.25 subnetwork access:
  • For inbound connection attempts, ensure that the adjacent system uses your DTE address and the appropriate subaddress (if used). Adjacent systems would use the transport subaddress of your X.25.
  • For outbound connection attempts, ask the adjacent system manager to verify the DTE address and Internet subaddress that form the X.25 address in your adjacency address.
  • Check that both systems are using the agreed-upon call value for the subnetwork.
For IEEE 802 subnetwork access:
  • For inbound connection attempts, ensure that the adjacent system uses the physical address for the Ethernet device that connects your system to the IEEE 802 subnetwork shared by your systems.
  • For outbound connection attempts, ask the adjacent system manager to verify the physical address that you are using in your adjacency address.
  • Check that the routing database is correct for the current configuration.

    Use NCL to confirm that the target system is assigned the correct adjacency address. Also, if other types of routing information are required (as indicated in your OSI transport management documentation), ensure those values are correct.

    Run an OSI transport trace to learn whether the Internet packets are getting through. See your OSI transport documentation for further information.


Previous | Next | Contents | [Home] | [Comments] | [Ordering info] | [Help]

[HR]

  PS_PROFILE_005.HTML
  OSSG Documentation
   2-DEC-1996 12:34:19.97

Copyright © Digital Equipment Corporation 1996. All Rights Reserved.

Legal