Issue: The pbs_mom process is hanging on shutdown when I reboot a node.
Symptom:
When invesetigating you see the above error at shutdown and it appears the init script is stuck loop for several minuites.
Solution:
Add the following to the pbs_mom init script.
#!/bin/sh
#
# pbs_mom This script will start and stop the PBS Mom
#
# chkconfig: 345 95 05
# description: TORQUE/PBS is a versatile batch system for SMPs and clusters
#### BEGIN INIT INFO
# Provides: pbs_mom
# Required-Start: $local_fs $network $syslog
# Required-Stop: $local_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start up the pbs_mom daemon
# Description: pbs_mom a part of a batch scheduler
# This service starts up the compute node.
### END INIT INFO
Tags: hang, pbs_mom, shutdown