I installed OMV on a WD Mycloud device. I also installed NZBGet and added a startup script at /etc/init.d/nzbget.
After I did this, I was attempting to change the SSH port and got the following error:
Code
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; update-rc.d 'ssh' disable 2>&1': update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script `ssh' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (2 3 4 5) of script `ssh' overrides LSB defaults (empty).
insserv: warning: script 'nzbget' missing LSB tags and overrides
insserv: There is a loop between service monit and nzbget if stopped
insserv: loop involving service nzbget at depth 2
insserv: loop involving service monit at depth 1
insserv: Stopping nzbget depends on monit and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header' in /usr/share/php/openmediavault/initscript.inc:90
Stack trace:
#0 /usr/share/php/openmediavault/initscript.inc(56): OMVSysVInitScript->update(true)
#1 /usr/share/openmediavault/engined/module/ssh.inc(53): OMVSysVInitScript->exec()
#2 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModuleSsh->stopService()
#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#11 {main}
Alles anzeigen
Now, I'm getting a connection refused message using Putty. Anything I can do to fix this?