<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span class="">I deleted the plist file and rebooted:</span></div><div class=""><span class=""><br class=""></span></div><span class="">sudo /sw/sbin/upsmon -D<br class=""></span><span class="">Network UPS Tools upsmon 2.7.4<br class=""></span><span class=""> 0.000000<span class="Apple-tab-span" style="white-space:pre"> </span>fopen /sw/var/run/upsmon.pid: No such file or directory<br class=""></span><span class=""> 0.044649<span class="Apple-tab-span" style="white-space:pre"> </span>UPS: ups@ip address (slave) (power value 1)<br class=""></span><span class=""> 0.081597<span class="Apple-tab-span" style="white-space:pre"> </span>Using power down flag file /etc/killpower<br class=""></span><span class=""> 0.162720<span class="Apple-tab-span" style="white-space:pre"> </span>debug level is '1'<br class=""></span><span class=""> 0.538410<span class="Apple-tab-span" style="white-space:pre"> </span>Trying to connect to UPS [ups@ip address]<br class=""></span><span class=""> 0.540345<span class="Apple-tab-span" style="white-space:pre"> </span>Logged into UPS ups@ip address</span><div class=""><span class=""><br class=""></span></div><div class="">fopen /sw/var/run/upsmon.pid: No such file or directory</div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">This is strange because the file exits. </span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">Let me check why this is happening. It would explain why the pid is not running. <br class=""></span><span class=""><br class=""></span><div class=""><span class="">Kind Regards,</span><br class=""><div class=""><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Rob</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 15 Jun 2017, at 16:38, Charles Lepple <<a href="mailto:clepple@gmail.com" class="">clepple@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Jun 15, 2017, at 10:31 AM, Robbie van der Walle <<a href="mailto:rvanderwalle@gmail.com" class="">rvanderwalle@gmail.com</a>> wrote:<br class=""><div class=""><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Did you change anything in the plist or used mine ?</div><br class="Apple-interchange-newline"></div></blockquote></div><br class=""><div class="">Copied and pasted from yours.</div><div class=""><br class=""></div><div class="">If you run "sudo /sw/sbin/upsmon -D" from the command line, does it exit immediately?</div><div class=""><br class=""></div><div class="">I did have to fiddle with permissions of config files - Fink currently builds NUT to run as user "nobody", so I have the following non-default permissions:</div><div class=""><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ ls -l /sw/etc/nut</span></div></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">...</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r-----+ 1 root nobody 2177 Jun 15 08:42 upsd.users</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class="">-rw-r-----+ 1 root nobody 15455 Jun 15 08:50 upsmon.conf</div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div>_______________________________________________<br class="">Nut-upsuser mailing list<br class=""><a href="mailto:Nut-upsuser@lists.alioth.debian.org" class="">Nut-upsuser@lists.alioth.debian.org</a><br class="">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</div></blockquote></div><br class=""></div></div></body></html>