[Xymon] Xymon and Lighttpd 500 Internal Error
Guy
patterson at nullamatix.com
Thu Aug 29 20:57:21 CEST 2019
Yea, I'm lost.
www-data at pihole:~$ export QUERY_STRING="HOST=pihole.xx.lan&SERVICE=http"
www-data at pihole:~$ echo $QUERY_STRING
HOST=pihole.xx.lan&SERVICE=http
www-data at pihole:~$ /usr/lib/xymon/cgi-bin/svcstatus.sh $QUERY_STRING
Status: 403
Refresh: 30
Content-type: text/html
<html><head><title>Invalid request</title></head>
<body>Invalid request</body></html>
www-data at pihole:~$
I couldn't find anything in the man pages or on-line documentation
about invoking svcstatus.sh on the command line.
On Thu, Aug 29, 2019 at 2:28 PM Japheth Cleaver <cleaver at terabithia.org> wrote:
>
> On 8/29/2019 11:15 AM, Guy wrote:
> > Hello,
> >
> > The Xymon index page is loading; however, when I attempt to drill down
> > into an individual service check (invoking svcstatus.sh), lighttpd
> > returns a 500 internal server error.
> >
> > OS: Devuan Ascii 2.0
> > Kernel: Linux pihole 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5
> > (2019-08-11) x86_64 GNU/Linux
> > Lighttpd: Version: 1.4.45-1
> > Xymon: Version: 4.3.28-2
> >
> > Xymon and lighttpd were both installed from the official Devuan repos
> > using apt-get.
> >
> > Here's my lighttpd config: https://clbin.com/F2LzF
> > Here's an strace: https://clbin.com/EuesM
> >
> > Thanks,
> >
> > Guy
> > _______________________________________________
> >
> Hi,
>
> Can you try running svcstatus.sh by hand as the web user, with the
> appropriate QUERY_STRING="HOST=pihole.xx.lan&SERVICE=http", and see what
> happens? From the stack trace it seems to get as far as the bash fork,
> but there's not much on the return to go on.
>
> -jc
>
More information about the Xymon
mailing list