nut

Patrick Dupre Patrick.Dupre at univ-littoral.fr
Wed Mar 13 19:54:17 UTC 2013


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 at 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/be02cf6855d2428ba40df7e9d022f03d
> -- 
> -- 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 at 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 at 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 DUPRÉ                          | |  email: pdupre at 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
======================================================================




More information about the users mailing list