OMV after new install and update

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • OMV after new install and update

      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

      Source Code

      1. Details:
      2. 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:
      3. #0 /usr/share/php/openmediavault/system/monit.inc(115): OMV\System\Process->execute()
      4. #1 /usr/share/php/openmediavault/system/monit.inc(82): OMV\System\Monit->action('monitor', false)
      5. #2 /usr/share/openmediavault/engined/module/collectd.inc(81): OMV\System\Monit->monitor()
      6. #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleCollectd->startService()
      7. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      8. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      9. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      10. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusIg...', '/tmp/bgoutput13...')
      11. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      12. #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      13. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      14. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      15. #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      16. #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      17. #14 {main}
      Display All
      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:

      Source Code

      1. ● monit.service - LSB: service and resource monitoring daemon
      2. Loaded: loaded (/etc/init.d/monit; generated; vendor preset: enabled)
      3. Active: active (running) since Sun 2019-02-10 13:22:54 EST; 38min ago
      4. Docs: man:systemd-sysv-generator(8)
      5. Tasks: 2 (limit: 4915)
      6. Memory: 4.3M
      7. CPU: 756ms
      8. CGroup: /system.slice/monit.service
      9. └─1071 /usr/bin/monit -c /etc/monit/monitrc
      10. Feb 10 13:27:58 ivanvault monit[1071]: 'omv-engined' started
      11. Feb 10 13:27:58 ivanvault monit[1071]: 'collectd' process is running with pid 1281
      12. Feb 10 13:27:58 ivanvault monit[1071]: 'collectd' process is running after previous exec error (slow starting or manually recovered?)
      13. Feb 10 13:28:28 ivanvault monit[1071]: 'rrdcached' process is running with pid 1273
      14. Feb 10 13:28:28 ivanvault monit[1071]: 'rrdcached' process is running after previous exec error (slow starting or manually recovered?)
      15. Feb 10 13:28:28 ivanvault monit[1071]: 'php-fpm' process is running with pid 1244
      16. Feb 10 13:28:28 ivanvault monit[1071]: 'php-fpm' process is running after previous exec error (slow starting or manually recovered?)
      17. Feb 10 13:28:28 ivanvault monit[1071]: 'nginx' process is running with pid 1298
      18. Feb 10 13:28:28 ivanvault monit[1071]: 'nginx' process is running after previous exec error (slow starting or manually recovered?)
      19. Feb 10 13:28:28 ivanvault monit[1071]: 'omv-engined' process is running with pid 1346
      Display All
      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.
      Files
      • syslog.txt

        (759.3 kB, downloaded 45 times, last: )