# Can not start pbs\_server (all other jobs are running)

**URL:** <https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048>\
**Category:** Users/Site Administrators\
**Created:** [March 23, 2022, 12:53pm UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048 "2022-03-23T12:53:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![thephysicist](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@thephysicist](https://community.openpbs.org/u/thephysicist)\
**Post date:** [March 23, 2022, 12:53pm UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/1 "2022-03-23T12:53:55Z")

</div>

I have installed pbs on a single node computer.

I run

> sudo /etc/init.d/pbs start

```auto
Starting PBS
/opt/pbs/sbin/pbs_comm ready (pid=336099), Proxy Name:my-workstation:17001, Threads:4
PBS comm
PBS mom
PBS sched
Connecting to PBS dataservice...connected to PBS dataservice@my-workstation
PBS server

```

One thing I notice is that here it says `my-workstation` but it is actually called `My-Workstation`.

Then

> sudo /etc/init.d/pbs start

```auto
pbs_server is not running
pbs_mom is pid 336109
pbs_sched is pid 336120
pbs_comm is 336099

```

The firewall is offline, I have added the static ip to /etc/hosts.

The content of /etc/pbs.conf is

> PBS\_SERVER=My-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

How can I get the server running?

edit: Recent (clean) server log:

```auto
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Log;Log opened
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;pbs_version=20.0.0
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;pbs_build=mach=N/A:security=N/A:configure_args=N/A
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;hostname=my-workstation;pbs_leaf_name=N/A;pbs_mom_node_name=N/A
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;ipv4 interface lo: localhost
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;ipv4 interface enp42s0: My-Workstation
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;ipv6 interface lo: ip6-loopback
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;ipv6 interface enp42s0: My-Workstation
03/23/2022 14:32:16;0006;Server@my-workstation;Fil;Server@my-workstation;Version 20.0.0, started, initialization type = 1
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;pbs_status_db exit code 1
03/23/2022 14:32:16;0002;Server@my-workstation;Svr;Server@my-workstation;Starting PBS dataservice
03/23/2022 14:32:19;0002;Server@my-workstation;Svr;Server@my-workstation;connected to PBS dataservice@my-workstation
03/23/2022 14:32:19;0086;Server@my-workstation;Svr;pbs_python_ext_quick_start_interpreter;--> Python Interpreter quick started, compiled with version:'3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0]' <--
03/23/2022 14:32:19;0086;Server@my-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'<--
03/23/2022 14:32:19;0086;Server@my-workstation;Svr;pbs_python_ext_quick_shutdown_interpreter;--> Stopping Python interpreter <--
03/23/2022 14:32:19;0d80;Server@my-workstation;TPP;Server@my-workstation(Main Thread);TPP authentication method = resvport
03/23/2022 14:32:19;0c06;Server@my-workstation;TPP;Server@my-workstation(Main Thread);TPP leaf node names = 130.83.24.92:15001,127.0.0.1:15001,130.83.24.92:15001
03/23/2022 14:32:19;0d80;Server@my-workstation;TPP;Server@my-workstation(Main Thread);Initializing TPP transport Layer
03/23/2022 14:32:19;0d80;Server@my-workstation;TPP;Server@my-workstation(Main Thread);Max files allowed = 16384
03/23/2022 14:32:19;0d80;Server@my-workstation;TPP;Server@my-workstation(Main Thread);TPP initialization done
03/23/2022 14:32:19;0d80;Server@my-workstation;TPP;Server@my-workstation(Main Thread);Connecting to pbs_comm My-Workstation:17001
03/23/2022 14:32:19;0c06;Server@my-workstation;TPP;Server@my-workstation(Thread 0);Thread ready
03/23/2022 14:32:19;0c06;Server@my-workstation;TPP;Server@my-workstation(Thread 0);Registering address 130.83.24.92:15001 to pbs_comm My-Workstation:17001
03/23/2022 14:32:19;0c06;Server@my-workstation;TPP;Server@my-workstation(Thread 0);Connected to pbs_comm My-Workstation:17001
03/23/2022 14:32:19;0002;Server@my-workstation;n/a;setup_env;read environment from /var/spool/pbs/pbs_environment
03/23/2022 14:32:19;0000;Server@my-workstation;Svr;Server@my-workstation;Supported authentication method: resvport
03/23/2022 14:32:19;0002;Server@my-workstation;Svr;Server@my-workstation;Stopping PBS dataservice

```

---

<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 25, 2022, 11:14am UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/2 "2022-03-25T11:14:59Z")

</div>

Please check and share the /var/spool/pbs/datastore/pg\_log  
after restarting pbs services one more time.

---

<div class="post-metadata">

