domain_tool.service läuft nicht

  • Wer mit Checkmk auch seine DXPxxxx überwacht, wird über einen verreckten Dienst stolpern. System State ist rot, domain_tool.service läuft nicht.

    Ursache ist:

    Code
    Feb 09 08:00:44 DXP6800PRO systemd[1]: Starting domain_tool.service - Domain Tool...
    Feb 09 08:00:45 DXP6800PRO domain_tool[2168]: domain_tool ERROR 2025-02-09 08:00:45.045350 imgbuilder/target-upgrade/ugreen-sdk/build_dir/ctl-manage/cmd/domain_tool/domain/domain.go:504 open /etc/samba/smbdomain.conf: no such file >
    Feb 09 08:00:45 DXP6800PRO domain_tool[2168]: domain_tool ERROR 2025-02-09 08:00:45.045421 cmd/domain_tool/main.go:59 open /etc/samba/smbdomain.conf: no such file or directory
    Feb 09 08:00:45 DXP6800PRO domain_tool[2168]: domain_tool FATAL 2025-02-09 08:00:45.045428 cmd/domain_tool/main.go:37 open /etc/samba/smbdomain.conf: no such file or directory
    Feb 09 08:00:45 DXP6800PRO systemd[1]: domain_tool.service: Main process exited, code=exited, status=1/FAILURE
    Feb 09 08:00:45 DXP6800PRO systemd[1]: domain_tool.service: Failed with result 'exit-code'.
    Feb 09 08:00:45 DXP6800PRO systemd[1]: Failed to start domain_tool.service - Domain Tool.

    Lösung:

    Code
    touch /etc/samba/smbdomain.conf

    Muss ohne Beitritt zu einer Windowsdomäne auch nicht konfiguriert sein.

  • Hi @Scr00ge

    Danke für die Info! Kurze Frage dazu: checkmk benötigt ja einen Agenten. Ich gehe mal davon aus, dass dieser unter "Debian", also unter der Haube installiert wurde von dir?

  • dass dieser unter "Debian", also unter der Haube installiert wurde von dir?

    Ja, wenn kein SNMP da ist. Da er keine Abhängigkeiten hat, hatte ich da keine Bedenken. SNMP nachzuziehen, schon.

Participate now!

Join our community with over 10,000 members!

Register yourself now for free to get full access to all content, graphics, downloads and other exclusive features!