Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
However, I can't find this script anywhere on my Debian Buster install. How do I get and install this script? https://packages.debian.org/search?mode=filename&searchon=contents&keywords=log_server_status Looks like you need to install apache2-doc Thanks but the documentation package doesn

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
On 2021-05-06 10:37 AM, Nick Folino wrote: > Did the report run fine? or was the error tacked on to the end of the file > that already contained a good run of the report? Yes, the report runs/outputs just fine and looks just like the other reports except it's got that error gets tacked on to th

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
5-06 09:53 AM, Steve Dondley wrote: I have a script, triggered by cron, that runs every minute that checks the status of the localhost's server: my $status = `sudo apachectl status 2>&1`; After a freshly restarted apaceh2 daemon, the script works fine and the contents of $status get w

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
On 2021-05-06 10:13 AM, Steve Dondley wrote: > On 2021-05-06 10:08 AM, Paul Leo wrote: > >> Maybe change environment variable to include full path to www-browser? >> But this doesn't explain intermittent nature What's also confusing is that the report gets gene

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
On 2021-05-06 10:08 AM, Paul Leo wrote: > Maybe change environment variable to include full path to www-browser? > But this doesn't explain intermittent nature I should have mentioned that I have the apache config set up to non-http traffic to https. I'm wondering if somehow port 443 gets blocke

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
On 2021-05-06 09:59 AM, Nick Folino wrote: > That appears to be generated by your OS, not the Apache httpd server. The error can occur when running "apachectl status" directly from the command line. Is the "apachectl" command is part of the apache project: https://httpd.apache.org/docs/2.4/prog

[users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
I have a script, triggered by cron, that runs every minute that checks the status of the localhost's server: my $status = `sudo apachectl status 2>&1`; After a freshly restarted apaceh2 daemon, the script works fine and the contents of $status get written to a file. But after several minutes