# How to fix job stay queued problem?

**URL:** <https://community.openpbs.org/t/how-to-fix-job-stay-queued-problem/1711>\
**Category:** Users/Site Administrators\
**Created:** [July 24, 2019, 4:34am UTC](https://community.openpbs.org/t/how-to-fix-job-stay-queued-problem/1711 "2019-07-24T04:34:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 24, 2019, 7:17am UTC](https://community.openpbs.org/t/how-to-fix-job-stay-queued-problem/1711/2 "2019-07-24T07:17:36Z")

</div>

> [@tungxp](#):
>
> 07/24/2019 11:25:47;0080;Server@hpc;Req;?;Req Header bad, errno 104, dis error 7  
> 07/24/2019 11:25:47;0080;Server@hpc;Req;req\_reject;Reject reply code=15056, aux=0, type=0, from @hpc.private  
> 07/24/2019 11:25:47;0080;Server@hpc;Req;?;Req Header bad, errno 104, dis error 7  
> 07/24/2019 11:25:47;0080;Server@hpc;Req;req\_reject;Reject reply code=15056, aux=0, type=0, from @hpc.private

- The value of errno translates to “Connection reset by peer”. Suspect are something strange happening in the network or hostname resolution of the server . Maybe check for errors or dropped packets?
- protocol mis-match if you are using different versions of PBS Pro within your complex

> [@tungxp](#):
>
> PBS\_LEAF\_NAME=192.168.2.10  
> PBS\_SERVER=192.168.2.10

You do not have to use PBS\_LEAF\_NAME here, please remove it.  
PBS\_SERVER=\<hostname that is reverse address resolvable and same across all /etc/hosts of headnode and compute node \>

> [@Hostname issue setting up PBS Professional on CentOS 7](http://community.openpbs.org/t/hostname-issue-setting-up-pbs-professional-on-centos-7/1697/2):
>
> The value of PBS\_LEAF\_NAME should be the hostname of the interface over which you want PBS Pro to communicate, not the domain name. Unless you have multiple NICs, you should not need to set this value at all. Please try removing PBS\_LEAF\_NAME from /etc/pbs.conf and try starting PBS Pro.

> [@tungxp](#):
>
> #PBS -l nodes=1:ppn=1

This is old syntax, it is supported, better to switch to new syntax  
#PBS -l select=1:ncpus=1

---

_[View the full topic](https://community.openpbs.org/t/how-to-fix-job-stay-queued-problem/1711)._
