# Jobs stuck in queue. Scheduler connecting issues

**URL:** <https://community.openpbs.org/t/jobs-stuck-in-queue-scheduler-connecting-issues/3873>\
**Category:** Users/Site Administrators\
**Created:** [May 17, 2024, 1:30pm UTC](https://community.openpbs.org/t/jobs-stuck-in-queue-scheduler-connecting-issues/3873 "2024-05-17T13:30:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alexis.cousein](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/alexis.cousein/32/265_2.png) [@alexis.cousein](https://community.openpbs.org/u/alexis.cousein)\
**Post date:** [May 18, 2024, 9:21pm UTC](https://community.openpbs.org/t/jobs-stuck-in-queue-scheduler-connecting-issues/3873/2 "2024-05-18T21:21:00Z")

</div>

The address the TCP packets from the scheduler seem to come from do not match the scheduler’s sched\_host attribute (cfr. qmgr -c “print sched @default” output.) The server logs will tell you where the server thinks the packets are coming from (I.e. what to set sched\_host to).

One possible way to solve it if you can’t figure it out is to set sched\_host to localhost and to add PBS\_SERVER\_HOST\_NAME=localhost to the line on which you start pbs\_sched (that will make the scheduler contact 127.0.0.1, which will also make the source IP address for the packets match that address.

---

_[View the full topic](https://community.openpbs.org/t/jobs-stuck-in-queue-scheduler-connecting-issues/3873)._
