Tim Dawson
2023-Jun-10 03:14 UTC
[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/20230609/99bd7f28/attachment.htm>
Dan Grostick
2023-Jun-11 17:39 UTC
[Nut-upsuser] Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source
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>