I've been struggling with one problem after another after installing updates this morning. All that was updated were docker packages, but afterward I first couldn't get into my web admin (since resolved), and now I can't get Samba to start. Help would be much appreciated.
On attempting to apply configuration changes through the web admin, I get:
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color samba 2>&1' with exit code '1': debian:
...
----------
ID: start_samba_service
Function: service.running
Name: smbd
Result: False
Comment: Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
Started: 11:29:40.272881
Duration: 218.568 ms
Display More
When I run "systemctl status smbd.service" followed by "journalctl -xe" in the shell, I get:
Code
root@nas:~# systemctl status smbd.service
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-04-12 11:29:40 EDT; 1min 47s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 9366 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=>
Process: 9373 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exite>
Main PID: 9373 (code=exited, status=1/FAILURE)
CPU: 101ms
Apr 12 11:29:40 nas systemd[1]: Starting Samba SMB Daemon...
Apr 12 11:29:40 nas systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 11:29:40 nas systemd[1]: smbd.service: Failed with result 'exit-code'.
Apr 12 11:29:40 nas systemd[1]: Failed to start Samba SMB Daemon.
root@nas:~# journalctl -xe
Apr 12 11:30:01 nas CRON[9468]: pam_unix(cron:session): session opened for user root(uid=0) by (uid>
Apr 12 11:30:01 nas CRON[9469]: pam_unix(cron:session): session opened for user root(uid=0) by (uid>
Apr 12 11:30:01 nas CRON[9470]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/sy>
Apr 12 11:30:01 nas CRON[9471]: (root) CMD (/usr/sbin/omv-mkrrdgraph >/dev/null 2>&1)
Apr 12 11:30:01 nas CRON[9468]: pam_unix(cron:session): session closed for user root
Apr 12 11:30:07 nas CRON[9469]: pam_unix(cron:session): session closed for user root
Apr 12 11:30:28 nas monit[1139]: Cannot connect to [127.0.0.1]:25 -- Connection refused
Apr 12 11:30:28 nas monit[1139]: Cannot open a connection to the mailserver 127.0.0.1:25 -- Operati>
Apr 12 11:30:28 nas monit[1139]: Mail: Delivery failed -- no mail server is available
Apr 12 11:30:28 nas monit[1139]: Alert handler failed, retry scheduled for next cycle
Apr 12 11:30:58 nas monit[1139]: Cannot connect to [127.0.0.1]:25 -- Connection refused
Apr 12 11:30:58 nas monit[1139]: Cannot open a connection to the mailserver 127.0.0.1:25 -- Operati>
Apr 12 11:30:58 nas monit[1139]: Mail: Delivery failed -- no mail server is available
Apr 12 11:30:58 nas monit[1139]: Alert handler failed, retry scheduled for next cycle
Apr 12 11:31:10 nas systemd[1]: Started Run anacron jobs.
░░ Subject: A start job for unit anacron.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit anacron.service has finished successfully.
░░
░░ The job identifier is 3412.
Apr 12 11:31:10 nas anacron[10129]: Anacron 2.3 started on 2024-04-12
Apr 12 11:31:10 nas anacron[10129]: Normal exit (0 jobs run)
Apr 12 11:31:10 nas systemd[1]: anacron.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit anacron.service has successfully entered the 'dead' state.
Apr 12 11:31:28 nas monit[1139]: Cannot connect to [127.0.0.1]:25 -- Connection refused
Apr 12 11:31:28 nas monit[1139]: Cannot open a connection to the mailserver 127.0.0.1:25 -- Operati>
Apr 12 11:31:28 nas monit[1139]: Mail: Delivery failed -- no mail server is available
Apr 12 11:31:28 nas monit[1139]: Alert handler failed, retry scheduled for next cycle
Display More
Please help me get my shares back up and running. Thanks!