Hi all,
I tried to install the SNMP extension on my OMV 5.6.26-1. Installation fails with error messages "Failed to read from socket: Connection reset by peer", right after "Updating locale files ...".
Afterwards, I cannot log into the UI anymore. When trying to log in, I get the error message:
OMV\Rpc\Exception: Failed to connect to socket: Connection refused in /usr/share/php/openmediavault/rpc/rpc.inc:141
Stack trace:
#0 /var/www/openmediavault/rpc/session.inc(57): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)
#1 [internal function]: OMVRpcServiceSession->login(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)
#4 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)
#5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
#6 {main}
omv-engined -d -f prints out "PHP Fatal error: Cannot declare class Snmp, because the name is already in use in /usr/share/openmediavault/engined/module/snmp.inc on line 22".
After uninstall of the SNMP extension on the command line using apt-get --purge remove openmediavault-snmp, everything works like before.
How can I install SNMP extension?
Thx for any help!