Hi so I had to get a new router due to my old one dying competently. I tried to configure the network interface via console which give this error:
ERROR: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; monit monitor collectd 2>&1' with exit code '1': Cannot create socket to [localhost]:2812 -- Connection refused
I have tried via the web client which gives this error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; monit monitor collectd 2>&1' with exit code '1': Cannot create socket to [localhost]:2812 -- Connection refused
Details:
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; monit monitor collectd 2>&1' with exit code '1': Cannot create socket to [localhost]:2812 -- Connection refused in /usr/share/php/openmediavault/system/process.inc:182 Stack trace:
#0 /usr/share/php/openmediavault/system/monit.inc(115): OMV\System\Process->execute()
#1 /usr/share/php/openmediavault/system/monit.inc(82): OMV\System\Monit->action('monitor', false)
#2 /usr/share/openmediavault/engined/module/collectd.inc(81): OMV\System\Monit->monitor()
#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleCollectd->startService()
#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusIg...', '/tmp/bgoutput13...')
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): 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}
Alles anzeigen
I have looked on the forums and see no solutions for it I have seen people posting the result of systemctl status monit which is:
● monit.service - LSB: service and resource monitoring daemon
Loaded: loaded (/etc/init.d/monit; generated; vendor preset: enabled)
Active: active (running) since Sun 2019-02-10 13:22:54 EST; 38min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 2 (limit: 4915)
Memory: 4.3M
CPU: 756ms
CGroup: /system.slice/monit.service
└─1071 /usr/bin/monit -c /etc/monit/monitrc
Feb 10 13:27:58 ivanvault monit[1071]: 'omv-engined' started
Feb 10 13:27:58 ivanvault monit[1071]: 'collectd' process is running with pid 1281
Feb 10 13:27:58 ivanvault monit[1071]: 'collectd' process is running after previous exec error (slow starting or manually recovered?)
Feb 10 13:28:28 ivanvault monit[1071]: 'rrdcached' process is running with pid 1273
Feb 10 13:28:28 ivanvault monit[1071]: 'rrdcached' process is running after previous exec error (slow starting or manually recovered?)
Feb 10 13:28:28 ivanvault monit[1071]: 'php-fpm' process is running with pid 1244
Feb 10 13:28:28 ivanvault monit[1071]: 'php-fpm' process is running after previous exec error (slow starting or manually recovered?)
Feb 10 13:28:28 ivanvault monit[1071]: 'nginx' process is running with pid 1298
Feb 10 13:28:28 ivanvault monit[1071]: 'nginx' process is running after previous exec error (slow starting or manually recovered?)
Feb 10 13:28:28 ivanvault monit[1071]: 'omv-engined' process is running with pid 1346
Alles anzeigen
Now it can connect to the network but still show that I need to update the setting every time I login to the web client and shows the above errors when I try to update anything.
Update:So some new development, I noticed it hanging at the network boot.I went into the network config and manually set the ip and everything. I still get a error at boot but now it doesn't wait for the network service to time out for 4 mins.