PBS started but not running


I recently installed the OpenPBS to my Ubuntu workstation and ran the command qstat to get the following output:

Connection refused
qstat: cannot connect to server MYHOSTNAME (errno=111)

So I search to tackle this problem and read that I should check the pbs status as follows:

user@myhost$ sudo /etc/init.d/pbs start
PBS comm
/opt/pbs/sbin/pbs_comm ready (pid=56408), Proxy Name:myhostname:17001, Threads:4
PBS mom
PBS sched
pgrep: cannot allocate 4611686018427387903 bytes
Connecting to PBS dataservice...connected to PBS dataservice@MYHOSTNAME
Licenses valid for 10000000 Floating hosts
PBS server

And checked the pbs status as follows:

user@myhost$ sudo /etc/init.d/pbs status
pbs_server is not running
pbs_mom is not running
pbs_sched is not running
pbs_comm is not running

It seems that the pbs is not working properly.
Is there something that I’ve missed?
Why my pbs start command returns that pgrep could not allocate the memory?

Thanks for your help.


I am not sure, might be bug https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1874824
Could you please your OS details (distribution and version )

Thanks for your reply.

Here’s my system info.

  • OS: Ubuntu 20.04.1 LTS
  • Kernel: 5.4.0-48-generic

I’ll check the linked page.

Thank you and have a nice day.