<br><br><div><span class="gmail_quote">2005/12/19, Mathieu Bruneau <<a href="mailto:mathieu.bruneau@argontechnologies.ca">mathieu.bruneau@argontechnologies.ca</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br> I feel that i'm having a small problem with my upsmon configuration<br>(maybe even simply a permissions problem) since I upgrade today to 2.0.2</blockquote><div><br>
the solution depends on the previous version you were running (ie 1.4 or already 2.0) <br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have apcsmart set up and talk to my ups no problem (upsc get answer).<br>I have upsd running no problem!
<br><br>But when I try to start upsmon, it's unable to talk to my upsd. Having<br>try a few option I found that saying RUN_AS_USER=root makes my upsmon<br>runs without any problem.<br><br>Here is the message I receive from the Debug:
<br><br>rounoff:/var/run/nut# upsmon -D<br>Network UPS Tools upsmon 2.0.2<br>UPS: bup@localhost (master) (power value 1)<br>Using power down flag file /etc/killpower<br><br>Trying to connect to UPS [bup@localhost]<br>UPS [
bup@localhost]: connect failed: No such host<br>do_notify: ntype 0x0005 (COMMBAD)<br>Communications with UPS bup@localhost lost<br><br>I found that if I put the -p it work but i'm not sure of what that's<br>implying.<br><br>
Any clues of how to fix that problem ? Where to look?</blockquote><div><br>
according to your tests, this is a permission problem.<br>
<br>
Send us back the following info:<br>
- platform (ie debian, redhat, ...)<br>
- install method (from package or source)<br>
- upsd.conf, upsmon.conf (trim the password) <br>
</div>- previous nut version<br></div><br clear="all">Arnaud<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt<br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/
</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>OpenSource Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a>