[Nut-upsuser] Restarting service issues
Sergio Belkin
sebelk at gmail.com
Fri Jun 3 15:13:05 UTC 2016
Hi,
Every time that I have to restart the nut-server it's a nightmare.
For example, after editing ups.conf
In many cases the only "solution" is to reboot the system.
These are the errors:
systemctl -l status nut-driver
● nut-driver.service - Network UPS Tools - power device driver controller
Loaded: loaded (/usr/lib/systemd/system/nut-driver.service; static;
vendor preset: disabled)
Active: failed (Result: exit-code) since vie 2016-06-03 12:10:05 ART; 7s
ago
Process: 7511 ExecStop=/usr/sbin/upsdrvctl stop (code=exited,
status=0/SUCCESS)
Process: 9246 ExecStart=/usr/sbin/upsdrvctl start (code=exited,
status=1/FAILURE)
Process: 9245 ExecStartPre=/usr/bin/systemd-tmpfiles --create
/etc/tmpfiles.d/nut-run.conf (code=exited, status=1/FAILURE)
jun 03 12:10:03 nut-vm.infoestructura.local upsdrvctl[9246]:
[APC_edificio_1] Warning: excessive poll failures, limiting error reporting
jun 03 12:10:05 nut-vm.infoestructura.local snmp-ups[9275]: Startup
successful
jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: No supported
device detected
jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Network UPS
Tools - Generic SNMP UPS driver 0.72 (2.7.2)
jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: nut-driver.service:
control process exited, code=exited status=1
jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Driver failed
to start (exit status=1)
jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Network UPS
Tools - UPS driver controller 2.7.2
jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: Failed to start
Network UPS Tools - power device driver controller.
jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: Unit
nut-driver.service entered failed state.
jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: nut-driver.service
failed.
upsmon has lot of:
"connect failed: Connection failure: Connection refused"
Using:
nut-client-2.7.2-3.el7.x86_64
nut-2.7.2-3.el7.x86_64
nut-cgi-2.7.2-3.el7.x86_64
on CentOS 7.2
Any ideas?
--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20160603/d37dac8e/attachment.html>
More information about the Nut-upsuser
mailing list