Starting and stopping the agent on unix, Starting the agent as a service, Starting the agent as a background process – Kofax SupplierExpress User Manual

Page 39: Stopping the agent service, Stopping the agent background process, Restarting the agent service

Advertising
background image

Installation

Kofax SupplierExpress Administrator's Guide

39

8 To continue, go to the page for your operating system and start the Agent as described:

Starting and Stopping the Agent on UNIX

on page 39

Starting and Stopping the Agent on Windows

on page 40

Starting and Stopping the Agent on UNIX

Before starting the agent, verify that you are running the minimum Java version JDK 1.6.0_x.

Starting the Agent as a Service

To start the agent as a service, you must initially create the service. The following procedures

create and start the agent service.

1 Log in as root and change to the <directory> where you installed the agent software.

For example: cd /se-agent

2 Run the following command:

./installagentservice.sh <install-directory>
For example: ./installagentservice.sh /<se-agent>
Where <se-agent> is the complete directory path specified in step 4 of

Installing the

Software

on page 31. This restarts the agent automatically when the server restarts.

Starting the Agent as a Background Process

On UNIX, you can run the agent as a background process by starting the agent manually.

When you run the agent as a background process, you do not need to create an agent service.
Note If you start the agent manually, you must restart the agent whenever the server restarts.

1 Log in as root and change to the directory where you installed the agent software.

For example: cd /<se-agent>

2 Execute the following command, which runs the agent as a background process:

./startagent.sh

Stopping the Agent Service

1 Log in as root and change to the directory where you installed the agent software.
2 Execute the following command:

service expressagent stop

Stopping the Agent Background Process

1 Log in as root and change to the directory where you installed the agent software.
2 Execute the following command:

./stopagent.sh

Restarting the Agent Service

1 Log in as root and change to the directory where you installed the agent software.
2 Execute the following command:

service expressagent start

Advertising