Observed that after pbs installation ,pbs is not getting started with below error
[root@testvm1 lovelyk]# /etc/init.d/pbs restart
Waiting for shutdown to complete
PBS Home directory /var/spool/pbs needs updating.
Running /opt/pbs/libexec/pbs_habitat to update it.
Error initializing the PBS dataservice
Creating the PBS Data Service...
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default text search configuration will be set to "english".
initdb: could not access directory "/var/spool/pbs/datastore": Permission denied
Error creating PBS datastore
Detail logs of test and failure observed has been attached in txt file pbs_start_failure_OSS