<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Every time that I have to restart the nut-server it's a nightmare.<br><br></div><div>For example, after editing ups.conf<br><br></div><div>In many cases the only "solution" is to reboot the system.<br><br></div><div>These are the errors:<br><br>systemctl -l status nut-driver<br>● nut-driver.service - Network UPS Tools - power device driver controller<br>   Loaded: loaded (/usr/lib/systemd/system/nut-driver.service; static; vendor preset: disabled)<br>   Active: failed (Result: exit-code) since vie 2016-06-03 12:10:05 ART; 7s ago<br>  Process: 7511 ExecStop=/usr/sbin/upsdrvctl stop (code=exited, status=0/SUCCESS)<br>  Process: 9246 ExecStart=/usr/sbin/upsdrvctl start (code=exited, status=1/FAILURE)<br>  Process: 9245 ExecStartPre=/usr/bin/systemd-tmpfiles --create /etc/tmpfiles.d/nut-run.conf (code=exited, status=1/FAILURE)<br><br>jun 03 12:10:03 nut-vm.infoestructura.local upsdrvctl[9246]: [APC_edificio_1] Warning: excessive poll failures, limiting error reporting<br>jun 03 12:10:05 nut-vm.infoestructura.local snmp-ups[9275]: Startup successful<br>jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: No supported device detected<br>jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Network UPS Tools - Generic SNMP UPS driver 0.72 (2.7.2)<br>jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: nut-driver.service: control process exited, code=exited status=1<br>jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Driver failed to start (exit status=1)<br>jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Network UPS Tools - UPS driver controller 2.7.2<br>jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: Failed to start Network UPS Tools - power device driver controller.<br>jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: Unit nut-driver.service entered failed state.<br>jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: nut-driver.service failed.<br><br></div></div><br></div><div>upsmon has lot of:<br><br>"connect failed: Connection failure: Connection refused"<br><br></div><div>Using:<br><br>nut-client-2.7.2-3.el7.x86_64<br>nut-2.7.2-3.el7.x86_64<br>nut-cgi-2.7.2-3.el7.x86_64<br></div><div> <br></div><div>on CentOS 7.2<br></div><div><br></div>Any ideas?<br clear="all"><div><div><div><div><div><div><div><div><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">--<br>Sergio Belkin<br>LPIC-2 Certified - <a href="http://www.lpi.org" target="_blank">http://www.lpi.org</a></div></div></div></div>
</div></div></div></div></div></div></div></div></div>