Xymon Mailing List Archive search

Error 500 when viewing Critical Systems page

4 messages in this thread

list Gary Baluha · Mon, 11 Jun 2007 23:21:22 -0400 ·
I have been getting intermittent "Error 500" errors when viewing the
Critical Systems page.  This is the familiar "Internal Server Error"-type of
message.  I haven't yet been able to find a pattern of when I get the
errors, but most of the time, it works just fine.  The only thing I have
been able to find in the apache log messages is:

[Mon Jun 11 23:14:29 2007] [error] [client 172.21.3.118] Premature end of
script headers: hobbit-nkview.sh, referer: http://hobbit.cuc.net/

I was having this problem before, but was running a non-patched
4.2.0version, which was upgraded from an earlier version.  I have
since moved to
a brand new server, with a fresh compile/install of 4.2.0 with the latest
allinone patch.  The OS is Red Hat EL4 Update 5.


Is there any way that I can get more detailed logging as to what exactly the
problem is?
list Tom Diehl · Mon, 11 Jun 2007 23:31:48 -0400 (EDT) ·
quoted from Gary Baluha
On Mon, 11 Jun 2007, Gary Baluha wrote:
I have been getting intermittent "Error 500" errors when viewing the
Critical Systems page.  This is the familiar "Internal Server Error"-type of
message.  I haven't yet been able to find a pattern of when I get the
errors, but most of the time, it works just fine.  The only thing I have
been able to find in the apache log messages is:

[Mon Jun 11 23:14:29 2007] [error] [client 172.21.3.118] Premature end of
script headers: hobbit-nkview.sh, referer: http://hobbit.cuc.net/

I was having this problem before, but was running a non-patched
4.2.0version, which was upgraded from an earlier version.  I have
since moved to
a brand new server, with a fresh compile/install of 4.2.0 with the latest
allinone patch.  The OS is Red Hat EL4 Update 5.
You might want to try "setenforce 0" and see if that lets it work. I have this
exact problem. I need to figure out how to label the hobbit files to make
things work, with selinux in enforcing mode. It is on my "round tuit" list.

Has anyone figured out how to make hobbit work with selinux enabled? If so a
pointer to a doc would be appreciated.
quoted from Gary Baluha
Is there any way that I can get more detailed logging as to what exactly the
problem is?
Did you look in /var/log/messages or in /var/log/hobbit/*?

Regards,

-- 
Tom Diehl		user-6203f2c4f8ec@xymon.invalid		Spamtrap address user-0545b31a2bcf@xymon.invalid
list Gary Baluha · Tue, 12 Jun 2007 09:25:55 -0400 ·
quoted from Tom Diehl
On 6/11/07, Tom Diehl <user-6203f2c4f8ec@xymon.invalid> wrote:
On Mon, 11 Jun 2007, Gary Baluha wrote:
I have been getting intermittent "Error 500" errors when viewing the
Critical Systems page.  This is the familiar "Internal Server
Error"-type of
message.  I haven't yet been able to find a pattern of when I get the
errors, but most of the time, it works just fine.  The only thing I have
been able to find in the apache log messages is:

[Mon Jun 11 23:14:29 2007] [error] [client 172.21.3.118] Premature end
of
script headers: hobbit-nkview.sh, referer: http://hobbit.cuc.net/

I was having this problem before, but was running a non-patched
4.2.0version, which was upgraded from an earlier version.  I have
since moved to
a brand new server, with a fresh compile/install of 4.2.0 with the
latest
allinone patch.  The OS is Red Hat EL4 Update 5.
You might want to try "setenforce 0" and see if that lets it work. I have
this
exact problem. I need to figure out how to label the hobbit files to make
things work, with selinux in enforcing mode. It is on my "round tuit"
list.

Has anyone figured out how to make hobbit work with selinux enabled? If so
a
pointer to a doc would be appreciated.

We don't use selinux here, and have run into problems with it before, so
when I did the install of the OS, I specifically disabled it.  I checked
with the setenforce command, and it does indeed say selinux is disabled.
quoted from Tom Diehl
Is there any way that I can get more detailed logging as to what exactly
the
problem is?
Did you look in /var/log/messages or in /var/log/hobbit/*?

 Yep.  Nada.  Or at least, not anything related to the Error 500 issue.  But
at least I now know I'm not the only one with this problem.

Regards,
--
Tom Diehl               user-6203f2c4f8ec@xymon.invalid             Spamtrap address
user-0545b31a2bcf@xymon.invalid
list Tom Diehl · Tue, 12 Jun 2007 23:05:55 -0400 (EDT) ·
quoted from Gary Baluha
On Tue, 12 Jun 2007, Gary Baluha wrote:
On 6/11/07, Tom Diehl <user-6203f2c4f8ec@xymon.invalid> wrote:
On Mon, 11 Jun 2007, Gary Baluha wrote:
I have been getting intermittent "Error 500" errors when viewing the
Critical Systems page.  This is the familiar "Internal Server
Error"-type of
message.  I haven't yet been able to find a pattern of when I get the
errors, but most of the time, it works just fine.  The only thing I have
been able to find in the apache log messages is:

[Mon Jun 11 23:14:29 2007] [error] [client 172.21.3.118] Premature end
of
script headers: hobbit-nkview.sh, referer: http://hobbit.cuc.net/

I was having this problem before, but was running a non-patched
4.2.0version, which was upgraded from an earlier version.  I have
since moved to
a brand new server, with a fresh compile/install of 4.2.0 with the
latest
allinone patch.  The OS is Red Hat EL4 Update 5.
You might want to try "setenforce 0" and see if that lets it work. I have
this
exact problem. I need to figure out how to label the hobbit files to make
things work, with selinux in enforcing mode. It is on my "round tuit"
list.

Has anyone figured out how to make hobbit work with selinux enabled? If so
a
pointer to a doc would be appreciated.

We don't use selinux here, and have run into problems with it before, so
when I did the install of the OS, I specifically disabled it.  I checked
with the setenforce command, and it does indeed say selinux is disabled.
Is there any way that I can get more detailed logging as to what exactly
the
problem is?
Did you look in /var/log/messages or in /var/log/hobbit/*?

Yep.  Nada.  Or at least, not anything related to the Error 500 issue.  But
at least I now know I'm not the only one with this problem.
To be clear, doing setenforce 0 fixes the problem for me. Mine is a labeling
problem.

Regards,

-- 
Tom Diehl		user-6203f2c4f8ec@xymon.invalid		Spamtrap address user-0545b31a2bcf@xymon.invalid