https://medium.com/@anarmammadli/how-to-install-openpbs-20-0-1-on-ubuntu-b1cc62cfb0ec
pbs_serverdoesn't runpostgresqldoesn't run- Similar issues
It looks like OpenPBS not work with localhost. So the workaroud is to create a dedicated host pbshost in /etc/hosts with the real IP, e.g
192.168.1.219 pbshostAnd then you should change the /etc/pbs.conf to set PBS_SERVER=pbshost
Then you need to stop openpbs, and remove the /var/spool/pbs directory, then run sudo /opt/pbs/libexec/pbs_postinstall again.
Restart your server, then everything will be fine.