---
title: "How can I resolve the error \"Get http://localhost/status: dial unix /run/k0s/status.sock: connect: connection refused\" when installing ITRS Analytics?"
description: "Install failure with connection refused error occurs due to server configuration issues. Ensure SE Linux is disabled or permissive, home directory permissions are 755, umask is 077, and rp_filter kernel parameter is set to 2."
url: "https://docs.itrsgroup.com/docs/faq/itrs-analytics/24509314453533-itrs-analytics-replicate-failure-get-http-localhost-status-dial-unix-run-k0s-status-sock-connect-connection-refused/index.html"
---
## Issue

When trying to install ITRS Analytics, the following error may occur:

```
unable to wait for node: unable to get status: exit status 1: Error: status: can't get "status" via "/run/k0s/status.sock": Get http://localhost/status: dial unix /run/k0s/status.sock: connect: connection refused
```

Subsequently, the support bundle logs may contain messages like below:

```
Dec 11 12:30:09 hostname1.corp.bank.com k0s[5688]: time="2024-12-11 12:30:09" level=warning msg="Failed to start: fork/exec /home/eo-usat-svc-itrstest/obcerv-data/k0s/bin/etcd: permission denied" component=etcd
Dec 11 12:30:09 hostname1.bank.com k0s[5688]: Error: failed to start controller node components: fork/exec /home/eo-usat-svc-itrstest/obcerv-data/k0s/bin/etcd: permission denied
```

## Resolution

To prevent these errors, ensure the following is set on the server:

- SE Linux should be disabled or set to permissive mode.
- Ensure that the home directory permission are set to `755` (+x needs to be set).
- Umask settings should be `077`.

    ```
    grep UMASK /etc/login.defs
    ## UMASK is also used by useradd(8) and newusers(8) to set the mode for new
    UMASK 077
    ```

- Set the rp\_filter kernel parameter to `2`.

    ```
    sysctl -w net.ipv4.conf.all.rp_filter=2
    sysctl -w net.ipv4.conf.default.rp_filter=2
    sysctl -w net.ipv4.conf.ens192.rp_filter=2
    ```


