<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Aug 22, 2008, at 7:18 AM, Steve T wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> This will sound a bit odd.<br> I have a current server running with a UPS. I'm in the process of replacing that server with another and obviously want Nut to monitor the new server. The new/old servers are in different locations, so I don't have access to the UPS while configuring the replacement server.<br> I think I have the config ok, but what errors would you expect to see? Typically I'm getting a 'driver not connected' type error in the /var/log/messages:</blockquote><div><br></div><div>"driver not connected" is normal. However...</div><br><blockquote type="cite"><b><tt>Aug 19 18:07:16 T300 upsd[1308]: listening on 0.0.0.0 port 3493</tt></b><br> <b><tt>Aug 19 18:07:16 T300 upsd[1308]: Can't connect to UPS [belkin] (belkinunv-belkin): No such file or directory</tt></b><br> <b><tt>Aug 19 18:07:16 T300 upsd[1309]: Startup successful</tt></b><br> <b><tt>Aug 19 18:07:16 T300 upsmon[1312]: Startup successful</tt></b><br> <b><tt>Aug 19 18:07:16 T300 upsd[1309]: Client <a href="mailto:nutmon@127.0.0.1">nutmon@127.0.0.1</a> logged into UPS [belkin]</tt></b><br> <b><tt>Aug 19 18:07:16 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br> <b><tt>Aug 19 18:07:16 T300 upsmon[1313]: Communications with UPS belkin@localhost lost</tt></b><br> <b><tt>Aug 19 18:07:21 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br> <b><tt>Aug 19 18:07:21 T300 upsmon[1313]: UPS belkin@localhost is unavailable</tt></b><br> <b><tt>Aug 19 18:07:26 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br> <b><tt>Aug 19 18:07:29 T300 upsd[1342]: not listening on 0.0.0.0 port 3493</tt></b><br> <b><tt>Aug 19 18:07:29 T300 upsmon[1347]: Startup successful</tt></b><br> <b><tt>Aug 19 18:07:29 T300 upsd[1309]: Client <a href="mailto:nutmon@127.0.0.1">nutmon@127.0.0.1</a> logged into UPS [belkin]</tt></b><br> <b><tt>Aug 19 18:07:29 T300 upsmon[1348]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br> <b><tt>Aug 19 18:07:29 T300 upsmon[1348]: Communications with UPS belkin@localhost lost</tt></b><br> <b><tt>Aug 19 18:07:31 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br> <b><tt>Aug 19 18:07:34 T300 upsmon[1348]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br> <b><tt>Aug 19 18:07:34 T300 upsmon[1348]: UPS belkin@localhost is unavailable</tt></b><br> <b><tt>Aug 19 18:07:36 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br> <b><tt>Aug 19 18:07:39 T300 upsmon[1348]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br> <b><tt>Aug 19 18:07:41 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</tt></b><br></blockquote></div><div><br></div><div>Having two copies of upsmon (1313 and 1348) logging messages about the same UPS is not expected, though.</div><div><br></div><div>Also note:</div><div><br></div><div><blockquote type="cite"><b><tt>Aug 19 18:07:16 T300 upsd[1308]: listening on 0.0.0.0 port 3493</tt></b><br></blockquote>[...]</div><div><blockquote type="cite"><b><tt>Aug 19 18:07:29 T300 upsd[1342]: not listening on 0.0.0.0 port 3493</tt></b><br></blockquote><br></div><div>The second copy of upsd can't bind to the same port as the first one, so you get the above error message.</div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br class="webkit-block-placeholder"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>