<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>On the slave which is 192.168.0.6 in /var/log/daemon.log I see entries of:</div><div><br></div><div>Nov 10 17:43:03 server2 upsmon[2120]: Poll UPS [root@192.168.0.7] failed - [root] does not exist on server 192.168.0.7</div><div><br></div><div>In upsmon.conf I have one entry:</div><div><br></div><div>MONITOR root@192.168.0.7 1 sdrups autocadba2 slave</div><div><br></div><div>(Yes, I realize I displayed my password some time ago)</div><div><br></div><div>So I think it is saying that root does not exist on server which is confusing as on the server 192.168.0.7 I have.</div><div><br></div><div>In upsd.users I have</div><div><br></div><div><div>    [root]</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>password  = autocadba2</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>upsmon master</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>instcmds = ALL</div></div><div><br></div><div>So why is it saying root does not exist on server?</div><div><br></div><div><br></div><div><br></div><div><br><br><br><div><hr id="stopSpelling">Subject: Re: [Nut-upsuser] Master Works, Slave Does Not<br>From: clepple@gmail.com<br>Date: Mon, 10 Nov 2014 07:34:44 -0500<br>CC: nut-upsuser@lists.alioth.debian.org<br>To: sd_read@hotmail.com<br><br>On Nov 9, 2014, at 7:56 PM, Steve Read <<a href="mailto:sd_read@hotmail.com">sd_read@hotmail.com</a>> wrote:<br><div><br class="ecxApple-interchange-newline"><blockquote><div class="ecxhmmessage" style="font-size:12pt;font-family:Calibri;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><div dir="ltr">Boy, I guess I got that one wrong.<div><br></div><div>When I run nmap on the master it does say that port 3493 is open which is expected.</div><div><br><div>So then what you are telling me means the ports are open. </div><div>In other words I don't have a firewall issue.</div></div></div></div></blockquote><div class="ecxhmmessage" style="font-size:12pt;font-family:Calibri;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><div dir="ltr"><div style="font-style:normal;"><div><br></div></div><div>I know this sounds incredibly pedantic, but if you run nmap <i>on the slave</i> and scan the master, and it says the ports are open, then you don't have a firewall issue. The "netstat" output is independent of the firewall.</div><div style="font-style:normal;"><br></div></div></div><blockquote><div class="ecxhmmessage" style="font-size:12pt;font-family:Calibri;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><div dir="ltr"><div><div>Now I am stumped as to why the slave does not shut down?<br></div></div></div><br></div></blockquote></div><div><br></div><div><div style="font-family:Calibri;font-size:16px;">You should see something like this in /var/log/daemon.log on the slave (and on the master, but you said that was shutting down already):</div><div style="font-family:Calibri;font-size:16px;"><br></div><div style="font-family:Calibri;font-size:16px;"><div style="font-size:14px;font-family:Monaco;">upsmon[1234]: Communications with UPS <a href="mailto:sdrups@192.168.0.7">sdrups@192.168.0.7</a> established</div><div><br></div></div></div><div>Once that connection is up, you can run "sudo upsmon -c fsd" on the master to simulate a power failure (to avoid running down the batteries too much). Note that this will shut down the master system, too. Details are in the <a href="http://www.networkupstools.org/docs/man/upsmon.html" target="_blank">upsmon man page</a>.</div><br><div>
<span class="ecxApple-style-span" style="border-collapse:separate;border-spacing:0px;"><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div></span><br class="ecxApple-interchange-newline">

</div>
<br></div></div>                                        </div></body>
</html>