KB0094

Serenji Shell on GT.M Sometimes Connects to the Wrong PC

Applies to: Serenji 2.1 and 2.1.2 on GT.M

Symptoms

On GT.M, the Serenji Shell sometimes connects to the wrong PC.

Cause

When Serenji Shell is invoked without specifying a client hostname or IP address, the function IAM^%Serenji attempts to identify the address or name or the caller's PC. However, in some cases, a bug causes the function to return the address or name of another logged-in client, and Serenji Shell tries to connect to Serenji on that machine.

Solution

To correct this, edit %Serenji (or the file _Serenji.m). Look for the following line after the label IAM:

. ZSYSTEM "who -l > "_pipe

Replace it with:

. ZSYSTEM "who -lm > "_pipe

Last reviewed: Nov 15, 2004

Back to Serenji Knowledge Base Articles