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=contents=log_server_status Looks like you need to install apache2-doc Thanks but the documentation package doesn't contain the

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

2021-05-06 Thread Antony Stone
On Thursday 06 May 2021 at 16:38:47, Steve Dondley wrote: > Maybe I'd be better off using the right tool for the job which appears > to be this perl script: > http://httpd.apache.org/docs/2.4/programs/log_server_status.html > > However, I can't find this script anywhere on my Debian Buster

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

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

2021-05-06 Thread Steve Dondley
Maybe I'd be better off using the right tool for the job which appears to be this perl script: http://httpd.apache.org/docs/2.4/programs/log_server_status.html However, I can't find this script anywhere on my Debian Buster install. How do I get and install this script? On 2021-05-06 09:53

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

2021-05-06 Thread Nick Folino
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? On Thu, May 6, 2021 at 10:20 AM Steve Dondley wrote: > On 2021-05-06 10:13 AM, Steve Dondley wrote: > > On 2021-05-06 10:08 AM, Paul Leo wrote: > > Maybe change

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

2021-05-06 Thread Eric Covener
> 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/programs/apachectl.html Yes,it's a shell script that calls an external command-line HTTP client. No sign it

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 generated just fine but there is

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

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:

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

2021-05-06 Thread Paul Leo
Maybe change environment variable to include full path to www-browser? But this doesn’t explain intermittent nature > On May 6, 2021, at 8:00 AM, Nick Folino wrote: > >  > That appears to be generated by your OS, not the Apache httpd server. > >> On Thu, May 6, 2021 at 9:53 AM Steve Dondley

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

2021-05-06 Thread Nick Folino
That appears to be generated by your OS, not the Apache httpd server. On Thu, May 6, 2021 at 9: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

[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