Nut issues after install

  • Hi,
    I have a issue after installing Nut on omv 3.0.63 im getting the Message




    Failed to execute XPath query '//services/nut'



    Error #0: exception 'OMV\Config\DatabaseException' with message 'Failed to execute XPath query '//services/nut'.' in /usr/share/php/openmediavault/config/database.inc:78 Stack trace: #0 /usr/share/openmediavault/engined/module/nut.inc(99): OMV\Config\Database->get('conf.service.nu...') #1 /usr/share/openmediavault/engined/rpc/services.inc(56): OMVModuleNetworkUPSTools->getStatus() #2 [internal function]: OMVRpcServiceServices->getStatus(Array, Array) #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getStatus', Array, Array) #5 /usr/sbin/omv-engined(522): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 1) #6 {main}


    Can any one help im new to Linux and i don't know how to fix it thanks


    Hardware: Raspberry pi 2, Ups APC CS 350

  • I had the same issue with NUT service and after manually creating "conf.service.nut" NUT service started without problem.


    Here is my readout of "conf.service.nut":


    {"upsname": "ups", "comment": "", "shutdownmode": "onbatt", "remotepassword": "", "shutdowntimer": 30, "remoteuser": "", "enable": false, "driverconf": "", "remotemonitor": false}

Jetzt mitmachen!

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