Pages : 1
#1 Le 08/02/2011, à 10:09
- droopy191
APC smartups x 1500 et nut
Salut,
Je cherche à monitorer un onduleur APC smart ups x 1500 branché en usb avec nut sur une Ubuntu 10.04 .
Pas moyen de faire détecter l'ups, il est supporté en principe ( sur le site de nut )
j'ai essayé différentes choses au niveau configuration
ups.conf
[apc1500]
driver = apcsmart
port = auto
desc = "APC Smart-UPS X 1500"
si je démarre le pilote
upsdrvctl -u root start apc1500
Network UPS Tools - UPS driver controller 2.4.3
Network UPS Tools - APC Smart protocol driver 2.03 (2.4.3)
APC command table version 2.1
Unable to open auto: No such file or directory
Things to try:
- Check 'port=' in ups.conf
- Check owner/permissions of all parts of path
Fatal error: unusable configuration
Driver failed to start (exit status=1)
Si vous avez des idées, ou des liens qui pourraient me guider, merci d'avance.
Dernière modification par droopy191 (Le 08/02/2011, à 10:10)
Hors ligne
#2 Le 08/02/2011, à 10:21
- Vysserk3
Re : APC smartups x 1500 et nut
T'as bien lancé le démon avant ? (http://doc.ubuntu-fr.org/nut#lancer_le_ … nuellement) ?
Essaye d'enlever le -u root et de le lancer en mode verbeux pour voir si ca sort plus de chose :
upsdrvctl -DDDD start
Hors ligne
#3 Le 08/02/2011, à 20:05
- droopy191
Re : APC smartups x 1500 et nut
T'as bien lancé le démon avant ? (http://doc.ubuntu-fr.org/nut#lancer_le_ … nuellement) ?
Essaye d'enlever le -u root et de le lancer en mode verbeux pour voir si ca sort plus de chose :upsdrvctl -DDDD start
le lancement du démon échoue
Starting Network UPS Tools: (driver(s) failed).
C'est pour ca que j'essaie le driver en premier.
le -u root est la pour éviter un problème de droit sur le périphérique ( mais le résultat est le meme et meme si le périphérique appartient bien au groupe nut ).
upsdrvctl -DDDD start
Network UPS Tools - UPS driver controller 2.4.3
0.000000
If you're not a NUT core developer, chances are that you're told to enable debugging
to see why a driver isn't working for you. We're sorry for the confusion, but this is
the 'upsdrvctl' wrapper, not the driver you're interested in.
Below you'll find one or more lines starting with 'exec:' followed by an absolute
path to the driver binary and some command line option. This is what the driver
starts and you need to copy and paste that line and append the debug flags to that
line (less the 'exec:' prefix).
0.000631 Starting UPS: apc1500
0.000672 exec: /lib/nut/apcsmart -a apc1500
Network UPS Tools - APC Smart protocol driver 2.03 (2.4.3)
APC command table version 2.1
Unable to open auto: No such file or directory
Things to try:
- Check 'port=' in ups.conf
- Check owner/permissions of all parts of path
Fatal error: unusable configuration
0.004140 Driver failed to start (exit status=1)
merci pour ton aide.
Hors ligne
Pages : 1