Cannot enable iSCSI Plugin on OpenMediaVault 3.0

I just installed OpenMediaVault on my Proxmox VE. The installation went pretty well and now I want to enable the iSCSI Target on this server. There is a special OMV plugin called openmediavault-iscsitarget that can be enabled through Plugins section on OMV web dashboard.

But, actually this plugin does not work (at least in my case). I always got the following error everytime I try to enable the service.

Failed to execute command ‘export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start iscsitarget 2>&1’ with exit code ‘1’: Job for iscsitarget.service failed. See ‘systemctl status iscsitarget.service’ and ‘journalctl -xn’ for details

The detailed error are as folloe

Error #0: exception ‘OMV\ExecException’ with message ‘Failed to execute command ‘export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start iscsitarget 2>&1’ with exit code ‘1’: Job for iscsitarget.service failed. See ‘systemctl status iscsitarget.service’ and ‘journalctl -xn’ for details.’ in /usr/share/php/openmediavault/system/process.inc:175 Stack trace: #0 /usr/share/php/openmediavault/system/systemctl.inc(83): OMV\System\Process->execute(Array, 1) #1 /usr/share/php/openmediavault/system/systemctl.inc(101): OMV\System\SystemCtl->exec(‘start’, NULL, false) #2 /usr/share/openmediavault/engined/module/iscsitarget.inc(76): OMV\System\SystemCtl->enable(true) #3 /usr/share/openmediavault/engined/rpc/config.inc(189): OMVModuleIscsiTarget->startService() #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array) #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod(‘applyChanges’, Array, Array) #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}(‘/tmp/bgstatusah…’, ‘/tmp/bgoutputs6…’) #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure)) #9 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg(‘applyChanges’, Array, Array) #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array) #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod(‘applyChangesBg’, Array, Array) #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call(‘Config’, ‘applyChangesBg’, Array, Array, 1) #14 {main}

I still searching how to fix this error. I tried to reinstall OMV from scratch but still got this error.

Ariel

Leave a Reply

Your email address will not be published. Required fields are marked *