<p>upsd and upsmon are located in *s*bin ;-)</p>
<p>Cheers,<br>
Arno<br>
--<br>
(sent from my eeePad... please excuse my brevity)</p>
<div class="gmail_quote">Le 16 mai 2012 22:02, "Vladimir Micovic" <<a href="mailto:vladimir@micovic.com">vladimir@micovic.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Hello Arnaud,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Problem is that I don`t have upsd and upsmon, I downloaded latest version 3 day before from homepage. In bin folder I have:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">upsc          upscmd        upscode2      upsdrvctl     upslog        upsrw         upssched-cmd<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">And /etc/hosts is:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">127.0.0.1               optimus optimus.galaxy localhost<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Arnaud Quette [mailto:<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>] <br>
<b>Sent:</b> Wednesday, May 16, 2012 8:32 PM<br><b>To:</b> Vladimir Micovic<br><b>Cc:</b> Charles Lepple; NUT Users<br><b>Subject:</b> Re: [Nut-upsuser] i am stuck with setup :)<u></u><u></u></span></p><p class="MsoNormal">
<u></u> <u></u></p><p>This question still stand.<br>To complete Charles answer, to fully start nut, you must call:<br>$ upsdrvctl start<br>$ upsd<br>$ upsmon<u></u><u></u></p><p>The latter being optional for upsc, but mandatory for protection.<br>
A last hint: are you 100% sure that localhost resolves to 127.0.0.1?<br>Try pinging localhost, or check your /etc/hosts...<br>Or simply call 'upsc mustek'<u></u><u></u></p><p>Cheers,<br>Arno<br>--<br>(sent from my eeePad... please excuse my brevity)<u></u><u></u></p>
<div><p class="MsoNormal">Le 16 mai 2012 09:48, "Vladimir Micovic" <<a href="mailto:vladimir@micovic.com" target="_blank">vladimir@micovic.com</a>> a écrit :<u></u><u></u></p><p class="MsoNormal">U mean on: <a href="http://pastebin.com/s1bZRPay" target="_blank">http://pastebin.com/s1bZRPay</a> ?<br>
<br>p.s: I change conf. file upsd.users, add line "allowfrom = localhost"<br><br>and this is now upsd.conf:<br>"ACL all <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a><br>ACL localhost <a href="http://127.0.0.1/32" target="_blank">127.0.0.1/32</a><br>
ACCEPT localhost<br>REJECT all"<br><br><br><br>-----Original Message-----<br>From: Charles Lepple [mailto:<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>]<br>Sent: Wednesday, May 16, 2012 2:01 AM<br>
To: Vladimir Micovic<br>Cc: <a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a><br>Subject: Re: [Nut-upsuser] i am stuck with setup :)<br><br>On May 15, 2012, at 6:07 PM, Vladimir Micovic wrote:<br>
<br>> Problem is that I cannot get info from UPS:<br>> <a href="http://pastebin.com/BtpE2Be1" target="_blank">http://pastebin.com/BtpE2Be1</a> I got contact with UPS via blazer_usb<br>> driver <a href="http://pastebin.com/38BZteFC" target="_blank">http://pastebin.com/38BZteFC</a><br>
<br>> # /usr/local/ups/bin/upsc mustek@localhost<br>> Error: Connection failure: Connection refused<br><br>Is upsd running?<br><br>--<br>Charles Lepple<br>clepple@gmail<br><br><br><br><br>_______________________________________________<br>
Nut-upsuser mailing list<br><a href="mailto:Nut-upsuser@lists.alioth.debian.org" target="_blank">Nut-upsuser@lists.alioth.debian.org</a><br><a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a><u></u><u></u></p>
</div></div></div></blockquote></div>