<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Courier New";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Hello Arnaud,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></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:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>upsc upscmd upscode2 upsdrvctl upslog upsrw upssched-cmd<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>And /etc/hosts is:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>127.0.0.1 optimus optimus.galaxy localhost<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></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:aquette.dev@gmail.com] <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 :)<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></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<o:p></o:p></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'<o:p></o:p></p><p>Cheers,<br>Arno<br>--<br>(sent from my eeePad... please excuse my brevity)<o:p></o:p></p><div><p class=MsoNormal>Le 16 mai 2012 09:48, "Vladimir Micovic" <<a href="mailto:vladimir@micovic.com">vladimir@micovic.com</a>> a écrit :<o:p></o:p></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">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">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">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><o:p></o:p></p></div></div></body></html>