> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/cluster-computing/slurm/job-manager-is-not-responding.md).

# Job Manager is not responding

1. Check logs

```bash
[2022-05-17T14:29:12.809] error: Unable to resolve "NODE_HOSTNAME_1": Unknown host
[2022-05-17T14:29:12.809] error: _set_slurmd_addr: failure on NODE_HOSTNAME_1
[2022-05-17T14:29:13.591] error: Unable to resolve "NODE_HOSTNAME_2": Unknown host
[2022-05-17T14:29:13.591] error: _set_slurmd_addr: failure on NODE_HOSTNAME_2
```

2\. Check `/etc/hosts` to see if logs host name is in there

```bash
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.10.0.1 graphical_node
172.10.0.2 NODE_HOSTNAME_3
172.10.0.3 NODE_HOSTNAME_4
172.10.0.4 NODE_HOSTNAME_5
```

{% hint style="info" %}
Note that the nodes cannot be seen in the file. This can be due to the Azure VMSS nodes restarting and not having the same name if it's hosted on an Azure VMSS
{% endhint %}

3\. Check nodes with:

```bash
sinfo
```

* Should return:

```bash
PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST
debug*       up   infinite      5  idle~ NODE_HOSTNAMES[1]
debug*       up   infinite     10  alloc NODE_HOSTNAMES[2]
```

4\. Check if the `slurmctld` is up and running

```bash
sudo systemctl status slurmctld
```

5\. If the service is not running properly restart it or start/stop it

```bash
sudo systemctl restart slurmctld

# OR

sudo systemctl stop slurmctld
sudo systemctl start slurmctld
```

6\. Check if service is running and the servers are up and processing jobs

```bash
# Check service:
sudo systemctl status slurmctld

# Check nodes:
sinfo

# Check jobs 
squeue
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.arkannis.net/cluster-computing/slurm/job-manager-is-not-responding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
