![](https://forum.openmediavault.org/wsc/images/avatars/cc/1100-cc991786080efdcb6cdf00cf790e0682b42218f1.png)
Change in notifications,SMB error
-
- OMV 5.x
- TechnoDadLife
-
-
Can we show what is happening again
It shows the output on my system. Maybe you need to clear your browser cache?
-
That fixed it. Now I am having a SMB error.
Code
Alles anzeigenrror #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 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: 09:50:35.315873 Duration: 378.978 ms Changes: ---------- diff: --- +++ @@ -37,70 +37,3 @@ # Special configuration for Apple's Time Machine fruit:aapl = yes fruit:model = MacPro -#======================= Share Definitions ======================= -[appdata] -path = /srv/dev-disk-by-label-datadisk/appdata/ -guest ok = yes -guest only = no -read only = no -browseable = yes -inherit acls = yes -inherit permissions = no -ea support = no -store dos attributes = no -vfs objects = -printable = no -create mask = 0664 -force create mode = 0664 -directory mask = 0775 -force directory mode = 0775 -hide special files = yes -follow symlinks = yes -hide dot files = yes -read list = -write list = - -[downloads] -path = /srv/dev-disk-by-label-datadisk/downloads/ -guest ok = yes -guest only = no -read only = no -browseable = yes -inherit acls = yes -inherit permissions = no -ea support = no -store dos attributes = no -vfs objects = -printable = no -create mask = 0664 -force create mode = 0664 -directory mask = 0775 -force directory mode = 0775 -hide special files = yes -follow symlinks = yes -hide dot files = yes -read list = -write list = - -[media] -path = /srv/dev-disk-by-label-datadisk/media/ -guest ok = yes -guest only = no -read only = no -browseable = yes -inherit acls = yes -inherit permissions = no -ea support = no -store dos attributes = no -vfs objects = -printable = no -create mask = 0664 -force create mode = 0664 -directory mask = 0775 -force directory mode = 0775 -hide special files = yes -follow symlinks = yes -hide dot files = yes -read list = -write list = - ---------- ID: configure_samba_shares Function: file.append Name: /etc/samba/smb.conf Result: True Comment: Appended 67 lines Started: 09:50:35.695147 Duration: 487.41 ms Changes: ---------- diff: --- +++ @@ -37,3 +37,70 @@ # Special configuration for Apple's Time Machine fruit:aapl = yes fruit:model = MacPro +#======================= Share Definitions ======================= +[appdata] +path = /srv/dev-disk-by-label-datadisk/appdata/ +guest ok = yes +guest only = no +read only = no +browseable = yes +inherit acls = yes +inherit permissions = no +ea support = no +store dos attributes = no +vfs objects = +printable = no +create mask = 0664 +force create mode = 0664 +directory mask = 0775 +force directory mode = 0775 +hide special files = yes +follow symlinks = yes +hide dot files = yes +read list = +write list = + +[downloads] +path = /srv/dev-disk-by-label-datadisk/downloads/ +guest ok = yes +guest only = no +read only = no +browseable = yes +inherit acls = yes +inherit permissions = no +ea support = no +store dos attributes = no +vfs objects = +printable = no +create mask = 0664 +force create mode = 0664 +directory mask = 0775 +force directory mode = 0775 +hide special files = yes +follow symlinks = yes +hide dot files = yes +read list = +write list = + +[media] +path = /srv/dev-disk-by-label-datadisk/media/ +guest ok = yes +guest only = no +read only = no +browseable = yes +inherit acls = yes +inherit permissions = no +ea support = no +store dos attributes = no +vfs objects = +printable = no +create mask = 0664 +force create mode = 0664 +directory mask = 0775 +force directory mode = 0775 +hide special files = yes +follow symlinks = yes +hide dot files = yes +read list = +write list = + ---------- 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: 09:50:36.182850 Duration: 7.214 ms Changes: ---------- ID: remove_samba_recyclebin_cron_scripts Function: module.run Result: True Comment: file.find: [] Started: 09:50:36.191526 Duration: 2.342 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: 09:50:36.194154 Duration: 4.493 ms Changes: ---------- ID: test_samba_service_config Function: cmd.run Name: samba-tool testparm --suppress-prompt Result: False Comment: Command "samba-tool testparm --suppress-prompt" run Started: 09:50:36.200287 Duration: 354.022 ms Changes: ---------- pid: 3777 retcode: 255 stderr: netbios name OPENMEDIAVAULTNUC is not a valid netbios name ERROR: Invalid smb.conf 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 map to guest = Bad User 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:model = MacPro fruit:aapl = yes aio read size = 16384 aio write size = 16384 create mask = 0777 directory mask = 0777 use sendfile = Yes [appdata] create mask = 0664 directory mask = 0775 ea support = No force create mode = 0664 force directory mode = 0775 guest ok = Yes hide special files = Yes inherit acls = Yes path = /srv/dev-disk-by-label-datadisk/appdata/ read only = No store dos attributes = No [downloads] create mask = 0664 directory mask = 0775 ea support = No force create mode = 0664 force directory mode = 0775 guest ok = Yes hide special files = Yes inherit acls = Yes path = /srv/dev-disk-by-label-datadisk/downloads/ read only = No store dos attributes = No [media] create mask = 0664 directory mask = 0775 ea support = No force create mode = 0664 force directory mode = 0775 guest ok = Yes hide special files = Yes inherit acls = Yes path = /srv/dev-disk-by-label-datadisk/media/ read only = No store dos attributes = No ---------- ID: start_samba_service Function: service.running Name: smbd Result: False Comment: One or more requisite failed: omv.deploy.samba.default.test_samba_service_config Started: 09:50:38.426141 Duration: 0.027 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: 09:50:38.426952 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: 09:50:38.427095 Duration: 262.906 ms Changes: ---------- wsdd: True Summary for debian ------------ Succeeded: 6 (changed=5) Failed: 3 ------------ Total states run: 9 Total run time: 1.497 s/usr/lib/python3/dist-packages/salt/utils/jinja.py:447: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if isinstance(values, collections.Hashable): /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function) /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function) in /usr/share/php/openmediavault/system/process.inc:182 Stack trace: #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute() #1 /usr/share/openmediavault/engined/rpc/config.inc(164): 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/bgstatusEU...', '/tmp/bgoutputvF...') #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure)) #7 /usr/share/openmediavault/engined/rpc/config.inc(186): 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}
-
-
One other strange thing.
I can access my shares now, but if I reboot they disappear.
-
I would guess your hostname is too long. Windows/smb doesn't like hostnames longer than 15 characters.
-
Thanks that worked.
It also caused my ip address to change too. Just took a moment to realize what happened.
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!