bb-rep.sh fails wit internal server error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hobbit-mon |
New
|
Undecided
|
Unassigned |
Bug Description
Recently I installed xymon 4.3.0~beta2.dfsg-5 on an up to date Ubuntu 10.04.1 LTS.
For testing purposes I installed xymon from the ubuntu repositories without changing any configurations.
Most of xymon/hobbit works exactly as expected. But when trying to generate an Availability Report I always get a 500 Internal Server error.
In the apache error.log i can find the following:
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] /usr/lib/
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] include: not found
[Mon Nov 08 16:36:26 2010] [error] [client <IP>]
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] /usr/lib/
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] include: not found
[Mon Nov 08 16:36:26 2010] [error] [client <IP>]
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] /usr/lib/
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] include: not found
[Mon Nov 08 16:36:26 2010] [error] [client <IP>]
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] /usr/lib/
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] include: not found
[Mon Nov 08 16:36:26 2010] [error] [client <IP>]
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] /usr/lib/
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] include: not found
[Mon Nov 08 16:36:26 2010] [error] [client <IP>]
[Mon Nov 08 16:36:26 2010] [error] [client <IP>] Premature end of script headers: bb-rep.sh
At this point the script seems to look for an executable named include wich does not exist. I then modified the hobbitserver.cfg to include the definitions directly. As a side negative side effect, the menu disappeared after these modifications.
I tried again to create a report resulting in the followin error:
[Mon Nov 08 16:34:33 2010] [error] [client <IP>] Premature end of script headers: bb-rep.sh, referer: http://<fqdn>/
I don't think it is a permission problem, because also changing permissions and group to any other values than the default ones doesn't solve this issue.
affects: | launchpad → hobbit-mon |
In the report I forgot to mention that the server on which we can see the problem is running the x86_64 version of Ubuntu. On another system with version 10.10 I have the same problem.
I tried to find out some more information about this error. Unfortunately I didn't find much information. When trying to create a report I can see the following error (in addition to the previously reported one):
Dec 3 15:32:36 akr001 bb-rep.cgi: *** buffer overflow detected ***: /usr/lib/ hobbit/ server/ bin/bb- rep.cgi terminated
Now I just installed a new testsystem in a virtual machine with 10.04.1 LTS x86 to find out if the problem is platform dependent. I also get the same errors.