I have a fresh install of openpbs-server-22.05.11-0.x86_64. The rpm is installed, I had an issue with our repos installing postgresql, so I enabled the alternative repo using these steps: PostgreSQL: Linux downloads (Red Hat family)
That enabled me to install the OpenPBS rpms, but the service won’t start. I am getting what looks like a database error. What am I missing?
# /etc/init.d/pbs start
Starting PBS
PBS Home directory /var/spool/pbs does not exist.
Running /opt/pbs/libexec/pbs_habitat to create it.
***
/bin/ls: cannot access '/var/spool/pbs': No such file or directory
*** WARNING: PBS_HOME not found in /var/spool/pbs
*** PBS Installation Summary
***
*** Postinstall script called as follows:
*** /opt/pbs/libexec/pbs_postinstall server 22.05.11 /opt/pbs /var/spool/pbs '' sameconf
***
*** PBS_HOME is /var/spool/pbs
*** Creating new file /var/spool/pbs/pbs_environment
*** WARNING: TZ not set in /var/spool/pbs/pbs_environment
***
*** The PBS server has been installed in /opt/pbs/sbin.
*** The PBS scheduler has been installed in /opt/pbs/sbin.
***
*** The PBS communication agent has been installed in /opt/pbs/sbin.
***
*** The PBS MOM has been installed in /opt/pbs/sbin.
***
*** The PBS commands have been installed in /opt/pbs/bin.
***
*** End of /opt/pbs/libexec/pbs_postinstall
*** Error initializing the PBS dataservice
Error details:
/usr/bin exists, binaries missing...exiting