<div>As I previously posted, I get this problem every now and then as well.  About a month back, the Critical Systems page suddenly become useless when it became stuck with that "Internal Server Error" issue.  My co-worker came across an apparent fix that the file permissions for the 
hobbit-nkview.cfg file were wrong, and the --debug option in hobbitcgi.cfg for hobbit-nkview.cfg was preventing the page from loading.  This now appears NOT to be the case, because the eternal Internal Server Error problem is back.  It seems it was just coincidence that he made the changes when the Critical Systems page started working again.
</div>
<div> </div>
<div>Also, while I was in the process of typing the above section, it appears the Critical Systems page is working again.  I made absolutely no changes to anything during this time.  Unfortunately now, as before, I cannot determine any causal relationship.  Additionally, unlike Tracy's problem below, it doesn't appear to be related to the alerts that are showing up either (I can confirm that no alert statuses changed while I was writing this).
</div>
<div> </div>
<div>I'm going to have to go with Tracy's assesment that it is a pointer issue as pointed out.  I do recall during my programming days of incorrect pointer usage in the code causing intermittent and non-reproducible errors occuring...  Unfortunately, it's been a while since I've programmed in C/C++, and I would have to spend a while with the code to see if this really is the issue, and how to fix it.  All I know is, it sounds plausible.
</div>
<div> </div>
<div>Anyone else have any ideas, or am I just going a little off the deep end with this (which is quite possible)?</div>
<div><br> </div>
<div class="gmail_quote">On Sep 17, 2007 4:43 PM, Tracy Di Marco White <<a href="mailto:gendalia@gmail.com">gendalia@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">On 9/7/07, Henrik Stoerner <<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>> wrote:<br></div>
<div class="Ih2E3d">> On Thu, Sep 06, 2007 at 09:30:58PM -0500, Tracy Di Marco White wrote:<br>> > I'm getting an "Internal Server Error" and the error log shows<br>> > "Premature end of script headers: 
hobbit-nkview.sh".  My problem seems<br>> > to be related to a test being yellow right now, and right now being<br>> > outside of the parameters of when the machine/test combo is critical.<br>> > If I change the critical time for the event from "|W:0800:1700|" to
<br>> > "||", the critical systems page comes up fine.  If I put the time<br>> > constraints back, the page fails to come up again.  It started failing<br>> > after 1700, although I didn't notice it for about 15 minutes.  Is
<br>> > anyone else seeing this problem?<br>><br>> Interesting, it does sound like a bug. Could you send me that line from<br>> the hobbit-nkview.cfg file ?<br><br></div>So I worked with a co-worker to figure out where the problem is.
<br> In get_nkconfig() in ./lib/loadnkconf.c<br><br>                       /* Go to the next */<br>                       handle = rbtNext(rbconf, handle);<br>                       if (handle != rbtEnd(rbconf)) {<br>                               rbtKeyValue(rbconf, handle, &k1, &k2);
<br>                               if (strncmp(realkey, ((nkconf_t *)k2)->key,...<br><br> here k2 is treated as a pointer to a nkconf_t<br> but it appears that it is really a 'char *'.<br><br>Is what he concluded from our poking with gdb. We haven't gotten
<br>any further in debugging, but hoped this would help to pin down<br>the problem.</blockquote></div>