Looking at sources, it seems your logging tech (throttling?) ate half of
the message which is there since at least 2005:

                        upslogx(LOG_ERR, "Unable to use old-style MONITOR
line without a username");
                        upslogx(LOG_ERR, "Convert it and add a username to
upsd.users - see the documentation");

In your post, indeed both MONITOR lines are wrong:

    MONITOR ups@localhost 1 upsmonitor  ****m****  primery
    MONITOR heartbeat@localhost 0 heartbeat  ****m****

fix typo (primaAry) in the former, and explicitly add a "secondary" to the
latter, hope that does it.

Hope this helps,
Jim Klimov


On Sun, Jun 11, 2023 at 7:55 PM Dan Grostick via Nut-upsuser <
[email protected]> wrote:

> 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.
>
>
>
> Dan
>
>
>
> *From: *Tim Dawson <[email protected]>
> *Sent: *Friday, June 9, 2023 11:14 PM
> *To: *Dan Grostick <[email protected]>; Dan Grostick via
> Nut-upsuser <[email protected]>; Willcox David via
> Nut-upsuser <[email protected]>
> *Subject: *Re: [Nut-upsuser] Fopen upsmon.pid - no such file or directory
> - Nut 2.8.0 built from source
>
>
>
> 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).
>
>
>
> On June 9, 2023 9:28:14 PM EDT, Dan Grostick via Nut-upsuser <
> [email protected]> wrote:
>
> 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.
>
> Is there something I am missing?
>
>
>
> Please see attached.
>
>
>
> Dan
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
>
> _______________________________________________
> Nut-upsuser mailing list
> [email protected]
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to