<div dir="ltr"><div>Looking at sources, it seems your logging tech (throttling?) ate half of the message which is there since at least 2005:</div><div><br></div><div>                        upslogx(LOG_ERR, "Unable to use old-style MONITOR line without a username");<br>                        upslogx(LOG_ERR, "Convert it and add a username to upsd.users - see the documentation");</div><div><br></div><div>In your post, indeed both MONITOR lines are wrong:</div><div><br></div><div>
<pre class="gmail-aLF-aPX-K0-aPE">    MONITOR ups@localhost 1 upsmonitor  ****m****  primery
    MONITOR heartbeat@localhost 0 heartbeat  ****m****
</pre>

</div><div>fix typo (primaAry) in the former, and explicitly add a "secondary" to the latter, hope that does it.</div><div><br></div><div>Hope this helps,</div><div>Jim Klimov</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 11, 2023 at 7:55 PM Dan Grostick via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg8696202603176334311">





<div style="overflow-wrap: break-word;" lang="EN-US">
<div class="m_6646780795518774290WordSection1">
<p class="MsoNormal">I am starting NUT manually. It is not supposed to shutdown but keep running. There is some sort of permissions problem I don’t understand.</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Dan</p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal" style="border:medium none;padding:0in"><b>From: </b><a href="mailto:tadawson@tpcsvc.com" target="_blank">Tim Dawson</a><br>
<b>Sent: </b>Friday, June 9, 2023 11:14 PM<br>
<b>To: </b><a href="mailto:danpower2023@outlook.com" target="_blank">Dan Grostick</a>; <a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">
Dan Grostick via Nut-upsuser</a>; <a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">
Willcox David via Nut-upsuser</a><br>
<b>Subject: </b>Re: [Nut-upsuser] Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source</p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Unless I am completely missing something, I am not seeing a problem. If upsd/upsmon shut down cleanly, the .pid files should *not* exist. Are they creating correctly on startup? I don't see any errors indicating amproblem with that . .
 . (and you don't say whether nutnruns or not).<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On June 9, 2023 9:28:14 PM EDT, Dan Grostick via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">I've built NUT 2.8.0 from source.  When the nut-monitor runs: fopen upsmon.pid fails. I'm running as root, upsmon has root:root permissions as well as the other daemons and .conf files. I've tried
 configuring with and without --prefixpath --prefixaltpath. <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Is there something I am missing?<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Please see attached.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Dan<u></u><u></u></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal">-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</div></blockquote></div>