# Qstat : invalid credential =\> due to name resolution

**URL:** <https://community.openpbs.org/t/qstat-invalid-credential-due-to-name-resolution/3400>\
**Category:** Users/Site Administrators\
**Created:** [December 29, 2022, 8:47am UTC](https://community.openpbs.org/t/qstat-invalid-credential-due-to-name-resolution/3400 "2022-12-29T08:47:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [January 3, 2023, 2:18am UTC](https://community.openpbs.org/t/qstat-invalid-credential-due-to-name-resolution/3400/4 "2023-01-03T02:18:32Z")

</div>

Thank you @xpillons for the above information.

Please check man page of pbs\_sched

```
   -c <clientsfile>
                Add clients to this scheduler's list of known clients. The clientsfile contains single-line entries of the form
                    $clienthost <hostname>

                Each hostname is added to the list of hosts allowed to connect to this scheduler. If clientsfile cannot be opened, this scheduler aborts. Path can be absolute or relative. If rela‐
                tive, it is relative to PBS_HOME/sched_priv.

```

```auto
**Please try this:**
1. create a file $PBS_HOME/sched_priv/myclientsfile on the PBS Server.
2. The contents of this file (myclientsfile) is as below
    $clienthost scheduler.hpc.azure
    $clienthost scheduler.internal.cloudapp.net
3. kill -9 pid_of_pbs_scheduler
4. $PBS_EXEC/sbin/pbs_sched -c $PBS_HOME/sched_priv/myclientsfile

```

---

_[View the full topic](https://community.openpbs.org/t/qstat-invalid-credential-due-to-name-resolution/3400)._
