J Martin Rushton
2016-11-03 17:51:28 UTC
I've been trying to install Torque from the EPEL repository (used by
RHEL and derivatives). Installing MOM on a compute node worked, but I'm
having problems getting the server to start, even following the supplied
README.
The EPEL version of Torque has been build with PBS_HOME set to
/var/lib/torque rather than /var/spool/torque. In addition some of the
configuration files are links into /etc/torque. During the installation
of the MOM I got an error message concerning
/var/spool/torque/mom_priv/mom.lock, but simply touching
/var/lib/torque/mom_priv/mom.lock sorted it out.
The server has not been so easy though. Creating the server.lock in the
/var/lib tree worked, but now I'm hitting a problem trying to create the
initial database. I've tried exporting PBS_HOME and PBS_SERVER_HOME and
also explicitly specifying the path on the command, but to no avail:
# pbs_server -d /var/lib/torque -t create
PBS_Server: LOG_ERROR::No such file or directory (2) in chk_file_sec,
Security violation with "/var/spool/torque" - /var/spool/torque cannot
be lstat'd - errno=2, No such file or directory
PBS_Server: LOG_ERROR::PBS_Server, pbsd_init failed
Has anyone else tried to use the EPEL repository approach and if so did
you succeed? If you did succeed, please pass on the missing information.
Thanks all,
Martin
RHEL and derivatives). Installing MOM on a compute node worked, but I'm
having problems getting the server to start, even following the supplied
README.
The EPEL version of Torque has been build with PBS_HOME set to
/var/lib/torque rather than /var/spool/torque. In addition some of the
configuration files are links into /etc/torque. During the installation
of the MOM I got an error message concerning
/var/spool/torque/mom_priv/mom.lock, but simply touching
/var/lib/torque/mom_priv/mom.lock sorted it out.
The server has not been so easy though. Creating the server.lock in the
/var/lib tree worked, but now I'm hitting a problem trying to create the
initial database. I've tried exporting PBS_HOME and PBS_SERVER_HOME and
also explicitly specifying the path on the command, but to no avail:
# pbs_server -d /var/lib/torque -t create
PBS_Server: LOG_ERROR::No such file or directory (2) in chk_file_sec,
Security violation with "/var/spool/torque" - /var/spool/torque cannot
be lstat'd - errno=2, No such file or directory
PBS_Server: LOG_ERROR::PBS_Server, pbsd_init failed
Has anyone else tried to use the EPEL repository approach and if so did
you succeed? If you did succeed, please pass on the missing information.
Thanks all,
Martin