Qstat -B : connection refused. qstat cannot connect to server

Hello everyone,

I am new at PBSPro. To installed PBS Pro I followed the instructions at https://github.com/PBSPro/pbspro/blob/release_19_1_branch/INSTALL

All went well except the last step which is to run a PBS Pro command:
$ qstat -B

The error message says:
Connection refused

qstat: cannot connect to server eric9020-optiplex (errno=111)

How can i fix this issue?

Thank you

Hi,

Welcome to the community.

Can you try running “sudo /etc/init.d/pbs status” and tell me what it says?

Thanks,
Ravi

Thank you, Ravi!

Here is the output:
pbs_server is pid 1741

pbs_mom is pid 1442

pbs_sched is pid 1487

pbs_comm is 1374

Eric

@legio06

  1. please check the firewall
  2. please check the dns / hosts file
  3. install strace and try "strace -o qstat.out qstat " , this qstat.out would give you some information

Sorry for the delay in responding. I found the issue: the pbs_iff and pbs_rcp had the wrong permissions

2 Likes