# How to resolve 'state = state-unknown,down' on MoM node

**URL:** <https://community.openpbs.org/t/how-to-resolve-state-state-unknown-down-on-mom-node/920>\
**Category:** Users/Site Administrators\
**Created:** [March 26, 2018, 6:01am UTC](https://community.openpbs.org/t/how-to-resolve-state-state-unknown-down-on-mom-node/920 "2018-03-26T06:01:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sijisaula](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@sijisaula](https://community.openpbs.org/u/sijisaula)\
**Post date:** [March 26, 2018, 6:01am UTC](https://community.openpbs.org/t/how-to-resolve-state-state-unknown-down-on-mom-node/920/1 "2018-03-26T06:01:12Z")

</div>

Hello PBS Pro Community,

I have a pretty simple network, with FQDNs pinging and resolving fine.

However, when I try adding a node to PBS pro, it is marked state unknown and is looks like this:

node0075.x.y  
Mom = node0075.x.y  
Port = 15002  
pbs\_version = unavailable  
ntype = PBS  
state = state-unknown,down  
resources\_available.host = node0075  
resources\_available.vnode = node0075.x.y  
resources\_assigned.accelerator\_memory = 0kb  
resources\_assigned.mem = 0kb  
resources\_assigned.naccelerators = 0  
resources\_assigned.ncpus = 0  
resources\_assigned.netwins = 0  
resources\_assigned.vmem = 0kb  
resv\_enable = True  
sharing = default\_shared

Any thoughts on how to resolve this?

Thanks,  
Siji

---

<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:** [March 26, 2018, 8:51am UTC](https://community.openpbs.org/t/how-to-resolve-state-state-unknown-down-on-mom-node/920/2 "2018-03-26T08:51:44Z")

</div>

1. Please check the firewall is not blocking the ports (15002 / 15003 )
2. Please check pbs mom services are running
3. Please add the node with the hostname of the node ( ssh into the compute node, type hostname , this name should be used in the qmgr -c " create node HOSTNAME-OF-THE-NODE" )
4. Check SELinux is disabled (and system is rebooted after disabling SELinux)

Thank you

---

<div class="post-metadata">

**Author:** ![sijisaula](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@sijisaula](https://community.openpbs.org/u/sijisaula)\
**Post date:** [March 26, 2018, 11:32pm UTC](https://community.openpbs.org/t/how-to-resolve-state-state-unknown-down-on-mom-node/920/3 "2018-03-26T23:32:37Z")

</div>

Thanks for the pointers but I still notice the same issue after simplifying my setup by using just /etc/hosts file. There is no firewall or SELinux and mom is up:

03/26/2018 18:17:09;0002;pbs\_mom;Svr;pbs\_mom;Mom pid = 33736 ready, using ports Server:15001 MOM:15002 RM:15003

/etc/pbs.conf on the mom node looks like this:  
PBS\_EXEC=/opt/pbs  
PBS\_HOME=/var/spool/pbs  
PBS\_START\_SERVER=0  
PBS\_START\_SCHED=0  
PBS\_MOM\_HOME=/var/spool/pbs  
PBS\_START\_MOM=1  
PBS\_START\_COMM=1  
PBS\_COMM\_THREADS=4  
PBS\_SERVER=clmgmt-01  
PBS\_SCP=/usr/bin/scp  
PBS\_CORE\_LIMIT=unlimited  
~

And /etc/pbs.conf on the server node looks like this:  
PBS\_SERVER=clmgmt-01  
PBS\_START\_SERVER=1  
PBS\_START\_SCHED=1  
PBS\_START\_COMM=1  
PBS\_START\_MOM=0  
PBS\_EXEC=/opt/pbs  
PBS\_HOME=/var/spool/pbs  
PBS\_CORE\_LIMIT=unlimited  
PBS\_SCP=/bin/scp  
PBS\_LOCALLOG=1  
PBS\_SYSLOG=2  
PBS\_SYSLOGSEVR=7  
~

Do you see something I might be missing? Or does PBS have any probing tools that might help identify the issue?

---

<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:** [March 27, 2018, 7:00am UTC](https://community.openpbs.org/t/how-to-resolve-state-state-unknown-down-on-mom-node/920/4 "2018-03-27T07:00:32Z")

</div>

Please change the /etc/pbs.conf on the compute node to below and restart the pbs mom services

> [@sijisaula](#):
>
> PBS\_EXEC=/opt/pbs  
> PBS\_HOME=/var/spool/pbs  
> PBS\_START\_SERVER=0  
> PBS\_START\_SCHED=0  
> PBS\_MOM\_HOME=/var/spool/pbs  
> PBS\_START\_MOM=1  
> PBS\_START\_COMM=0  
> PBS\_SERVER=clmgmt-01  
> PBS\_RCP=/bin/false  
> PBS\_SCP=/usr/bin/scp  
> PBS\_RSHCOMMAND=/usr/bin/ssh  
> PBS\_CORE\_LIMIT=unlimited

---

<div class="post-metadata">

**Author:** ![sijisaula](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@sijisaula](https://community.openpbs.org/u/sijisaula)\
**Post date:** [March 27, 2018, 1:55pm UTC](https://community.openpbs.org/t/how-to-resolve-state-state-unknown-down-on-mom-node/920/5 "2018-03-27T13:55:08Z")

</div>

Thanks for the tip - made the modification but it didn’t resolve the issue.

Here’s what my mom config looks like:  
[root@node0075 ~]# cat /var/spool/pbs/mom\_priv/config  
$clienthost clmgmt-01

There isn’t any server\_priv/config…should there be one?

---

<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:** [March 27, 2018, 2:08pm UTC](https://community.openpbs.org/t/how-to-resolve-state-state-unknown-down-on-mom-node/920/6 "2018-03-27T14:08:18Z")

</div>

Server hostname is present in the /etc/pbs.conf and mom\_priv/config and not in other locations.

Sorry to see that it is not working for you, the deployment is quite straight forward.

Could you please check (via telnet) ports 15001 to 15009 and 17001 is open between headnode and compute node ?

Please share the output of the below commands ( run them on server node and compute node separately)

1. cat /etc/hosts
2. ifconfig
3. pbs\_hostn -v \< server hostname \>
4. pbs\_hostn -v \< compute node hostname \>
5. ping server-hostname
6. ping computenode-hostname
7. netstat -tunap | grep pbs
8. hostname
