Unable to start PBS “main, unable to change to directory /opt/pbs/server_priv pbs_comm startup failed, exit aborting.”

unable to start PBS
[root@arm-node01 /]# /etc/init.d/pbs restart
Restarting PBS
Stopping PBS
Waiting for shutdown to complete
Starting PBS
PBS Home directory /opt/pbs needs updating.
Running /opt/pbs/libexec/pbs_habitat to update it.


Connecting to PBS dataservice…connected to PBS dataservice@arm-node01
*** End of /opt/pbs/libexec/pbs_habitat
Home directory /opt/pbs updated.
Comm@arm-node01: main, unable to change to directory /opt/pbs/server_priv
pbs_comm startup failed, exit aborting.
[root@arm-node01 /]#

I have tried to unload and reload,but it doesn’t work.Maybe not completely unloaded.

Thank You

Try checking the value of PBS_HOME in /etc/pbs.conf. It should be set to something like /var/spool/pbs. For example…

$ cat /etc/pbs.conf
PBS_EXEC=/opt/pbs
PBS_SERVER=vmcentos
PBS_START_SERVER=1
PBS_START_SCHED=1
PBS_START_COMM=1
PBS_START_MOM=1
PBS_HOME=/var/spool/pbs
PBS_CORE_LIMIT=unlimited
PBS_SCP=/usr/bin/scp

Hi mkaro,
Thanks very much for your help,PBS could have submitted the job, but it suddenly failed to execute qsub and the restart failed,I have tried to unload and reload,reference https://github.com/PBSPro/pbspro/blob/master/INSTALL,but still prompted this error.Is there any other reason for this problem?
My pbs.conf configuration file content is as follows:
#cat /etc/pbs.conf
PBS_SERVER=pbsmaster
PBS_START_SERVER=1
PBS_START_SCHED=1
PBS_START_COMM=1
PBS_START_MOM=1
PBS_EXEC=/opt/pbs
PBS_HOME=/var/spool/pbs
PBS_CORE_LIMIT=unlimited
PBS_SCP=/bin/scp
Thanks for your attention and your time.

With the deployment of PBS Pro OSS, /opt/pbs/server_priv is not created .
The server_priv exists only in /var/spool/pbs/server_priv

  • Please check the permissions on /opt/pbs
  • Please check the permision on /var/spool/pbs

Have you got solution for this issue?