I am getting failed to acquire lock problem.
Someone in the forum had a similar problem and they had corrected it.
The suggested solutions are:- 1.To clean /var folder if it is full(My /var folder is only 74% full)
2.Few lines be added in pbspro/sbin/pbs_dataservice to check the ownership of /var/run/postgresql.
if it is different from the database user defined in /var/spool/pbspro/server_priv/db_user, the ownership should be changed accordingly.(I don’t have postgresql directory created in /var/run)
Here is what I am getting-
[root@host1 datastore]# service pbs restart
Restarting PBS
Stopping PBS
PBS mom - was pid: 117648
PBS sched - was pid: 117662
PBS comm - was pid: 117614
Waiting for shutdown to complete
Starting PBS
PBS comm
/opt/pbs/sbin/pbs_comm ready (pid=119554),Threads:4
PBS mom
PBS sched
Connecting to PBS dataservice…Failed to start PBS dataservice:[Failed to acquire lock on /var/spool/pbs/datastore/pbs_dblock. Lock seems to be held by pid: 119947 running on host: host1 cannot start]
.Failed to start PBS dataservice:[Failed to acquire lock on /var/spool/pbs/datastore/pbs_dblock. Lock seems to be held by pid: 119947 running on host: host1 - cannot start]
.Failed to start PBS dataservice:[Failed to acquire lock on /var/spool/pbs/datastore/pbs_dblock. Lock seems to be held by pid: 119947 running on host: host1- cannot start]
.Failed to start PBS dataservice:[Failed to acquire lock on /var/spool/pbs/datastore/pbs_dblock. Lock seems to be held by pid: 119947 running on host: host1 - cannot start]
continuing in background.
PBS server
Please help me.