Hello,
I am trying to have my UPS OK. After a lot of efforts I am at a point where I get:
Dependency failed for Network UPS Tools - power devices information server. -- Subject: Unit nut-server.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40...
Hello,
Complementary information: upsdrvctl start responds as: Network UPS Tools - UPS driver controller 2.6.5 Network UPS Tools - Generic HID driver 0.37 (2.6.5) USB communication driver 0.31 Duplicate driver instance detected! Terminating other driver! Using subdriver: MGE HID 1.31
nut-monitor start OK, but nut-driver and nut-server fail: systemctl status nut-driver.service nut-driver.service - Network UPS Tools - power device driver controller Loaded: loaded (/usr/lib/systemd/system/nut-driver.service; static) Active: failed (Result: exit-code) since Wed 2013-03-13 20:48:57 CET; 9s ago Process: 17211 ExecStart=/sbin/upsdrvctl start (code=exited, status=1/FAILURE)
Mar 13 20:48:56 Homere systemd[1]: Starting Network UPS Tools - power device driver controller... Mar 13 20:48:57 Homere upsdrvctl[17211]: Can't claim USB device [0463:ffff]: No such file or directory Mar 13 20:48:57 Homere upsdrvctl[17211]: Network UPS Tools - Generic HID driver 0.37 (2.6.5) Mar 13 20:48:57 Homere upsdrvctl[17211]: USB communication driver 0.31 Mar 13 20:48:57 Homere upsdrvctl[17211]: Driver failed to start (exit status=1) Mar 13 20:48:57 Homere upsdrvctl[17211]: Network UPS Tools - UPS driver controller 2.6.5 Mar 13 20:48:57 Homere systemd[1]: nut-driver.service: control process exited, code=exited status=1 Mar 13 20:48:57 Homere systemd[1]: Failed to start Network UPS Tools - power device driver controller. Mar 13 20:48:57 Homere systemd[1]: Unit nut-driver.service entered failed state
systemctl status nut-server.service nut-server.service - Network UPS Tools - power devices information server Loaded: loaded (/usr/lib/systemd/system/nut-server.service; enabled) Active: inactive (dead)
Mar 13 20:34:22 Homere systemd[1]: Dependency failed for Network UPS Tools - power devices information server. Mar 13 20:34:31 Homere systemd[1]: Dependency failed for Network UPS Tools - power devices information server. Mar 13 20:34:58 Homere systemd[1]: Dependency failed for Network UPS Tools - power devices information server. Mar 13 20:37:25 Homere systemd[1]: Dependency failed for Network UPS Tools - power devices information server. Mar 13 20:48:33 Homere systemd[1]: Dependency failed for Network UPS Tools - power devices information server.
Quoting mer, 13 mar 2013 Patrick Dupre Patrick.Dupre@univ-littoral.fr:
Hello,
I am trying to have my UPS OK. After a lot of efforts I am at a point where I get:
Dependency failed for Network UPS Tools - power devices information server. -- Subject: Unit nut-server.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40... --
-- Unit nut-server.service has failed.
-- The result is dependency. Mar 13 20:37:25 Homere systemd[1]: Unit nut-driver.service entered failed state Mar 13 20:37:25 Homere setroubleshoot[16213]: analyze_avc() avc=scontext=system_u:system_r:nut_upsdrvctl_t:s0 tcontex Mar 13 20:37:25 Homere setroubleshoot[16213]: lookup_signature: found 1 matches with scores 1.00 Mar 13 20:37:25 Homere setroubleshoot[16213]: signature found in database Mar 13 20:37:25 Homere setroubleshoot[16213]: sending alert to all clients Mar 13 20:37:25 Homere setroubleshoot[16213]: SELinux is preventing /usr/sbin/usbhid-ups from unlink access on the fi M
Any idea?
--
Patrick DUPRÉ | | email: pdupre@kegtux.org Laboratoire de Physico-Chimie de l'Atmosphère Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ======================================================================
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Patrick Dupre wrote:
Hello,
Complementary information: upsdrvctl start responds as: Network UPS Tools - UPS driver controller 2.6.5 Network UPS Tools - Generic HID driver 0.37 (2.6.5) USB communication driver 0.31 Duplicate driver instance detected! Terminating other driver! Using subdriver: MGE HID 1.31
The "Duplicate driver instance" is a pretty strong hint that something else has grabbed the device. Before starting nut you might see if udev saw the UPS and started something for you (perhaps not what you wanted).
lsusb - should identify the USB connection lsof - may be able to tell you what's using it, if something really is.
And there you have the total of my ideas, hope it helped.
Hello,
The glitch has been fixed by just rebooting the machine!
Thank.
Patrick Dupre wrote:
Hello,
Complementary information: upsdrvctl start responds as: Network UPS Tools - UPS driver controller 2.6.5 Network UPS Tools - Generic HID driver 0.37 (2.6.5) USB communication driver 0.31 Duplicate driver instance detected! Terminating other driver! Using subdriver: MGE HID 1.31
The "Duplicate driver instance" is a pretty strong hint that something else has grabbed the device. Before starting nut you might see if udev saw the UPS and started something for you (perhaps not what you wanted).
lsusb - should identify the USB connection lsof - may be able to tell you what's using it, if something really is.
And there you have the total of my ideas, hope it helped.
-- Bill Davidsen davidsen@tmr.com "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/13/2013 03:45 PM, Patrick Dupre wrote:
Hello,
I am trying to have my UPS OK. After a lot of efforts I am at a point where I get:
Dependency failed for Network UPS Tools - power devices information server. -- Subject: Unit nut-server.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40...
Looks like setroubleshoot is complaining about an AVC, so SELinux is probably blocking your access.