×
Back to ITRS Analytics FAQ
How can I resolve the error "Get http://localhost/status: dial unix /run/k0s/status.sock: connect: connection refused" when installing ITRS Analytics?
Issue Copied
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 Copied
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
["Geneos"]
["FAQ"]