[Nut-upsuser] Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source

Dan Grostick danpower2023 at outlook.com
Sun Jun 11 18:39:21 BST 2023


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<mailto:tadawson at tpcsvc.com>
Sent: Friday, June 9, 2023 11:14 PM
To: Dan Grostick<mailto:danpower2023 at outlook.com>; Dan Grostick via Nut-upsuser<mailto:nut-upsuser at alioth-lists.debian.net>; Willcox David via Nut-upsuser<mailto:nut-upsuser at alioth-lists.debian.net>
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 <nut-upsuser at alioth-lists.debian.net> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20230611/ab4496a5/attachment.htm>


More information about the Nut-upsuser mailing list