services messed up

Forum › Forums › Official Releases › antiX-23 “Arditi del Popolo › services messed up

  • This topic has 11 replies, 3 voices, and was last updated Jun 23-12:22 pm by booker.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #207032
    booker
    Member

      hi,

      whatever happened, i don’t know
      i’m pretty sure i could manage the services in the antixcc service manager, but it has been some time

      sudo sv status virtlogd
      fail: virtlogd: unable to change to service directory: file does not exist
      sudo find /etc/ | grep virtlog -i
      /etc/rc0.d/K01virtlogd
      /etc/rc2.d/S01virtlogd
      /etc/rc5.d/S01virtlogd
      /etc/rc1.d/K01virtlogd
      /etc/default/virtlogd
      /etc/libvirt/virtlogd.conf
      /etc/init.d/virtlogd
      /etc/rc3.d/S01virtlogd
      /etc/rc6.d/K01virtlogd
      /etc/rc4.d/S01virtlogd
      /etc/systemd/system/sockets.target.wants/virtlogd-admin.socket
      /etc/systemd/system/sockets.target.wants/virtlogd.socket
      

      i don’t know, why there is no entry in /etc/sv anymore
      and why are there entries in /etc/rc1.d, rc2.d and so on?

       sudo sv status libvirtd
      down: libvirtd: 0s, normally up, want up; run: log: (pid 2327) 11638s
      sudo find /etc/ | grep libvirtd
      /etc/rc0.d/K01libvirtd
      /etc/sv/libvirtd
      /etc/sv/libvirtd/supervise
      /etc/sv/libvirtd/supervise/status
      /etc/sv/libvirtd/supervise/lock
      /etc/sv/libvirtd/supervise/control
      /etc/sv/libvirtd/supervise/stat
      /etc/sv/libvirtd/supervise/pid
      /etc/sv/libvirtd/supervise/ok
      /etc/sv/libvirtd/log
      /etc/sv/libvirtd/log/supervise
      /etc/sv/libvirtd/log/supervise/status
      /etc/sv/libvirtd/log/supervise/lock
      /etc/sv/libvirtd/log/supervise/control
      /etc/sv/libvirtd/log/supervise/stat
      /etc/sv/libvirtd/log/supervise/pid
      /etc/sv/libvirtd/log/supervise/ok
      /etc/sv/libvirtd/log/run
      /etc/sv/libvirtd/run
      /etc/apparmor.d/local/usr.sbin.libvirtd
      /etc/apparmor.d/usr.sbin.libvirtd
      /etc/rc2.d/S01libvirtd
      /etc/runit/runsvdir/default/libvirtd
      /etc/rc5.d/S01libvirtd
      /etc/rc1.d/K01libvirtd
      /etc/default/libvirtd
      /etc/logrotate.d/libvirtd.libxl
      /etc/logrotate.d/libvirtd.lxc
      /etc/logrotate.d/libvirtd
      /etc/logrotate.d/libvirtd.qemu
      /etc/libvirt/libvirtd.conf
      /etc/init.d/libvirtd
      /etc/rc3.d/S01libvirtd
      /etc/rc6.d/K01libvirtd
      /etc/rc4.d/S01libvirtd
      /etc/systemd/system/sockets.target.wants/libvirtd-admin.socket
      /etc/systemd/system/sockets.target.wants/libvirtd-ro.socket
      /etc/systemd/system/sockets.target.wants/libvirtd.socket
      /etc/systemd/system/multi-user.target.wants/libvirtd.service
      ls /etc/init.d/ -a
      .          libvirtd        mariadb  qemu-guest-agent  sendsigs  umountnfs-alternative.sh  virtlogd
      ..         libvirt-guests  nginx    rc.local          sudo      umountnfs.sh
      killprocs  live-grubsave   oobe     seatd.dpkg-dist   umountfs  umountroot
      

      in “choose startup services”
      X libvirtd
      Service Status down Startup yes
      Log Status ? Startup yes

      when i click on start, nothing changes

      i don’t remember how services are managed by antixcc

      #207051
      anticapitalista
      Forum Admin

        Is /etc/sv/libvirtd symlinked to /etc/service/ ?

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #207057
        booker
        Member

          hi,

          so /etc/service –> /etc/runit/runsvdir/current –> /etc/runit/runsvdir/default and here are linked the services, libvirtd is linked

          virtlogd isn’t linked and there is no /etc/sv/virtlogd

          #207062
          anti-apXos
          Member

            Do you have runit-service-libvirtd installed from the antix repos? That should provide a virtlogd service.

            apt policy runit-service-libvirtd

            If no, install it. If yes, reinstall it.

            sudo apt install --reinstall runit-service-libvirtd

            The entries in /etc/rc*.d are sysvinit service scripts that are installed from Debian.

            "--"

            #207064
            anticapitalista
            Forum Admin

              You can use the runit-service-manager to set up libvirtd (if runit-service-libvirtd is installed).

              Philosophers have interpreted the world in many ways; the point is to change it.

              antiX with runit - leaner and meaner.

              #207066
              booker
              Member

                Do you have runit-service-libvirtd installed from the antix repos? That should provide a virtlogd service.

                apt policy runit-service-libvirtd

                If no, install it. If yes, reinstall it.

                 sudo apt policy runit-service-libvirtd
                N: Unable to locate package runit-service-libvirtd

                perhaps because of errors at updating?

                 sudo apt-get update
                Get:1 https://security.debian.org bullseye-security InRelease [27.2 kB]
                Ign:2 https://deb.debian.org/debian bullseye-backports InRelease
                Err:3 https://deb.debian.org/debian bullseye-backports Release
                  404  Not Found [IP: 146.75.2.132 443]
                Hit:4 https://ftp.nl.debian.org/debian bullseye-updates InRelease
                Ign:5 https://mirror.plusserver.com/mxlinux/mxlinux/antix/bullseye bullseye InRelease
                Hit:6 https://ftp.nl.debian.org/debian bullseye InRelease
                Err:7 https://mirror.plusserver.com/mxlinux/mxlinux/antix/bullseye bullseye Release
                  404  Not Found [IP: 62.138.222.4 443]
                Hit:8 https://www.deb-multimedia.org bullseye InRelease
                Reading package lists... Done
                E: Release file for https://security.debian.org/dists/bullseye-security/InRelease is not valid yet (invalid for another 32min
                51s). Updates for this repository will not be applied.
                E: The repository 'https://deb.debian.org/debian bullseye-backports Release' no longer has a Release file.
                N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                N: See apt-secure(8) manpage for repository creation and user configuration details.
                E: The repository 'https://mirror.plusserver.com/mxlinux/mxlinux/antix/bullseye bullseye Release' no longer has a Release file.
                N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                N: See apt-secure(8) manpage for repository creation and user configuration details.
                #207067
                anticapitalista
                Forum Admin

                  Use repo-manager to change repos or do it by hand.
                  If you have debian-multimedia repo enabled, you are strongly advised to disable it.

                  Philosophers have interpreted the world in many ways; the point is to change it.

                  antiX with runit - leaner and meaner.

                  #207068
                  anti-apXos
                  Member

                    Are you using antix-21? Hopefully so, since you shouldn’t have all these bullseye repos enabled if you’re actually using antix-23.

                    The errors related to your repos need to be fixed. You can select a different antix repo using the repo manager. For bullseye-backports, I think maybe that just doesn’t exist anymore now that bullseye is oldoldstable, so you should disable it.

                    However, I’m not sure if fixing the repo errors will solve your problem since there does not appear to be a runit-service-libvirtd for antix-21.

                    "--"

                    #207069
                    booker
                    Member

                      in which repo should it be?

                      sudo apt-get update
                      Ign:1 https://deb.debian.org/debian bullseye-backports InRelease
                      Err:2 https://deb.debian.org/debian bullseye-backports Release
                        404  Not Found [IP: 146.75.2.132 443]
                      Hit:3 https://ftp.nl.debian.org/debian bullseye-updates InRelease
                      Hit:4 https://ftp.nl.debian.org/debian bullseye InRelease
                      Hit:5 https://linux.rub.de/mxlinux/packages/antix/bullseye bullseye InRelease
                      Get:6 https://security.debian.org bullseye-security InRelease [27.2 kB]
                      Reading package lists... Done
                      E: The repository 'https://deb.debian.org/debian bullseye-backports Release' no longer has a Release file.
                      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                      N: See apt-secure(8) manpage for repository creation and user configuration details.

                      i still get

                      N: Unable to locate package runit-service-libvirtd

                      #207071
                      booker
                      Member

                        with another mirror

                        sudo apt-get update
                        Get:1 https://security.debian.org bullseye-security InRelease [27.2 kB]
                        Hit:2 https://ftp.nl.debian.org/debian bullseye-updates InRelease
                        Ign:3 https://deb.debian.org/debian bullseye-backports InRelease
                        Hit:4 https://ftp.nl.debian.org/debian bullseye InRelease
                        Err:5 https://deb.debian.org/debian bullseye-backports Release
                          404  Not Found [IP: 146.75.2.132 443]
                        Get:6 https://mirror.diyarciftci.xyz/mxlinux-packages/antix/bullseye bullseye InRelease [27.5 kB]
                        Get:7 https://mirror.diyarciftci.xyz/mxlinux-packages/antix/bullseye bullseye/nonfree Sources [2,747 B]
                        Get:8 https://mirror.diyarciftci.xyz/mxlinux-packages/antix/bullseye bullseye/nosystemd Sources [44.6 kB]
                        Get:9 https://mirror.diyarciftci.xyz/mxlinux-packages/antix/bullseye bullseye/main Sources [152 kB]
                        Get:10 https://mirror.diyarciftci.xyz/mxlinux-packages/antix/bullseye bullseye/main i386 Packages [420 kB]
                        Get:11 https://mirror.diyarciftci.xyz/mxlinux-packages/antix/bullseye bullseye/main amd64 Packages [422 kB]
                        Get:12 https://mirror.diyarciftci.xyz/mxlinux-packages/antix/bullseye bullseye/nosystemd i386 Packages [225 kB]
                        Get:13 https://mirror.diyarciftci.xyz/mxlinux-packages/antix/bullseye bullseye/nosystemd amd64 Packages [226 kB]
                        #207072
                        booker
                        Member

                          Are you using antix-21? Hopefully so, since you shouldn’t have all these bullseye repos enabled if you’re actually using antix-23.

                          The errors related to your repos need to be fixed. You can select a different antix repo using the repo manager. For bullseye-backports, I think maybe that just doesn’t exist anymore now that bullseye is oldoldstable, so you should disable it.

                          However, I’m not sure if fixing the repo errors will solve your problem since there does not appear to be a runit-service-libvirtd for antix-21.

                          ok, i posted in the wrong category

                          once i wrote a service file for dnscrypt-proxy

                          https://www.antixforum.com/forums/topic/dnscrypt-proxy-doesnt-log/

                          but i don’t know if you can compare these

                          #207073
                          booker
                          Member

                            Use repo-manager to change repos or do it by hand.
                            If you have debian-multimedia repo enabled, you are strongly advised to disable it.

                            ok, thank you

                          Viewing 12 posts - 1 through 12 (of 12 total)
                          • You must be logged in to reply to this topic.