# When I start PBS, only pbs\_sched runs

**URL:** <https://community.openpbs.org/t/when-i-start-pbs-only-pbs-sched-runs/3082>\
**Category:** Users/Site Administrators\
**Created:** [May 4, 2022, 7:35am UTC](https://community.openpbs.org/t/when-i-start-pbs-only-pbs-sched-runs/3082 "2022-05-04T07:35:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Young](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/young/32/523_2.png) [@Young](https://community.openpbs.org/u/Young)\
**Post date:** [May 4, 2022, 7:35am UTC](https://community.openpbs.org/t/when-i-start-pbs-only-pbs-sched-runs/3082/1 "2022-05-04T07:35:12Z")

</div>

I followed INSTALL from [openpbs/INSTALL at master · openpbs/openpbs · GitHub](https://github.com/openpbs/openpbs/blob/master/INSTALL), and I got some troubles on “13. Start the PBS services.”

I add some information about my situation.

OS: Ubuntu 20.04  
PBS version: 20.0.0

**/etc/pbs.conf**  
PBS\_SERVER=orum-workstation  
PBS\_START\_SERVER=1  
PBS\_START\_SCHED=1  
PBS\_START\_COMM=1  
PBS\_START\_MOM=1  
PBS\_EXEC=/opt/pbs  
PBS\_HOME=/var/spool/pbs  
PBS\_CORE\_LIMIT=unlimited  
PBS\_SCP=/usr/bin/scp

**/etc/hosts**  
127.0.0.1 localhost  
127.0.1.1 orum-workstation

**ifconfig**  
eno1: flags=4163\<UP,BROADCAST,RUNNING,MULTICAST\> mtu 1500  
inet 192.168.0.140 netmask 255.255.255.0 broadcast 192.168.0.255  
inet6 fe80::fa0e:726d:f369:612d prefixlen 64 scopeid 0x20  
ether 74:86:e2:11:b1:f9 txqueuelen 1000 (Ethernet)  
RX packets 583598 bytes 532536173 (532.5 MB)  
RX errors 0 dropped 14 overruns 0 frame 0  
TX packets 171668 bytes 17640020 (17.6 MB)  
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0  
device interrupt 16 memory 0x92f00000-92f20000

lo: flags=73\<UP,LOOPBACK,RUNNING\> mtu 65536  
inet 127.0.0.1 netmask 255.0.0.0  
inet6 ::1 prefixlen 128 scopeid 0x10  
loop txqueuelen 1000 (Local Loopback)  
RX packets 468477 bytes 40161122 (40.1 MB)  
RX errors 0 dropped 0 overruns 0 frame 0  
TX packets 468477 bytes 40161122 (40.1 MB)  
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

**ping -c 5 orum-workstation**  
PING orum-workstation (127.0.1.1) 56(84) bytes of data.  
64 bytes from orum-workstation (127.0.1.1): icmp\_seq=1 ttl=64 time=0.024 ms  
64 bytes from orum-workstation (127.0.1.1): icmp\_seq=1 ttl=64 time=0.038 ms  
64 bytes from orum-workstation (127.0.1.1): icmp\_seq=1 ttl=64 time=0.028 ms  
64 bytes from orum-workstation (127.0.1.1): icmp\_seq=1 ttl=64 time=0.037 ms  
64 bytes from orum-workstation (127.0.1.1): icmp\_seq=1 ttl=64 time=0.031 ms

— orum-workstation ping statistics —  
5 packets transmitted, 5 received, 0% packet loss, time 4086ms  
rtt min/avg/max/mdev = 0.024/0.031/0.038/0.005 ms

**hostname / hostname -A**  
orum-workstation

**hostname -i**  
127.0.1.1

\*\*sudo /etc/init.d/pbs start""  
Starting PBS  
PBS comm  
/opt/pbs/sbin/pbs\_comm ready (pid=275492), Proxy Name:orum-workstation:17001, Threads:4  
PBS mom  
PBS sched  
/opt/pbs/sbin/pbs\_ds\_systemd: 43: [: xdegraded: unexpected operator  
Connecting to PBS dataservice…connected to PBS dataservice@orum-workstation  
PBS server

**sudo /etc/init.d/pbs status**  
pbs\_server is not running  
pbs\_mom is not running  
pbs\_sched is pid 275518  
pbs\_comm is not running

**ps -ef | grep pbs\_**  
root 275518 1943 0 16:28 ? 00:00:00 /opt/pbs/sbin/pbs\_sched

**/var/spool/pbs/server\_logs/20220504**  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Log;Log opened  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;pbs\_version=20.0.0  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;pbs\_build=mach=N/A:security=N/A:configure\_args=N/A  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;hostname=orum-workstation;pbs\_leaf\_name=N/A;pbs\_mom\_node\_name=N/A  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;ipv4 interface lo: localhost  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;ipv4 interface eno1: orum-workstation  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;ipv6 interface lo: ip6-loopback  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;ipv6 interface eno1: orum-workstation  
05/04/2022 16:28:48;0006;Server@orum-workstation;Fil;Server@orum-workstation;Version 20.0.0, started, initialization type = 1  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;pbs\_status\_db exit code 1  
05/04/2022 16:28:48;0002;Server@orum-workstation;Svr;Server@orum-workstation;Starting PBS dataservice  
05/04/2022 16:28:51;0002;Server@orum-workstation;Svr;Server@orum-workstation;connected to PBS dataservice@orum-workstation  
05/04/2022 16:28:51;0086;Server@orum-workstation;Svr;pbs\_python\_ext\_quick\_start\_interpreter;–\> Python Interpreter quick started, compiled with version:'3.9.5 (default, Nov 23 2021, 15:27:38)  
05/04/2022 16:28:51;0086;Server@orum-workstation;Svr;pbs\_python\_ext\_quick\_start\_interpreter;–\> Inserted Altair PBS Python modules dir ‘/opt/pbs/lib/python/altair’ ‘/opt/pbs/lib/python/altair/pbs/v1’\<–  
05/04/2022 16:28:51;0086;Server@orum-workstation;Svr;pbs\_python\_ext\_quick\_shutdown\_interpreter;–\> Stopping Python interpreter ←   
05/04/2022 16:28:51;0001;Server@orum-workstation;Svr;Server@orum-workstation;main, Could not find any usable IP address for host orum-workstation  
05/04/2022 16:28:51;0002;Server@orum-workstation;Svr;Server@orum-workstation;Stopping PBS dataservice

**pbs\_hostn -v $PBS\_SERVER**  
primary name: orum-workstation (from gethostbyname())  
aliases: -none-  
address length: 4 bytes  
address: 127.0.1.1 (16842879 dec) name: orum-workstation

**echo “sleep 100” | qsub**  
Connection refused  
qstat: cannot connect to server orum-workstation (errno=15010)

**qstat**  
Connection refused  
qstat: cannot connect to server orum-workstation (errno=15010)

**pbsnodes -a**  
Connection refused  
pbsnodes: cannot connect to server orum-workstation, error=15010

---

<div class="post-metadata">

**Author:** ![Young](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/young/32/523_2.png) [@Young](https://community.openpbs.org/u/Young)\
**Post date:** [May 9, 2022, 8:27am UTC](https://community.openpbs.org/t/when-i-start-pbs-only-pbs-sched-runs/3082/2 "2022-05-09T08:27:12Z")

</div>

How can I treat “Could not find any usable IP address for host” in the server\_logs?

---

<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:** [May 10, 2022, 9:09am UTC](https://community.openpbs.org/t/when-i-start-pbs-only-pbs-sched-runs/3082/3 "2022-05-10T09:09:15Z")

</div>

Please check the below:

1. DNS and /etc/hosts should be working and same across all the nodes
2. static IP and hostname is a must for all the systems in the PBS clusters
3. SELinux disabled and system restarted
4. firewall allowing ports 15001 to 15007 and 17001
5. NTP configured

---

<div class="post-metadata">

**Author:** ![Young](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/young/32/523_2.png) [@Young](https://community.openpbs.org/u/Young)\
**Post date:** [May 11, 2022, 1:28am UTC](https://community.openpbs.org/t/when-i-start-pbs-only-pbs-sched-runs/3082/4 "2022-05-11T01:28:22Z")

</div>

I only use a single node, and do I have to consider other things?

I checked your list and there is no problem. @adarsh

---

<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:** [May 11, 2022, 6:25am UTC](https://community.openpbs.org/t/when-i-start-pbs-only-pbs-sched-runs/3082/5 "2022-05-11T06:25:47Z")

</div>

Please check this link

> [@Job stack in queue after fresh install | Permission error 15008](https://community.openpbs.org/t/job-stack-in-queue-after-fresh-install-permission-error-15008/2466/2):
>
> Please remove this loop back address assigned to fermi. Is 192.168.0.100 static IP address assigned to fermi ? Please make it static and resolvable (forward and reverse ). # pbs\_hostn -v fermi Also, please make sure 15001 to 15009 and 17001 are open for communication for all the pbs\_ daemons. disable firewall, disable SELinux , reboot the system if you disable the SELinux now set it to unlimited instead of 16 and restart the pbs services Hope this will resolve the issue. Again, thanks …
