You are here: 2 Installation and Configuration > Initializing/Configuring Torque on the Server (pbs_server) > Configuring trqauthd for Client Commands

2.9 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.

2.9.1 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.

If you run trqauthd before starting pbs_server, you will receive a warning that no servers are available. To avoid this message, start pbs_server before running trqauthd.

trqauthd can be invoked directly from the command line or by the use of scripts that are located in the Torque source tree.

There are two scripts for trqauthd:

Script Description
suse.trqauthd Used only for SUSE-based systems
trqauthd An example for other package managers (Redhat, Scientific, CentOS, and Fedora are some common examples)

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.

Do the following:

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

    • Red Hat 6-based or SUSE 11-based systems

      service trqauthd restart
    • Red Hat 7-based or SUSE 12-based systems

      systemctl restart trqauthd.service

If you receive an error that says "Could not open socket in trq_simple_connect. error 97" and you use a CentOS, RedHat, or Scientific Linux 6+ operating system, check your /etc/hosts file for multiple entries of a single host name pointing to the same IP address. Delete the duplicate(s), save the file, and launch trqauthd again.

Related Topics 

© 2017 Adaptive Computing