background image
<< UNIX shell script | System Testing Agent Access Files >>
<< UNIX shell script | System Testing Agent Access Files >>

Troubleshooting the agent

Automated Testing
3.
Add that same agent directory to your PATH environment variable.
Note You can add these commands to the user configuration file: login, .cshrc
or .profile.
4.
Log on as root on the target machine.
5.
Add the following line to the /etc/services file:
atsagtd <port number>/tcp
The agent waits for a connection to
<port number>
. By default, System Testing
uses port 10000.
Note If NIS is installed on the target machine, you may have to update the NIS
server. You can check this by typing ypcat services on the target host.
6.
Add the following line to the /etc/inetd.conf file:
atsagtd stream tcp nowait <username> <atsagtd path> <atsagtd path>
where
<username>
is the name of the user that will run the agent on the target
machine and
<atsagtd path>
is the full path name of the System Testing Agent
executable file atsagtd.
To reconfigure the inetd daemon, use one of the following methods:
·
Type the command /etc/inetd -c on the target host.
·
Send the SIGHUP signal to the running
inetd
process.
·
Reboot the target machine.
In some cases, you might need to update the file atsagtd.sh shell script to add some
environment variables to the target machine.
Return to your user account and create an agent access file .atsagtd file in your home
directory. See System Testing Agent Access Files.
Troubleshooting the agent
To check the installation, type the following command on the host running Test
RealTime:
telnet <target machine> <port number>
where
<port number>
is the port number you specified during the installation
procedure. By default, System Testing uses port 10000. After the connection succeeds,
press Enter to close the connection.
If the connection fails, try the following steps to troubleshoot the problem:
·
Check the target hostname and port.
·
Check the Agent Access File.
193