Hello,
I've recently logged into OpenMediaVault to make a change for a samba user and I've come across the following problem.
When I goto the shares to make a change for example add/remove IPs from the allow list and click on OK, I get the following:
Code
Failed to execute command 'export LANG=C; sudo invoke-rc.d 'samba' start 2>&1': Starting Samba daemons: nmbdSegmentation fault failed! invoke-rc.d: initscript samba, action "start" failed.
When I click on show details I get
Code
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; sudo invoke-rc.d 'samba' start 2>&1': Starting Samba daemons: nmbdSegmentation fault
failed!
invoke-rc.d: initscript samba, action "start" failed.' in /usr/share/php/openmediavault/initscript.inc:161
Stack trace:
#0 /usr/share/php/openmediavault/initscript.inc(135): OMVSysVInitScript->invoke('start')
#1 /usr/share/php/openmediavault/initscript.inc(58): OMVSysVInitScript->start()
#2 /var/www/openmediavault/module/smb.inc(81): OMVSysVInitScript->exec()
#3 [internal function]: OMVSMBModule->updateService(Array)
#4 /usr/share/php/openmediavault/notify.inc(123): call_user_func_array(Array, Array)
#5 /var/www/openmediavault/rpc/smb.inc(340): OMVNotifyDispatcher->notify(8, 'org.openmediava...', Array)
#6 [internal function]: SMBRpc->setShare(Array)
#7 /usr/share/php/openmediavault/rpc.inc(262): call_user_func_array(Array, Array)
#8 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('SMB', 'setShare', Array)
#9 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
#10 {main}
Alles anzeigen
I've rebooted the device and samba no longer starts, when I check the status from the webGUI by going to System Information and then SMB/CIFS tab I get the following:
Code
Failed to execute command 'sudo smbstatus -u 2>&1': Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 466: elf_machine_rela_relative: Assertion `((reloc->r_info) & 0xffffffff) == 8' failed!
Clicking on show details gives me
Code
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'sudo smbstatus -u 2>&1': Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 466: elf_machine_rela_relative: Assertion `((reloc->r_info) & 0xffffffff) == 8' failed!' in /var/www/openmediavault/rpc/smb.inc:384
Stack trace:
#0 [internal function]: SMBRpc->getStats(NULL)
#1 /usr/share/php/openmediavault/rpc.inc(262): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('SMB', 'getStats', NULL)
#3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
#4 {main}
I'm currently running 0.3.2 and it's up-to-date.
Thanks