Connection Refused (errno=15010)

Hello,

I recently installed openpbs on my ubuntu 20.04 workstation.
There was no error while installing openpbs and start pbs service.
But I got following error when I type ‘qstat -Bf’ or ‘pbsnodes -a’:

~#qstat -Bf
Connection refused
pbsnodes: cannot connect to server mustang, error=15010

Here are some outputs:

~# /etc/init.d/pbs status
pbs_server is pid 23483
pbs_mom is pid 3178
pbs_sched is pid 3191
pbs_comm is 3162

~# ps -ef |grep pbs_
root 3162 1 0 15:10 ? 00:00:00 /opt/pbs/sbin/pbs_comm
root 3178 1 0 15:10 ? 00:00:00 /opt/pbs/sbin/pbs_mom
root 3191 1 0 15:10 ? 00:00:00 /opt/pbs/sbin/pbs_sched
root 23901 1 0 15:35 ? 00:00:00 /opt/pbs/sbin/pbs_server.bin
root 23904 1 0 15:35 ? 00:00:00 /opt/pbs/sbin/pbs_ds_monitor monitor
root 23931 23901 0 15:35 ? 00:00:00 sh -c /opt/pbs/sbin/pbs_ds_systemd
root 23932 23931 0 15:35 ? 00:00:00 /bin/sh /opt/pbs/sbin/pbs_ds_systemd

~# sestatus
SELinux status: disabled

~# firewall-cmd --list-ports
15001/tcp 22/tcp 80/tcp 15002/tcp 15003/tcp 15004/tcp 15005/tcp 15006/tcp 15007/tcp 15008/tcp 15009/tcp 17001/tcp

~# tail /var/spool/pbs/server_logs/20220930
09/30/2022 15:10:37;0002;Server@mustang;Svr;Log;Log opened
09/30/2022 15:10:37;0002;Server@mustang;Svr;Server@mustang;pbs_version=20.0.0
09/30/2022 15:10:37;0002;Server@mustang;Svr;Server@mustang;pbs_build=mach=N/A:security=N/A:configure_args=N/A
09/30/2022 15:10:37;0002;Server@mustang;Svr;Server@mustang;hostname=mustang;pbs_leaf_name=N/A;pbs_mom_node_name=N/A
09/30/2022 15:10:37;0002;Server@mustang;Svr;Server@mustang;ipv4 interface lo: ip6-loopback
09/30/2022 15:10:37;0002;Server@mustang;Svr;Server@mustang;ipv6 interface lo: ip6-loopback
09/30/2022 15:10:37;0006;Server@mustang;Fil;Server@mustang;Version 20.0.0, started, initialization type = 1
09/30/2022 15:10:38;0002;Server@mustang;Svr;Server@mustang;pbs_status_db exit code 1
09/30/2022 15:10:38;0002;Server@mustang;Svr;Server@mustang;Starting PBS dataservice
09/30/2022 15:10:50;0002;Server@mustang;Svr;Server@mustang;Starting PBS dataservice
09/30/2022 15:11:02;0002;Server@mustang;Svr;Server@mustang;pbs_status_db exit code 1
09/30/2022 15:11:02;0002;Server@mustang;Svr;Server@mustang;Starting PBS dataservice
09/30/2022 15:11:15;0002;Server@mustang;Svr;Server@mustang;Starting PBS dataservice
09/30/2022 15:11:27;0002;Server@mustang;Svr;Server@mustang;pbs_status_db exit code 1
09/30/2022 15:11:27;0002;Server@mustang;Svr;Server@mustang;Starting PBS dataservice
09/30/2022 15:11:43;0002;Server@mustang;Svr;Server@mustang;Starting PBS dataservice
09/30/2022 15:11:54;0002;Server@mustang;Svr;Server@mustang;pbs_status_db exit code 1
09/30/2022 15:11:54;0002;Server@mustang;Svr;Server@mustang;Starting PBS dataservice
09/30/2022 15:12:11;0002;Server@mustang;Svr;Server@mustang;Starting PBS dataservice
09/30/2022 15:12:22;0002;Server@mustang;Svr;Server@mustang;pbs_status_db exit code 1

