1.0 Installation and configuration > 1.2 Initializing/Configuring TORQUE on the server (pbs_server) > 1.2.4 Configuring trqauthd for client commands

1.2.4 Configuring trqauthd for client commands

trqauthd is a daemon used by TORQUE client utilities to authorize user connections to pbs_server. Once started, it remains resident. TORQUE client utilities then communicate with trqauthd on port 15005 on the loopback interface. It is multi-threaded and can handle large volumes of simultaneous requests.

Running trqauthd

trqauthd must be run as root. It must also be running on any host where TORQUE client commands will execute.

By default, trqauthd is installed to /usr/local/bin.

trqauthd can be invoked directly from the command line or by the use of init.d scripts which are located in the contrib/init.d directory of the TORQUE source.

There are three init.d scripts for trqauthd in the contrib/init.d directory of the TORQUE source tree:

Script Description
debian.trqauthd Used for apt-based systems (debian, ubuntu are the most common variations of this)
suse.trqauthd Used for the rpm-based systems (redhat, suse, scientific, centos, fedora are some common examples)
trqauthd An example for other package managers (anything that doesn't use rpm or apt)

You should edit these scripts to be sure they will work for your site.

Inside each of the scripts are the variables PBS_DAEMON and PBS_HOME. These two variables should be updated to match your TORQUE installation. PBS_DAEMON needs to point to the location of trqauthd. PBS_HOME needs to match your TORQUE installation.

Choose the script that matches your dist system and copy it to /etc/init.d. If needed, rename it to trqauthd.

To start the daemon

/etc/init.d/trqauthd start

To stop the daemon

/etc/init.d/trqauthd stop

OR

service trqauthd start/stop

Related topics