After spending a bit of time, more than necessary, I got the server working, but only after a number of times seeing /etc/init.d/torque-server clobbering established node files.
To help others out in the same situation (i.e. people who don't read carefully) I want to clarify the first bug report instructions - particularly that the check for existing serverdb needs to change too:
case "$1" in
start) log_daemon_msg "Starting $DESC"
if [ ! -r /var/lib/torque/server_priv/serverdb ]; then DAEMON_SERVER_OPTS="-t create $DAEMON_SERVER_OPTS"
fi
In the provided package, the test is for the non-existent /var/spool/torque/server_priv/serverdb file.
After spending a bit of time, more than necessary, I got the server working, but only after a number of times seeing /etc/init. d/torque- server clobbering established node files.
To help others out in the same situation (i.e. people who don't read carefully) I want to clarify the first bug report instructions - particularly that the check for existing serverdb needs to change too:
case "$1" in
log_daemon_ msg "Starting $DESC"
start)
if [ ! -r /var/lib/ torque/ server_ priv/serverdb ]; then
DAEMON_ SERVER_ OPTS="- t create $DAEMON_ SERVER_ OPTS"
fi
In the provided package, the test is for the non-existent /var/spool/ torque/ server_ priv/serverdb file.