Please advice me how to resolve this issue.

Thanks in advance
CS

You need to figure out why the PBS database is not starting. For me, there was a permissions issue fixed by

chmod 1777 /var/run/postgresql/

This has to be done on every reboot before starting PBS.

Thanks for the comment.
However, it doesn’t work for me.

Hi,

I’m facing the same errno 15010. Just want to know if you are facing the same.

Here’s my log:

server2@ubuntu:~/openpbs/openpbs_22.05.11.ubuntu_18.04$ sudo /etc/init.d/pbs status
pbs_server is not running
pbs_mom is not running
pbs_sched is pid 4385
pbs_comm is not running

When I try to start or restart the service, I get the below:

server2@ubuntu:~/openpbs/openpbs_22.05.11.ubuntu_18.04$ sudo /etc/init.d/pbs restart 
Restarting PBS
Stopping PBS
PBS sched - was pid: 4385
Waiting for shutdown to complete
Starting PBS
/opt/pbs/sbin/pbs_comm ready (pid=13408), Proxy Name:ubuntu:17001, Threads:4
PBS comm
PBS mom
PBS sched
-su: 1: /etc/profile.d/10-budgie-desktop-common.sh: [[: not found
-su: 1: /etc/profile.d/10-budgie-desktop.sh: [[: not found
-su: 1: /etc/profile.d/10-budgie-desktop-common.sh: [[: not found
-su: 1: /etc/profile.d/10-budgie-desktop.sh: [[: not found
/opt/pbs/sbin/pbs_ds_systemd: 43: [: xdegraded: unexpected operator
/opt/pbs/sbin/pbs_ds_systemd: 66: /opt/pbs/sbin/pbs_ds_systemd: cannot create /sys/fs/cgroup/systemd/system.slice/pbs.service/tasks: Directory nonexistent
/opt/pbs/sbin/pbs_ds_systemd: 70: /opt/pbs/sbin/pbs_ds_systemd: cannot create /sys/fs/cgroup/systemd/system.slice/pbs.service/tasks: Directory nonexistent
/opt/pbs/sbin/pbs_ds_systemd: 70: /opt/pbs/sbin/pbs_ds_systemd: cannot create /sys/fs/cgroup/systemd/system.slice/pbs.service/tasks: Directory nonexistent
/opt/pbs/sbin/pbs_ds_systemd: 70: /opt/pbs/sbin/pbs_ds_systemd: cannot create /sys/fs/cgroup/systemd/system.slice/pbs.service/tasks: Directory nonexistent
/opt/pbs/sbin/pbs_ds_systemd: 70: /opt/pbs/sbin/pbs_ds_systemd: cannot create /sys/fs/cgroup/systemd/system.slice/pbs.service/tasks: Directory nonexistent
/opt/pbs/sbin/pbs_ds_systemd: 70: /opt/pbs/sbin/pbs_ds_systemd: cannot create /sys/fs/cgroup/systemd/system.slice/pbs.service/tasks: Directory nonexistent
/opt/pbs/sbin/pbs_ds_systemd: 70: /opt/pbs/sbin/pbs_ds_systemd: cannot create /sys/fs/cgroup/systemd/system.slice/pbs.service/tasks: Directory nonexistent
/opt/pbs/sbin/pbs_ds_systemd: 70: /opt/pbs/sbin/pbs_ds_systemd: cannot create /sys/fs/cgroup/systemd/system.slice/pbs.service/tasks: Directory nonexistent
-su: 1: /etc/profile.d/10-budgie-desktop-common.sh: [[: not found
-su: 1: /etc/profile.d/10-budgie-desktop.sh: [[: not found
Connecting to PBS dataservice...connected to PBS dataservice@ubuntu
PBS server
server2@ubuntu:~/openpbs/openpbs_22.05.11.ubuntu_18.04$ sudo /etc/init.d/pbs status
pbs_server is pid 13590
pbs_mom is not running
pbs_sched is pid 13435
pbs_comm is not running
server2@ubuntu:~/openpbs/openpbs_22.05.11.ubuntu_18.04$ sudo /etc/init.d/pbs status
pbs_server is not running
pbs_mom is not running
pbs_sched is pid 13435
pbs_comm is not running

Please help.

Hey I am facing the same issue and wondered if there were other solutions. I have installed openpbs on ubuntu 20.04. I have managed to get so far and now have nearly all the services running apart from the pbsserver. I had an issue with the IP, which i resolved, but now I am stuck.

The logs seem to suggest everything is okay, but doesnt start. I think thats also the reason when i run pbsnodes -a it comes back with this pbsnodes: cannot connect to server pbshost, error=15010 as the server isnt actually running.

sudo /etc/init.d/pbs status
pbs_server is not running
pbs_mom is pid 5551
pbs_sched is pid 5568
pbs_comm is 5540

07/07/2023 09:46:02;0002;Server@pbshost;Svr;Log;Log opened
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;pbs_version=23.06.06
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;pbs_build=mach=N/A:security=N/A:configure_args=N/A
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;hostname=pbshost;pbs_leaf_name=N/A;pbs_mom_node_name=N/A
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;ipv4 interface lo: ip6-loopback
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;ipv4 interface enp212s0: pbshost
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;ipv6 interface lo: ip6-loopback
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;ipv6 interface enp212s0: pacific04
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;ipv6 interface enp212s0: pacific04
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;ipv6 interface enp212s0: pacific04
07/07/2023 09:46:02;0006;Server@pbshost;Fil;Server@pbshost;Version 23.06.06, started, initialization type = 1
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;pbs_status_db exit code 1
07/07/2023 09:46:02;0002;Server@pbshost;Svr;Server@pbshost;Starting PBS dataservice
07/07/2023 09:46:05;0002;Server@pbshost;Svr;Server@pbshost;connected to PBS dataservice@pbshost
07/07/2023 09:46:05;0d80;Server@pbshost;TPP;Server@pbshost(Main Thread);TPP authentication method = resvport
07/07/2023 09:46:05;0c06;Server@pbshost;TPP;Server@pbshost(Main Thread);TPP leaf node names = 192.168.1.221:15001,127.0.0.1:15001,192.168.1.221:15001
07/07/2023 09:46:05;0d80;Server@pbshost;TPP;Server@pbshost(Main Thread);Initializing TPP transport Layer
07/07/2023 09:46:05;0d80;Server@pbshost;TPP;Server@pbshost(Main Thread);Max files allowed = 16384
07/07/2023 09:46:05;0d80;Server@pbshost;TPP;Server@pbshost(Main Thread);TPP initialization done
07/07/2023 09:46:05;0d80;Server@pbshost;TPP;Server@pbshost(Main Thread);Connecting to pbs_comm pbshost:17001
07/07/2023 09:46:05;0c06;Server@pbshost;TPP;Server@pbshost(Thread 0);Thread ready
07/07/2023 09:46:05;0c06;Server@pbshost;TPP;Server@pbshost(Thread 0);Registering address 192.168.1.221:15001 to pbs_comm pbshost:17001
07/07/2023 09:46:05;0c06;Server@pbshost;TPP;Server@pbshost(Thread 0);Connected to pbs_comm pbshost:17001
07/07/2023 09:46:05;0002;Server@pbshost;n/a;setup_env;read environment from /var/spool/pbs/pbs_environment
07/07/2023 09:46:05;0000;Server@pbshost;Svr;Server@pbshost;Supported authentication method: resvport
07/07/2023 09:46:05;0002;Server@pbshost;Svr;Server@pbshost;Stopping PBS dataservice

Hello, I have the same problem, have you still not found a solution?