Re: [Nut-upsuser] Help with CGI upsstats.cgi giving "file not found"

2023-12-21 Thread Charles Lepple via Nut-upsuser
On Dec 21, 2023, at 1:13 PM, Tim Reimers KA4LFP wrote: > Yet, a "file" command shows it to be an 32-bit ELF executable. > Although you mentioned that they are both running Debian bullseye, Pi2 is 64-bit capable, and it looks like the Raspbian image is 64-bit (aarch64 in the /lib pathnames).

Re: [Nut-upsuser] Help with CGI upsstats.cgi giving "file not found"

2023-12-21 Thread Tim Reimers KA4LFP via Nut-upsuser
Spivey and Pi2 are in fact the same! I was trying to be a little secure with the real hastname, but my secret is out! btw, speaking of security.selinux is disabled and the firewall is disabled. I did do chmod+x on the files and folders. Also, running as user www-data, nut, or even root

Re: [Nut-upsuser] Help with CGI upsstats.cgi giving "file not found"

2023-12-21 Thread Tim Reimers KA4LFP via Nut-upsuser
Thanks so much for replying, Charles! Question #1 Loaded from "apt-get install" on both platforms. Not compiled from source on either one. Libraries: I'm confused too, given that someone else (the person in another blog, who'd pointed out running the upsstats.cgi from the CLI) also said that the

Re: [Nut-upsuser] Help with CGI upsstats.cgi giving "file not found"

2023-12-21 Thread Roger Price
On Thu, Dec 21, 2023, 13:11 Tim Reimers KA4LFP via Nut-upsuser wrote: - I have a RasPI  (hereafter referred to as Pi1)  running Bullseye in which this all WORKS FINE - I have a SECOND RasPI (hereafter referred to as Pi2) running Bullseye in which ONLY the CGI scripts do not work.  I have

Re: [Nut-upsuser] Help with CGI upsstats.cgi giving "file not found"

2023-12-21 Thread Jim Klimov via Nut-upsuser
Well, it seems both apache and bash literally say they did not find an executable there; it is not about NUT configs. Is the file present? (is "spivey" same as "pi2" in "screenshots" posted?) Does it have the exec bit set? Are all directories at least "executable" by apache user? Jim On Thu,

Re: [Nut-upsuser] Help with CGI upsstats.cgi giving "file not found"

2023-12-21 Thread Charles Lepple via Nut-upsuser
On Dec 20, 2023, at 5:17 PM, Tim Reimers KA4LFP via Nut-upsuser wrote: > > First, a summary: > - I have a RasPI (hereafter referred to as Pi1) running Bullseye in which > this all WORKS FINE -- the upsd/upsc/ monitor services, etc > - I have a SECOND RasPI (hereafter referred to as Pi2)

[Nut-upsuser] Help with CGI upsstats.cgi giving "file not found"

2023-12-21 Thread Tim Reimers KA4LFP via Nut-upsuser
Hi everyone -- I'm having a problem with the CGI scripts for NUT. First, a summary: - I have a RasPI (hereafter referred to as Pi1) running Bullseye in which this all WORKS FINE -- the upsd/upsc/ monitor services, etc - I have a SECOND RasPI (hereafter referred to as Pi2) running Bullseye in