Pg_ctl: could not start server

Hi All, I’m trying to install and older version of openpbs (18.1.2) thinking it would be easier to install on SLES 12 sp1. The rpm installs fine, but I’m unable to start PBS.

/etc/init.d/pbs start

Starting PBS
PBS Home directory /var/spool/pbs needs updating.
Running /opt/pbs/libexec/pbs_habitat to update it.
*** Error initializing the PBS dataservice
Error details:
Creating the PBS Data Service…
Starting PBS Data Service…
pg_ctl: could not start server
Examine the log output.
Failed to start PBS Data Service
Error starting PBS Data Service

I’ve noticed that before attempting to start pbs there is no ‘datastore’ directory in /var/spool/pbs. When I try to start PBS pbs_habitat creates datastore and gives postgres ownership of the directory, but then when PBS fails it deletes the datastore directory. Not sure if this is suppose to happen.

Other information:
the rpm used: pbspro-18.1.2-0.x86_64.rpm
This system is running postgresql-9.4-1.1

I’m not seeing much for logs. All log directories under /var/spool/pbs are empty.

using systemctl to start

systemctl start pbs

Job for pbs.service failed. See “systemctl status pbs.service” and “journalctl -xn” for details.

journalctl -xn

– Logs begin at Fri 2022-07-22 09:57:04 PDT, end at Fri 2022-07-22 11:28:29 PDT. – Jul 22 11:28:29 gmthpc pbs_init.d[31632]: *** Error initializing the PBS dataservice
2 11:28:29 gmthpc pbs_init.d[31632]: Error details:
Jul 22 11:28:29 gmthpc pbs_init.d(316321: Creating the PBS Data Service…
Jul 22 11:28:29 gmthpc pbs init.d(31632]: Starting PBS Data Service…
Jul 22 11:28:29 gmthpc pbs_init.d(316321: pg_ctl: could not start server
Jul 22 11:28:29 gmthpc pbs_init.d(31632]: Examine the log output.
Jul 22 11:28:29 gmthpc pbs_init.d(31632]: Failed to start PBS Data Service
Jul 22 11:28:29 gmthpc pbs init.d[31632): Error starting PBS Data Service
Jul 22 11:28:29 gmthpc systemd[1]: Failed to start Portable Batch System.
– Subject: Unit pbs.service has failed
– Defined-By: systemd
– Support: systemd-devel Info Page

– Unit pbs.service has failed.

– The result is failed.
Jul 22 11:28:29 gmthpc systemd[1]: Unit pbs.service entered failed state.

Any help is appreciated, Kyle