Nach OH-Update keine Samba-Freigabe mehr
Verfasst: 22. Mai 2023 17:52
Hallo,
ich habe vor einigen Tagen mein OH auf 3.4.4 geupdatet. Alles ok.
Jetzt wollte ich mit VSC eine Rule ändern und stelle fest, das das Netzlaufwerk nicht mehr verbunden ist.
Folgendes habe ich bisher gemacht :
1. Samba-Status
2. Wie in der Meldung beschrieben
3.
Ich kann kein Netzlaufwerk anlegen. Was kann da während des Updates passiert sein?
ich habe vor einigen Tagen mein OH auf 3.4.4 geupdatet. Alles ok.
Jetzt wollte ich mit VSC eine Rule ändern und stelle fest, das das Netzlaufwerk nicht mehr verbunden ist.
Folgendes habe ich bisher gemacht :
1. Samba-Status
Code: Alles auswählen
sudo systemctl restart smbd.service
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
Code: Alles auswählen
systemctl status smbd.service
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2023-05-22 17:46:35 CEST; 52s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 19238 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
Process: 19239 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 19239 (code=exited, status=1/FAILURE)
CPU: 153ms
Mai 22 17:46:34 openhabian systemd[1]: Starting Samba SMB Daemon...
Mai 22 17:46:35 openhabian systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Mai 22 17:46:35 openhabian systemd[1]: smbd.service: Failed with result 'exit-code'.
Mai 22 17:46:35 openhabian systemd[1]: Failed to start Samba SMB Daemon.
Code: Alles auswählen
journalctl -xe
░░
░░ A start job for unit smbd.service has begun execution.
░░
░░ The job identifier is 27985.
Mai 22 17:46:27 openhabian systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit smbd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Mai 22 17:46:27 openhabian systemd[1]: smbd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit smbd.service has entered the 'failed' state with result 'exit-code'.
Mai 22 17:46:27 openhabian systemd[1]: Failed to start Samba SMB Daemon.
░░ Subject: A start job for unit smbd.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit smbd.service has finished with a failure.
░░
░░ The job identifier is 27985 and the job result is failed.
Mai 22 17:46:27 openhabian sudo[19225]: pam_unix(sudo:session): session closed for user root
Mai 22 17:46:34 openhabian sudo[19235]: openhabian : TTY=pts/0 ; PWD=/home/openhabian ; USER=root ; COMMAND=/usr/bin/systemctl restart smbd.service
Mai 22 17:46:34 openhabian sudo[19235]: pam_unix(sudo:session): session opened for user root(uid=0) by openhabian(uid=1000)
Mai 22 17:46:34 openhabian systemd[1]: Starting Samba SMB Daemon...
░░ Subject: A start job for unit smbd.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit smbd.service has begun execution.
░░
░░ The job identifier is 28054.
Mai 22 17:46:35 openhabian systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit smbd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Mai 22 17:46:35 openhabian systemd[1]: smbd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit smbd.service has entered the 'failed' state with result 'exit-code'.
Mai 22 17:46:35 openhabian systemd[1]: Failed to start Samba SMB Daemon.
░░ Subject: A start job for unit smbd.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit smbd.service has finished with a failure.
░░
░░ The job identifier is 28054 and the job result is failed.
Mai 22 17:46:35 openhabian sudo[19235]: pam_unix(sudo:session): session closed for user root
Mai 22 17:47:47 openhabian dhcpcd[851]: eth0: Router Advertisement from fe80::a96:d7ff:fe81:c1ac
lines 2632-2692/2692 (END)