bb-rep.sh fails wit internal server error

Bug #672615 reported by Tom Winterhalder
12
This bug affects 2 people
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/hobbit/server/etc/hobbitserver.cfg: 8:
[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/hobbit/server/etc/hobbitserver.cfg: 39:
[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/hobbit/server/etc/hobbitserver.cfg: 67:
[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/hobbit/server/etc/hobbitserver.cfg: 194:
[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/hobbit/server/etc/hobbitserver.cfg: 195:
[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>/hobbit-cgi/bb-rep.sh

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.

Curtis Hovey (sinzui)
affects: launchpad → hobbit-mon
Revision history for this message
Tom Winterhalder (thwint) wrote :

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.

Revision history for this message
roemer2201 (roemer2201) wrote :

I'm recieving the same errors while trying to generate a report:

$ tail -f /var/log/apache2/error.log -n 0
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 8: , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] include: not found, referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 34: , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] include: not found, referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 62: , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] include: not found, referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 188: , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] include: not found, referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 189: , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] include: not found, referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] , referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:24:03 2011] [error] [client 192.168.3.250] Premature end of script headers: bb-rep.sh, referer: http://192.168.3.250/hobbit-cgi/bb-rep.sh
[Tue Jul 12 13:27:20 2011] [error] [client 192.168.0.112] client denied by server configuration: /var/www/

Is there any Solution out there for this problem?

Revision history for this message
mgrazia (mgrazia) wrote :

I have the same problem with the same errors while trying to generate a report.

Any idea? any suggestions?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.