Hallo,
beim Hochfahren meiner ArchLinux Installation auf einem USB-Stick erhalte ich folgende Meldungen:
[FAILED) Failed to start samba NMB Daemon
[FAILED) Failed to stat samba AD Daemon.
$ systemctl list-unit-files --all | grep -i -e nmb -e smb -e samba
nmb.service enabled disabled
samba.service enabled disabled
smb.service enabled disabled
$ sudo systemctl restart nmb
Job for nmb.service failed because the control process exited with error code.
See "systemctl status nmb.service" and "journalctl -xeu nmb.service" for details.
$ sudo systemctl status nmb
× nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Mon 2024-01-22 09:45:55 CET; 25s ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Process: 2057 ExecStart=/usr/bin/nmbd --foreground --no-process-group $NMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 2057 (code=exited, status=1/FAILURE)
Status: "daemon failed to start: NMBD failed when creating subnet lists"
Error: 13 (Keine Berechtigung)
CPU: 43ms
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: [2024/01/22 09:45:55.503284, 0] ../../source3/nmbd/nmbd.c:901(main)
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: nmbd version 4.19.4 started.
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: Copyright Andrew Tridgell and the Samba Team 1992-2023
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: [2024/01/22 09:45:55.504408, 0] ../../source3/nmbd/nmbd_subnetdb.c:113(make_subnet)
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: make_subnet: Failed to open nmb socket on interface 192.168.1.169 for port 137: Die angeforderte Adresse kann nicht zugewiesen werden
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: [2024/01/22 09:45:55.506054, 0] ../../lib/util/become_daemon.c:119(exit_daemon)
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: exit_daemon: daemon failed to start: NMBD failed when creating subnet lists, error code 13
Jan 22 09:45:55 archlinux.fritz.box systemd[1]: nmb.service: Main process exited, code=exited, status=1/FAILURE
Jan 22 09:45:55 archlinux.fritz.box systemd[1]: nmb.service: Failed with result 'exit-code'.
Jan 22 09:45:55 archlinux.fritz.box systemd[1]: Failed to start Samba NMB Daemon.
$ sudo journalctl -xeu nmb.service
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: make_subnet: Failed to open nmb socket on interface 192.168.1.169 for port 137: Die angeforderte Adresse kann nicht zugewiesen werden
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: [2024/01/22 09:45:55.506054, 0] ../../lib/util/become_daemon.c:119(exit_daemon)
Jan 22 09:45:55 archlinux.fritz.box nmbd[2057]: exit_daemon: daemon failed to start: NMBD failed when creating subnet lists, error code 13
Jan 22 09:45:55 archlinux.fritz.box systemd[1]: nmb.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit nmb.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jan 22 09:45:55 archlinux.fritz.box systemd[1]: nmb.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit nmb.service has entered the 'failed' state with result 'exit-code'.
Jan 22 09:45:55 archlinux.fritz.box systemd[1]: Failed to start Samba NMB Daemon.
░░ Subject: A start job for unit nmb.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit nmb.service has finished with a failure.
░░
░░ The job identifier is 2210 and the job result is failed.
Wie bringt man das wieder in Ordnung?
Gruß
Ch. Hanisch