UNIX-Connect > UNIX-Connect System Administration > Session Manager > Event Log

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

Log Files (UNIX-Connect Administration) (m603105+log.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Log Files

Event Log

The event log file, /var/adm/RCS/RCS_EVENT_LOG on Solaris and AIX or /usr/adm/RCS/RCS_EVENT_LOG on Linux, is used to record information and error messages generated by the session manager. It is a useful record of events should problems occur. The event log can be viewed using standard UNIX utilities (for example, vi or pg).

All messages contain the following information:

A typical information message appears as follows:

RS>Mon Apr 22 15:32:23 2010, 11100, Remote host disconnected

A typical error message appears as follows:

SM>Mon Apr 22 15:37:56 2010, 5, TliListenInit, t_bind() failed, see t_errno

Note: The error number referred to in the above and similar messages (t_errno  in this case) is the number immediately following the date - in this case, 5.

Event Log Size

The size of the event log is limited, by default, to 1MB. When the event log exceeds this limit it is copied to the file old.EVENT_LOG. The default maximum size of the event log can be changed by modifying the parameters on the session manager command line.

Note: You will need to stop and restart the session manager for any changes to take effect.

Session Log

The session log file, /var/adm/RCS/RCS_SESS_LOG on Solaris and AIX or /usr/adm/RCS/RCS_SESS_LOG on Linux, is used by the session manager to record every incoming and outgoing connection processed. The session log can be viewed using standard UNIX utilities (for example, vi or pg).

There are three types of session message: initialisation, connection and disconnection.

Initialisation Messages

An initialisation message is generated each time the session manager is started:

Mon Apr 22 15:31:43 2010, RCS Initialisation Complete

Connection Messages

The information shown in a connection message depends on the type of connection: DDA, character circuit, telnet LBS or NET-LOGON.

Notes:

For DDA connections the message contains the following information:

For outgoing calls, the user-id is not shown if the USERS-FILE has been used. Under these circumstances the user-id can be determined by noting the user-id in the client-id field, and the system name (see above), and then looking up this combination in the USERS-FILE.

Note: For terminal connections where no user-id has been supplied (that is, the user is presented with the logon prompt), the user-id in the connection message will be null.

Note: For security reasons, the user, account and server passwords are not displayed.

The following shows a typical incoming connection message:

Sessid:8     Wed May 27 11:23:21 2008, IC
System:, Userid:ucon13, Account:, Server:,
Client Id: SPI-20*UCON, Plid:UNIX-192010067-ttyp3
Class:1, Flags:0, Timeout:0

For character circuit, telnet LBS and NET-LOGON connections the session log messages contain only the session id, date, connection type and PLId. However, the connection type field includes a description of the type of connection: that is character circuit, telnet_lbs  or Net-Logon.

The following shows typical character circuit, telnet LBS and NET-LOGON messages:

SessId:5     Mon Apr 22 15:35:14 2010, IC character circuit
Plid:CHAR-152.114.12.109-1133
SessId:37 Mon Apr 22 17:31:20 2010, IC telnet_lbs
Plid:INET-152.114.12.132-0026
SessId:22 Thu May 16 18:28:06 2010, Net-Logon
Plid:UNET-200433-support.port11

Disconnection Messages

When the session ends, one of the following messages is written to the session log:

Sessid:20    Mon Apr 22 15:32:23 2010, Session Terminated Normally
Sessid:20 Mon Apr 22 15:32:23 2010, Session Terminated by Death of Process
Sessid:20 Mon Apr 22 15:32:23 2010, Session Terminated by Client Timeout
Sessid:20 Mon Apr 22 15:32:23 2010, Session Terminated by Server Rejection

Notes:

Session Log Size

The size of the session log is limited, by default, to 1MB. When the session log exceeds this limit it is copied to the file old.SESS_LOG. The default maximum size of the session log can be changed by modifying the parameters on the session manager command line.

Note: You will need to stop and restart the session manager for any changes to take effect.

RealityV15.0Comment on this topic