You are not logged in.

#1 2024-12-27 15:16:46

aljustiet
Member
Registered: 2024-02-09
Posts: 89
Website

error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket'

can't start nix-daemon.service.

❯ p -Ql nix | grep systemd
nix /usr/lib/systemd/
nix /usr/lib/systemd/system/
nix /usr/lib/systemd/system/nix-daemon.service
nix /usr/lib/systemd/system/nix-daemon.socket
❯ doas systemctl status nix-daemon.service
Unit nix-daemon.service could not be found.
❯ systemctl status nix-daemon.service
Unit nix-daemon.service could not be found.

Last edited by aljustiet (2024-12-27 15:42:14)

Offline

#2 2024-12-27 15:40:10

cryptearth
Member
Registered: 2024-02-03
Posts: 2,160

Re: error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket'

please post console output as text - not as image - and use code tags
have you checked with systemctl status if the service is actice and not shadowed?

Offline

#3 2024-12-27 15:43:42

aljustiet
Member
Registered: 2024-02-09
Posts: 89
Website

Re: error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket'

cryptearth wrote:

please post console output as text - not as image - and use code tags
have you checked with systemctl status if the service is actice and not shadowed?

I wanted to install nix, to install package which is not available in the AUR. But it's not the case anymore, because it appears out that this software is unmaintained.

Offline

#4 2024-12-27 15:44:13

aljustiet
Member
Registered: 2024-02-09
Posts: 89
Website

Re: error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket'

cryptearth wrote:

please post console output as text - not as image - and use code tags
have you checked with systemctl status if the service is actice and not shadowed?

I edited the post message, and the log for systemctl status is there.

Offline

#5 2024-12-27 15:48:02

cryptearth
Member
Registered: 2024-02-03
Posts: 2,160

Re: error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket'

what shows

ls -alFh /usr/lib/systemd/system

about nix-daemon.service? likely a shadow symlink to /dev/null - hence the service is not to be started directly but activated by the socket

btw: is this anythibg related to NixOS? if so: https://bbs.archlinux.org/misc.php?action=rules

Last edited by cryptearth (2024-12-27 15:51:37)

Offline

#6 2024-12-27 16:09:39

aljustiet
Member
Registered: 2024-02-09
Posts: 89
Website

Re: error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket'

cryptearth wrote:

what shows

ls -alFh /usr/lib/systemd/system

about nix-daemon.service? likely a shadow symlink to /dev/null - hence the service is not to be started directly but activated by the socket

btw: is this anythibg related to NixOS? if so: https://bbs.archlinux.org/misc.php?action=rules

❯ ls -alFh /usr/lib/systemd/system | grep nix
-rw-r--r-- 1 root root  380 Dec 21 06:21 nix-daemon.service
-rw-r--r-- 1 root root  235 Dec 21 06:21 nix-daemon.socket

Offline

Board footer

Powered by FluxBB