<br><div class="gmail_quote">2009/8/4 Antoine Gatineau <span dir="ltr"><<a href="mailto:antoine.gatineau@alcatel-lucent.com">antoine.gatineau@alcatel-lucent.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">Hello everyone,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span></div></div></blockquote><div><br>Hi Antoine,<br>Â <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div dir="ltr" align="left">Â </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">I have nut and nut-client installed from rpm, up and
running without any error in the logs or at screen.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">upsc gives me the state of the battery and stuff. It seems
functional.</font></span></div>
</div></blockquote><div><br>nice<br>Â <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div dir="ltr" align="left"></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">Is there something to do in order to verify the health of
the whole chain? (upsmon -> upsd -> upsdrv)</font></span></div>
</div></blockquote><div><br>yep, unplug the UPS' power cord, and check that upsc has an ups.status = OB<br><br>Â </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div dir="ltr" align="left"></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">One last question, after installing the rpms,
/var/state/ups is not created and the rights are not given like it should. I was
suprised to see that this was not ntegrated in RHEL5 rpms... Is there some
restriction to integrate that configuration?</font></span></div></div></blockquote><div><br>most modern distro have a volatile /var fs. For example, on Debian, the init.d script create these dirs at launch time...<br><br>
cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
<div dir="ltr" lang="fr" align="left">
<hr>
<font face="Tahoma" size="2"><div class="im"><b>De :</b> Arnaud Quette
[mailto:<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>] <br></div><b>Envoyé :</b> lundi 3 août 2009
21:46<div class="im"><br><b>À :</b> Antoine Gatineau<br><b>Cc :</b>
nut-upsuser<br><b>Objet :</b> Re: [Nut-upsuser] Usbhip-ups going
wild<br></div></font><br></div>
<div></div><br><div><div></div><div class="h5"><br>
<div class="gmail_quote">2009/8/3 Antoine Gatineau <span dir="ltr"><<a href="mailto:antoine.gatineau@alcatel-lucent.com" target="_blank">antoine.gatineau@alcatel-lucent.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">I tried to
recompile without xorg-x11-devel and I get this error :</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">configure:
error: libgd not found, required for CGI build.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">It is
indeed required for nut-cgi</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">udev-devel, however, is not required.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span>Â </div></div></blockquote>
<div><br>yup, you got me wrong: only the dbus-glib as to be removed. xorg-devel
(or xpm-devel) is needed for nut-cgi<br>Â <br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">Anyway I
made it build correctly.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">I attached
nut.spec (modified for RHEL4) and nut.spec.ori (original spec file for RHEL5)
for info.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span>Â </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">There were
no %files entry for libhidups,
libhid.usermap</font></span></div></div></blockquote>
<div><br>these 2 are for hotplug. if you use udev, you don't need
these.<br>Â <br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">and
20-ups-nut-device.fdi</font></span></div></div></blockquote>
<div><br>this file is for HAL. so not needed too.<br>Â <br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">in the
original spec file, so I added them. I'm not an rpm building expert but I
wonder how it could work...</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">I also
removed hal, powerman and netxml-ups man page and related files as they are
not used in this package.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span>Â </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">I didn't
test it running yet but I expect it to be OK. I'll come back to you with
results. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span>Â </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">BTW, in
the first answer to this (too?) long thread, Arjen said that there were
lot of bug fixes and performance improvement done since nut-2.2.0. Is there a
bug tracker to seek if my issues will be solved with this new
one?</font></span></div></div></blockquote>
<div><br>to be short: ChangeLog<br><br>cheers<br></div>Arnaud<br></div>--
<br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</a><br>Network
UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian
Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free
Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br></div></div></div>
</blockquote></div><br><br clear="all"><br><br>