NUT UPS Plugin 3.2.7

  • After 15 or 20 min I start gettting alerts from OMV that my UPS is not communicating.


    When I go to the webinterface I get the following error:
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; upsc 'CP1000PFCLCD' 2>&1' with exit code '1': Init SSL without certificate database Error while connecting to localhost, disconnect Error: Server disconnected
    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; upsc 'CP1000PFCLCD' 2>&1' with exit code '1': Init SSL without certificate database
    Error while connecting to localhost, disconnect
    Error: Server disconnected' in /usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/nut.inc(100): OMV\System\Process->execute(Array)
    #1 [internal function]: OMVRpcServiceNetworkUPSTools->getStats(NULL, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('getStats', NULL, Array)
    #4 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Nut', 'getStats', NULL, Array, 1)
    #5 {main}



    If I open up a CLI and do the following I get the following message:


    omv-mkconf nut
    systemctl restart nut-monitor
    systemctl restart nut-server


    Job for nut-server.service failed. See 'systemctl status nut-server.service' and 'journalctl -xn' for details.


    However if I do the same thing one more time everything starts working for 10-15 min and then I start getting email from OMV that my UPS is disconnected.


    omv-mkconf nut
    systemctl restart nut-monitor
    systemctl restart nut-server



    Are there any logs or something I can review? Anyone have any ideas?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!