Xymon Mailing List Archive search

still with the bb-histlog.sh errors

list Steve Holmes
Thu, 10 May 2007 11:51:27 -0400
Message-Id: <user-37c1e2b73f46@xymon.invalid>

Jason,
The only message I get in my apache logs is:

[Thu May 10 11:08:45 2007] [error] [client 128.210.91.174] Premature end of
script headers: bb-histlog.sh, referer:
http://tlttest.ics.purdue.edu/hobbit/bb2.html

or

[Thu May 10 11:47:45 2007] [error] [client 128.210.91.174] Premature end of
script headers: bb-histlog.sh, referer:
http://tlttest.ics.purdue.edu/hobbit-cgi/bb-hist.sh?HISTFILE=allegro.ics.purdue.edu.cpu&ENTRIES=50&IP=0.0.0.0&DISPLAYNAME=allegro.ics.purdue.edu


And what the browser really does is to download the bb-hostlog.sh file which
contains (keeping my fingers crossed that gmail won't munge the html):

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 trouble and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.8e DAV/2
mod_jk/1.2.19 mod_pubcookie/3.2.1 mod_perl/2.0.2 Perl/v5.8.7 Server at
tlttest.ics.purdue.edu Port 80</address>
</body></html>


Steve.


On 5/10/07, Jones, Jason (Altrincham) <user-ee957b46acd2@xymon.invalid> wrote:
 Ok so there's no sort of permission issue, the other thing would be to
tail your apache logs to see if there is a problem with apache, if you can
cause the problem again and then check the logs you're more likely to find
it.


Jason.


*From:* White, Bruce [mailto:user-58f975e8bf9d@xymon.invalid]
*Sent:* 10 May 2007 15:46
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* RE: [hobbit] still with the bb-histlog.sh errors


OK, here ya go.


httpd.conf


User  www

Group other


ls -l $INSATLL_DIR/data/hist


drwxr-xr-x    2 hobbit   hobbit       40960 May 10 00:09 hist


The listing of the contents of this file was too big to send to the mail
list.  But everything in the folder is owned by hobbit:hobbit.


Thanks,

Bruce


-----Original Message-----
*From:* Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid]
*Sent:* Thursday, May 10, 2007 2:48 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* RE: [hobbit] still with the bb-histlog.sh errors


Can you please post the ls -l of your $INSTALL_DIR/data/hist/ folder and
the User and Group information from your apache http.conf (typically under
$apache_install_dir/conf/)


Thanks,

Jason.


*From:* White, Bruce [mailto:user-58f975e8bf9d@xymon.invalid]
*Sent:* 09 May 2007 21:39
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* RE: [hobbit] still with the bb-histlog.sh errors


I too occasionally get this error.  It seems to happen to me when the
color is changed on a test for a special reason (i.e. the CPU going yellow
after a reboot) or when the problem is extremely short in nature (i.e. the
CONN test goes red for a single cycle of bbtest).


Just my $.02,

Bruce


-----Original Message-----
*From:* user-5425c7b245e1@xymon.invalid [mailto:user-5425c7b245e1@xymon.invalid] *On Behalf Of *Steve
Holmes
*Sent:* Wednesday, May 09, 2007 1:14 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] still with the bb-histlog.sh errors


This is getting serious. I'm going to have to dig into the code (sigh) if
no one out there has a fix. At the moment on my test hobbit instance I can't
see any historical info other than green. That won't be too useful in
production. I'm hoping to roll this out next week, but don't want to with
these last couple of problems (see my earlier post about msgs :-).

Is no one else having this problem?

BTW, I'm not sure my message of 5/3 got to the list since I didn't get any
replies and I was answering a question from Galen.

But thanks in advance if you have any suggestions.

Steve Holmes

On 5/3/07, *Steve Holmes* <user-ec1bf77b1b44@xymon.invalid> wrote:

What I get in the apache log is:

[Thu May 03 10:35:17 2007] [error] [client xxx.xxx.xxx.xxx] Premature end
of script headers: bb-histlog.sh, referer:
http://hobbit.server.purdue.edu/hobbit-cgi/bb-hist.sh?HISTFILE=hobbit.client.purdue.edu.procs&ENTRIES=50&IP=0.0.0.0&DISPLAYNAME=hobbit.client.purdue.edu

What the browswer presents is (scoured of html):

500 Internal Server Error

Internal Server Error

The server encountered an internal error or
misconfiguration and was unable to complete
your request.

Please contact the server administrator,
 trouble and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.

More information about this error may be available
in the server error log.

Apache/2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.8e DAV/2 mod_jk/1.2.19
mod_pubcookie/3.2.1 mod_perl/2.0.2 Perl/v5.8.7 Server at
hobbit.server.purdue.edu Port 80

And, BTW, I had to hunt a little to find one that failed. Several (red)
worked just fine.


Thanks,
Steve.


On 5/3/07, *Galen Johnson* < user-87f955643e3d@xymon.invalid> wrote:

Are you getting an error (if so, can you post it) or nothing? Is there
anything in the apache logs?

=G=

-----Original Message-----
From: Steve Holmes [mailto: user-08c0215782b3@xymon.invalid ]
Sent: Thursday, May 03, 2007 10:56 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] still with the bb-histlog.sh errors


In the archive thread ending with:

http://www.hobbitmon.com/hobbiton/2006/08/msg00429.html

Anatoli Bogajewski suggests adding "HOBBITDREL="4.2.0" to hobbitserver.cfgto get rid of the problem with
bb-histlog.sh (internal server error), which I've done.

Still, I get some errors when trying to view an historical page. Some of
them work. Some don't. It appears that the green ones work, but some of the
non-green ones don't, although I haven't done an exhaustive test of that.

Is there a more recent/comprehensive fix?

Thanks,
Steve.