# Pbs service is not starting on compute node after installation

**URL:** <https://community.openpbs.org/t/pbs-service-is-not-starting-on-compute-node-after-installation/3438>\
**Category:** Users/Site Administrators\
**Created:** [February 7, 2023, 2:19pm UTC](https://community.openpbs.org/t/pbs-service-is-not-starting-on-compute-node-after-installation/3438 "2023-02-07T14:19:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shravan](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@shravan](https://community.openpbs.org/u/shravan)\
**Post date:** [February 7, 2023, 2:19pm UTC](https://community.openpbs.org/t/pbs-service-is-not-starting-on-compute-node-after-installation/3438/1 "2023-02-07T14:19:30Z")

</div>

Hi ,  
Some one please help me on the below error. when i try to start pbs on compute node throwing below erro

[root@usflmia-xs01 ~]# /etc/init.d/pbs start  
Starting PBS  
pbs\_mom: Operation not permitted (1) in chk\_file\_sec, Security violation “/1a/scratch” resolves to “/1a/scratch”  
pbs\_mom: parse\_config, config[3] command “$jobdir\_root /1a/scratch” failed, aborting  
/opt/pbs/sbin/pbs\_mom: config file(s) parsing failed  
pbs\_mom startup failed, exit 1 aborting.  
[root@usflmia-xs01 ~]#

Below is configuration file  
[root@usflmia-xs01 ~]# cat /var/spool/pbs/mom\_priv/config  
$clienthost usmina09  
$restrict\_user\_maxsysid 2999  
$jobdir\_root /1a/scratch  
$usecp \*:/1a/staging/ /1a/staging/  
$usecp \*:/home\_local/ /home\_local/  
$restrict\_user\_maxsysid 999  
[root@usflmia-xs01 ~]#

---

<div class="post-metadata">

**Author:** ![dtalcott](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/dtalcott/32/410_2.png) [@dtalcott](https://community.openpbs.org/u/dtalcott)\
**Post date:** [February 7, 2023, 10:38pm UTC](https://community.openpbs.org/t/pbs-service-is-not-starting-on-compute-node-after-installation/3438/2 "2023-02-07T22:38:12Z")

</div>

What are the modes on /1a/scratch? They should be 1777 (drwxrwxrwt).

Also, depending on the version of PBS, if /1a/scratch is a shared directory (e.g., NFS), you should use

`$jobdir_root /1a/scratch/ shared`

---

<div class="post-metadata">

**Author:** ![shravan](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@shravan](https://community.openpbs.org/u/shravan)\
**Post date:** [April 5, 2023, 9:00am UTC](https://community.openpbs.org/t/pbs-service-is-not-starting-on-compute-node-after-installation/3438/3 "2023-04-05T09:00:04Z")

</div>

> [@shravan](#):
>
> /etc/init.d/pbs start

Hi Some one please help on below issue. Ater installing pbs pro 2021. while starting the service getting below errors

[root@blcl3002 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.

* * *

/opt/pbs/bin/qstat: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory  
\*\*\* Could not obtain PBS version from qstat  
[root@blcl3002 pbs]#

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [April 5, 2023, 9:43am UTC](https://community.openpbs.org/t/pbs-service-is-not-starting-on-compute-node-after-installation/3438/4 "2023-04-05T09:43:34Z")

</div>

> [@shravan](#):
>
> libcrypto.so.10

Please install compat-openssl

---

<div class="post-metadata">

**Author:** ![shravan](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@shravan](https://community.openpbs.org/u/shravan)\
**Post date:** [April 12, 2023, 8:59am UTC](https://community.openpbs.org/t/pbs-service-is-not-starting-on-compute-node-after-installation/3438/5 "2023-04-12T08:59:26Z")

</div>

Hi Adarsh,

Thanks for your help … After installing PBS pro and adding nodes to the cluster .  
While submitting jobs. The jobs are waiting in the queue and getting error “No available resources on nodes”

Here is the output  
[root@blcl3000 ~]# qstat -ans

blcl3000:  
Req’d Req’d Elap  
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time

* * *

61.blcl3000 localad\* workq STDIN – 1 10 – – Q –  
–  
Not Running: No available resources on nodes … Please help me on the issue .  
[root@blcl3000 ~]# tracejob 61.blcl3000

Job: 61.blcl3000

04/12/2023 14:23:20 L Considering job to run  
04/12/2023 14:23:20 S Job Queued at request of [localadmin@blcl3000.aptiv.com](mailto:localadmin@blcl3000.aptiv.com), owner = [localadmin@blcl3000.aptiv.com](mailto:localadmin@blcl3000.aptiv.com), job name = STDIN, queue = workq  
04/12/2023 14:23:20 S Job Modified at request of [Scheduler@blcl3000.aptiv.com](mailto:Scheduler@blcl3000.aptiv.com)  
04/12/2023 14:23:20 L No available resources on nodes  
04/12/2023 14:23:20 S enqueuing into workq, state Q hop 1  
04/12/2023 14:23:20 A user=localadmin group=hp\_euc\_admin project=\_pbs\_project\_default jobname=STDIN queue=workq ctime=1681289600 qtime=1681289600 etime=1681289600  
Resource\_List.ncpus=10 Resource\_List.nodect=1 Resource\_List.place=free Resource\_List.select=1:ncpus=10  
[root@blcl3000 ~]#

[root@blcl3000 ~]# pbsnodes -av  
blcl3001  
Mom = [blcl3001.aptiv.com](http://blcl3001.aptiv.com)  
Port = 15002  
pbs\_version = 2022.1.1.20220926110806  
ntype = PBS  
state = free  
pcpus = 48  
resources\_available.arch = linux  
resources\_available.host = blcl3001  
resources\_available.mem = 1054141352kb  
resources\_available.ncpus = 48  
resources\_available.vnode = blcl3001  
resources\_assigned.accelerator\_memory = 0kb  
resources\_assigned.hbmem = 0kb  
resources\_assigned.mem = 0kb  
resources\_assigned.naccelerators = 0  
resources\_assigned.ncpus = 0  
resources\_assigned.vmem = 0kb  
resv\_enable = True  
sharing = default\_shared  
last\_state\_change\_time = Wed Apr 12 14:22:33 2023  
server\_instance\_id = [blcl3000.aptiv.com:15001](http://blcl3000.aptiv.com:15001)

[root@blcl3000 ~]#

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [April 12, 2023, 6:39pm UTC](https://community.openpbs.org/t/pbs-service-is-not-starting-on-compute-node-after-installation/3438/6 "2023-04-12T18:39:13Z")

</div>

The node is not licensed , hence jobs are not running on that node.  
Please share the output of qstat -Bf
