[Eisfair_dev] nut v0.91.0 testing für eisfair-1

Stefan Puschek stefan.puschek at t-online.de
So Mai 18 16:55:54 CEST 2014


Hallo Jürgen,

wir kommen der Sache näher:

>>> Hast Du schon einmal versucht den 'apcsmart'-Treiber manuell zu starten
>>> um dann detailliertere Meldungen zu bekommen:
…
>> darüber hinaus kannst Du auch einmal eine ältere Treiberversion namens
>> 'apcsmart-old' ausprobieren.
> 
> barbrady # ./apcsmart-old -DDDDD -a ups
> Network UPS Tools - APC Smart protocol driver 2.1 (2.7.1)
> APC command table version 2.2
>    0.000000 send_to_all: SETINFO driver.parameter.port "/dev/ttyS0"
>    0.000080 send_to_all: SETINFO driver.parameter.cable "940_0024C"
>    0.000131 debug level is '5'
>    0.001071 /dev/ttyS0 is locked by another process

lsof /dev/ttyS0 sagt mir, dass da ein apcsmart-process schuld ist: gesucht, 
gekillt, nun klappte besser - ich bekomme jede Menge Output, den ich auch 
erkenne. Ohne -old kam kein mir bekannter Wert vorbei. Allerdings klemmt da 
nochwas:

Activate configuration now (y/n) [yes]? 

version: v0.91.0
creating ups.conf ...
creating upsd.conf ...
creating upsd.users ...
creating upsmon.conf ...
/var/install/config.d/nut.sh: line 797: [yes: command not found
creating upssched.conf ...
creating run config file ...
creating hosts.conf ...
creating upsset.conf ...
copying web cgi files ...
copying web html files ...
creating .htaccess file for cgi files ...
adding NUT service ...
setting access rights and ownership ...
finished.
shutting down NUT UPS monitor ... not running.
shutting down NUT UPS server ... not running.
unloading NUT UPS drivers ... not loaded.
loading NUT UPS drivers ... 
- 'apcsmart-old' for ups 'ups' ... failed.
starting NUT UPS server ... done.
starting NUT UPS monitor ... startproc:  exit status of parent of /usr/sbin/
upsmon: 1
failed.
Press ENTER to continue 

Groetjes
Stefan







Mehr Informationen über die Mailingliste Eisfair_dev