SMB Enabled but not Running

  • Hello, My SMB failed today just like that

    I was transferring some files...well uploading some files to my google drive, went away for a bit, and when I came back, I noticed the remaining uploads failed.


    I rebooted the server, same issue.

    Made updates, same issue.

    Removed shared drives, same issue

    Disabled SMB, and upon enabling, I received error:



    Error #0:

    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color samba 2>&1' with exit code '1': debian:

    ---------- ID: configure_samba_global Function: file.managed Name: /etc/samba/smb.conf Result: True Comment: File /etc/samba/smb.conf updated Started: 21:52:16.698193 Duration: 164.711 ms Changes: ---------- diff: --- +++ @@ -35,4 +35,3 @@ multicast dns register = no # Special configuration for Apple's Time Machine fruit:aapl = yes -#======================= Share Definitions =======================

    ---------- ID: configure_samba_shares Function: file.append Name: /etc/samba/smb.conf Result: True Comment: Appended 1 lines Started: 21:52:16.863233 Duration: 133.343 ms Changes: ---------- diff: ---

    +++

    @@ -35,3 +35,4 @@

    multicast dns register = no # Special configuration for Apple's Time Machine fruit:aapl = yes +#======================= Share Definitions =======================

    ---------- ID: configure_samba_recyclebin_cron Function: file.managed Name: /etc/cron.daily/openmediavault-samba-recycle Result: True Comment: File /etc/cron.daily/openmediavault-samba-recycle is in the correct state Started: 21:52:16.996881 Duration: 4.966 ms Changes:

    ---------- ID: remove_samba_recyclebin_cron_scripts Function: module.run Result: True Comment: file.find: [] Started: 21:52:17.003458 Duration: 2.924 ms Changes: ---------- file.find:

    ---------- ID: configure_default_wsdd Function: file.managed Name: /etc/default/wsdd Result: True Comment: File /etc/default/wsdd is in the correct state Started: 21:52:17.006682 Duration: 4.898 ms Changes:

    ---------- ID: divert_default_wsdd Function: omv_dpkg.divert_add Name: /etc/default/wsdd Result: True Comment: Leaving 'local diversion of /etc/default/wsdd to /etc/default/wsdd.distrib' Started: 21:52:17.012744 Duration: 30.406 ms Changes:

    ---------- ID: divert_samba_smb_config Function: omv_dpkg.divert_add Name: /etc/samba/smb.conf Result: True Comment: Leaving 'local diversion of /etc/samba/smb.conf to /etc/samba/smb.conf.distrib' Started: 21:52:17.043874 Duration: 30.922 ms Changes:

    ---------- ID: test_samba_service_config Function: cmd.run Name: samba-tool testparm --suppress-prompt Result: True Comment: Command "samba-tool testparm --suppress-prompt" run Started: 21:52:17.079076 Duration: 267.846 ms Changes: ---------- pid: 25787 retcode: 0 stderr: stdout: # Global parameters [global] disable spoolss = Yes encrypt passwords = Yes guest account = nobody log file = /var/log/samba/log.%m logging = syslog log level = 0 max log size = 1000 pam password change = Yes panic action = /usr/share/samba/panic-action %d passdb backend = tdbsam passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . passwd program = /usr/bin/passwd %u printcap name = /dev/null server string = %h server socket options = TCP_NODELAY IPTOS_LOWDELAY unix extensions = Yes workgroup = WORKGROUP fruit:aapl = yes aio read size = 16384 aio write size = 16384 create mask = 0777 directory mask = 0777 use sendfile = Yes

    ---------- ID: start_samba_service Function: service.running Name: smbd Result: False Comment: Job for smbd.service failed because a fatal signal was delivered causing the control process to dump core. See "systemctl status smbd.service" and "journalctl -xe" for details. Started: 21:52:22.019246 Duration: 4479.808 ms Changes:

    ---------- ID: start_samba_service_nmbd Function: service.running Name: nmbd Result: False Comment: One or more requisite failed: omv.deploy.samba.default.start_samba_service Started: 21:52:26.501479 Duration: 0.01 ms Changes:

    ---------- ID: start_wsdd_service Function: service.running Name: wsdd Result: True Comment: Service wsdd is already enabled, and is running Started: 21:52:26.501704 Duration: 269.165 ms Changes: ---------- wsdd: True

    Summary for debian

    ------------

    Succeeded: 9 (changed=5)

    Failed: 2

    ------------

    Total states run: 11

    Total run time: 5.389 s in /usr/share/php/openmediavault/system/process.inc:195

    Stack trace:

    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()

    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()

    #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)

    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus1q...', '/tmp/bgoutput00...')

    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)

    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)

    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)

    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)

    #12 {main}



    now I'm not sure what any of this means

    Help Please?

    cause my only resolve is to do a re-installation

    :(

  • This is what i got

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!