Starting the PATROL Agent on UNIX
This section explains how to start the PATROL Agent on a UNIX computer.
Before you begin
Before you start the PATROL Agent for UNIX, make sure you have performed the following actions:
- Verify that you are logged on the UNIX host where you want to start the PATROL Agent.
- Verify that the port you want to use is available. To verify port availability, type the following command in the command line and press Enter:
netstat -na | grep <portNo> - Verify that you have changed to the directory containing the PATROL Agent startup script.
Starting the PATROL Agent on UNIX with a script
The PatrolAgent script starts the PATROL Agent on the UNIX operating system. You can specify the communication port between the PATROL Console and the PATROL Agent.
Type the following command in the command line, and press Enter:
./OPT/PATROL/PATROL3/PatrolAgent -p <portNo>
where <portNo> indicates the TCP/IP communications port on which the PATROL Agent will accept connections from PATROL Console. A message notifies you that the PATROL Agent is bound to the TCP port you specified. The port number is optional. If no port number is indicated, use the default port number, 3181.
For a complete list of command line arguments, see Command line arguments for starting the PATROL Agent.
Starting the PATROL Agent for UNIX from the command prompt
You can run one of the following commands to start the PATROL Agent running as a service on Unix operating system:
- ./S50PatrolAgent start
- /etc/init.d/PatrolAgent start
- systemctl start PatrolAgent
Starting the PATROL Agent as a service for UNIX
You must have the root privileges to run the following script.
From the /etc/systemd/system directory, run the following command:
systemctl start PatrolAgent.service
From PATROL Agent 11.3.02 and later, PatrolAgent.service file is added during the installation of PATROL Agent under /etc/system/system.
The service file automatically starts PATROL Agent as a service when the machine is rebooted.
Where to go from here