**Author:** ![thephysicist](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@thephysicist](https://community.openpbs.org/u/thephysicist)\
**Post date:** [March 27, 2022, 7:59am UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/3 "2022-03-27T07:59:09Z")

</div>

Thanks for your reply, the output is:

> 2022-03-27 09:53:04.292 CEST [473827] LOG: database system was shut down at 2022-03-24 12:05:41 CET  
> 2022-03-27 09:53:04.296 CEST [473813] LOG: database system is ready to accept connections  
> 2022-03-27 09:53:07.360 CEST [473813] LOG: received fast shutdown request  
> 2022-03-27 09:53:07.366 CEST [473813] LOG: aborting any active transactions  
> 2022-03-27 09:53:07.367 CEST [473813] LOG: background worker “logical replication launcher” (PID 473833) exited with exit code 1  
> 2022-03-27 09:53:07.367 CEST [473828] LOG: shutting down  
> 2022-03-27 09:53:07.390 CEST [473813] LOG: database system is shut down  
> 2022-03-27 09:54:20.615 CEST [474266] LOG: database system was shut down at 2022-03-27 09:53:07 CEST  
> 2022-03-27 09:54:20.620 CEST [474253] LOG: database system is ready to accept connections  
> 2022-03-27 09:54:23.695 CEST [474253] LOG: received fast shutdown request  
> 2022-03-27 09:54:23.704 CEST [474253] LOG: aborting any active transactions  
> 2022-03-27 09:54:23.705 CEST [474253] LOG: background worker “logical replication launcher” (PID 474272) exited with exit code 1  
> 2022-03-27 09:54:23.705 CEST [474267] LOG: shutting down  
> 2022-03-27 09:54:23.725 CEST [474253] LOG: database system is shut down  
> 2022-03-27 09:58:16.556 CEST [474666] LOG: database system was shut down at 2022-03-27 09:54:23 CEST  
> 2022-03-27 09:58:16.561 CEST [474654] LOG: database system is ready to accept connections  
> 2022-03-27 09:58:19.642 CEST [474654] LOG: received fast shutdown request  
> 2022-03-27 09:58:19.651 CEST [474654] LOG: aborting any active transactions  
> 2022-03-27 09:58:19.652 CEST [474654] LOG: background worker “logical replication launcher” (PID 474672) exited with exit code 1  
> 2022-03-27 09:58:19.652 CEST [474667] LOG: shutting down  
> 2022-03-27 09:58:19.672 CEST [474654] LOG: database system is shut down

---

<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 28, 2022, 1:05pm UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/4 "2022-03-28T13:05:15Z")

</div>

Thank you @thephysicist for the logs, but they did not tell much about why it shut down.

> [@thephysicist](#):
>
> 2022-03-27 09:58:19.652 CEST [474654] LOG: background worker “logical replication launcher” (PID 474672) exited with exit code 1

> **[Thread: Curious - "logical replication launcher" (PID) existed with exit code 1](https://postgrespro.com/list/thread-id/2498034)**

Just to make sure:

1. selinux is disabled and firewalls allow port 15001 to 15009 and 17001
2. /etc/hosts have hostnames mapped to static IP address and DNS is resolvable

---

<div class="post-metadata">

**Author:** ![thephysicist](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@thephysicist](https://community.openpbs.org/u/thephysicist)\
**Post date:** [March 29, 2022, 8:12am UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/5 "2022-03-29T08:12:00Z")

</div>

I do not think selinux is installed. The commands `sestatus` and `getenforce` are unknown, I do not have the /etc/selinux/config file (only /etc/selinux/semanage.conf and that does not contain anything useful as far as I can tell).  
`sudo ufw status`  
returns  
`Status: inactive`.

/etc/hosts contains

> 127.0.0.1 localhost My-Workstation  
> 130.83.24.92 My-Workstation

The latter ip is static and pingable.

---

<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 29, 2022, 12:08pm UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/6 "2022-03-29T12:08:00Z")

</div>

Thank you @thephysicist .  
I am not sure about this issue, might be other community members might chime in eventually.  
Otherwise, If you can give a try to un-install and install it again, to see whether it made any difference.

---

<div class="post-metadata">

**Author:** ![thephysicist](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@thephysicist](https://community.openpbs.org/u/thephysicist)\
**Post date:** [March 29, 2022, 12:48pm UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/7 "2022-03-29T12:48:31Z")

</div>

@adarsh thank you for your time. I already tried reinstalling but that didn’t make any difference.

---

<div class="post-metadata">

**Author:** ![agrawalravi90](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@agrawalravi90](https://community.openpbs.org/u/agrawalravi90)\
**Post date:** [March 29, 2022, 5:14pm UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/8 "2022-03-29T17:14:50Z")

</div>

> [@thephysicist](#):
>
> One thing I notice is that here it says `my-workstation` but it is actually called `My-Workstation`

that’s a bit strange … can you verify that the ‘hostname’ command returns the same (“My-Workstation”)?

---

<div class="post-metadata">

**Author:** ![thephysicist](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@thephysicist](https://community.openpbs.org/u/thephysicist)\
**Post date:** [March 29, 2022, 5:23pm UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/9 "2022-03-29T17:23:33Z")

</div>

hostname returns it with correct capitalisation, i.e. My-Workstation.

---

<div class="post-metadata">

**Author:** ![boboshaq](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@boboshaq](https://community.openpbs.org/u/boboshaq)\
**Post date:** [May 26, 2026, 11:56am UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/10 "2026-05-26T11:56:03Z")

</div>

Hi! Have you managed to solve the problem above?

---

<div class="post-metadata">

**Author:** ![boboshaq](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@boboshaq](https://community.openpbs.org/u/boboshaq)\
**Post date:** [May 26, 2026, 1:07pm UTC](https://community.openpbs.org/t/can-not-start-pbs-server-all-other-jobs-are-running/3048/11 "2026-05-26T13:07:44Z")

</div>

The following steps resolved the issue: uninstalling PBS using “sudo make uninstall” and “sudo make distclean”, deleting the $pbshome directory, disabling UID-to-name mapping on the NFS array (NFS4), and recompiling and reinstalling OpenPBS. After completing these steps, the server began to start up.
