<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Steve,</div><div><br></div><div>You're welcome.</div><div><br></div><div>I forgot to clarify that while you will have two upsmon processes running (one with root privileges, the other which listens on the network socket), only one should be logging.</div><div><br><div><div>On Aug 22, 2008, at 8:37 AM, Steve T wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">  Charles,<br> Thanks for that. <br> I think the duplicated startup was caused by me also editing /etc/sysconfig/ups as well as the NUT specific config files. I have removed the /etc/sysconfig changes and the messages file looks ok (comparatively!).<br> <br> <br> On Fri, 2008-08-22 at 08:20 -0400, Charles Lepple wrote: <blockquote type="CITE">    <font color="#000000">On Aug 22, 2008, at 7:18 AM, Steve T wrote:</font> </blockquote> <blockquote type="CITE">    <br>    <blockquote type="CITE">        <font color="#000000">This will sound a bit odd.</font><br>        <font color="#000000">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.</font><br>        <font color="#000000">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:</font>    </blockquote> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font color="#000000">"driver not connected" is normal. However...</font> </blockquote> <blockquote type="CITE">    <br>    <blockquote type="CITE">        <b><tt><font color="#000000">Aug 19 18:07:16 T300 upsd[1308]: listening on 0.0.0.0 port 3493</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:16 T300 upsd[1308]: Can't connect to UPS [belkin] (belkinunv-belkin): No such file or directory</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:16 T300 upsd[1309]: Startup successful</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:16 T300 upsmon[1312]: Startup successful</font></tt></b><br>        <b><tt><font color="#000000">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]</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:16 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:16 T300 upsmon[1313]: Communications with UPS belkin@localhost lost</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:21 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:21 T300 upsmon[1313]: UPS belkin@localhost is unavailable</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:26 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:29 T300 upsd[1342]: not listening on 0.0.0.0 port 3493</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:29 T300 upsmon[1347]: Startup successful</font></tt></b><br>        <b><tt><font color="#000000">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]</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:29 T300 upsmon[1348]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:29 T300 upsmon[1348]: Communications with UPS belkin@localhost lost</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:31 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:34 T300 upsmon[1348]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:34 T300 upsmon[1348]: UPS belkin@localhost is unavailable</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:36 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:39 T300 upsmon[1348]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b><br>        <b><tt><font color="#000000">Aug 19 18:07:41 T300 upsmon[1313]: Poll UPS [belkin@localhost] failed - Driver not connected</font></tt></b>    </blockquote> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font color="#000000">Having two copies of upsmon (1313 and 1348) logging messages about the same UPS is not expected, though.</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font color="#000000">Also note:</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <blockquote type="CITE">        <b><tt><font color="#000000">Aug 19 18:07:16 T300 upsd[1308]: listening on 0.0.0.0 port 3493</font></tt></b><br>    </blockquote>    <font color="#000000">[...]</font> </blockquote> <blockquote type="CITE">    <blockquote type="CITE">        <b><tt><font color="#000000">Aug 19 18:07:29 T300 upsd[1342]: not listening on 0.0.0.0 port 3493</font></tt></b><br>    </blockquote>    <br>    <br> </blockquote> <blockquote type="CITE">    <font color="#000000">The second copy of upsd can't bind to the same port as the first one, so you get the above error message.</font> </blockquote> <blockquote type="CITE">    <br> </blockquote> <blockquote type="CITE">    <font color="#000000">-- </font> </blockquote> <blockquote type="CITE">    <font color="#000000">Charles Lepple</font> </blockquote> <blockquote type="CITE">    <font color="#000000">clepple@gmail</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <br> </blockquote>  </blockquote></div><br></div></body></html>