SV: [hobbit] bb-snapshot - apache error 500...

Mathias Carlsson Mathias.Carlsson at systeam.se
Mon Feb 1 11:30:12 CET 2010


Hi Srini!

I can't find any libpre* files on my system what so ever...
Did you mean libpcre* path?

/Mathias



________________________________
Mathias Carlsson

Från: Ambati Srinivas [mailto:am.srini at gmail.com]
Skickat: den 8 december 2009 13:01
Till: hobbit at hswn.dk
Kopia: Mathias Carlsson
Ämne: Re: [hobbit] bb-snapshot - apache error 500...

Hi,

Please try to add below lines before exec line in snapshot.sh file (may be applicable to all *.sh file if this works) )and check the link again. Seems problem with libpre* library file path. locate where libpre* is installed on your system and add/replace accordingly to what i suggested.

LD_LIBRARY_PATH=/usr/local/lib/
export LD_LIBRARY_PATH

Thanks,

Srini

On Thu, Dec 3, 2009 at 6:47 PM, Mathias Carlsson <Mathias.Carlsson at systeam.se<mailto:Mathias.Carlsson at systeam.se>> wrote:
Hi!
I've still got this problem, but now it has moved in to my live server...
I upgraded to latest Ubuntu 9.10 today, and I've been running Xymon from the repo install which upgraded it from Hobbit 4.2 to Xymon 4.3 beta2 (been waiting for this...).


The log entry in apache2/error.log is:
[Thu Dec 03 13:49:10 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 8: include: not found, referer: http://hobbit/
[Thu Dec 03 13:49:10 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 34: include: not found, referer: http://hobbit/
[Thu Dec 03 13:49:10 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 62: include: not found, referer: http://hobbit/
[Thu Dec 03 13:49:10 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 188: include: not found, referer: http://hobbit/
[Thu Dec 03 13:49:10 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 189: include: not found, referer: http://hobbit/
[Thu Dec 03 13:49:11 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 8: include: not found, referer: http://hobbit/hobbit-cgi/bb-snapshot.sh
[Thu Dec 03 13:49:11 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 34: include: not found, referer: http://hobbit/hobbit-cgi/bb-snapshot.sh
[Thu Dec 03 13:49:11 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 62: include: not found, referer: http://hobbit/hobbit-cgi/bb-snapshot.sh
[Thu Dec 03 13:49:11 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 188: include: not found, referer: http://hobbit/hobbit-cgi/bb-snapshot.sh
[Thu Dec 03 13:49:11 2009] [error] [client 192.9.210.9] /usr/lib/hobbit/server/etc/hobbitserver.cfg: 189: include: not found, referer: http://hobbit/hobbit-cgi/bb-snapshot.sh
[Thu Dec 03 13:49:11 2009] [error] [client 192.9.210.9] Premature end of script headers: bb-snapshot.sh, referer: http://hobbit/hobbit-cgi/bb-snapshot.sh


AFAICS it must be the includes in hobbitserver.cfg that causes the problem...
Does anybody know how I can get the includes to work?

/Mathias

Från: david.peters at dpi.nsw.gov.au<mailto:david.peters at dpi.nsw.gov.au> [mailto:david.peters at dpi.nsw.gov.au<mailto:david.peters at dpi.nsw.gov.au>]
Skickat: den 22 juni 2009 23:18
Till: hobbit at hswn.dk<mailto:hobbit at hswn.dk>
Ämne: Re: [hobbit] bb-snapshot - apache error 500...


Strange, there should usually be a bit more in the error log. What lines precede this.

------------------------------------------------------------------------------
David Peters

+61 2 63913565
+61 4 17863572
------------------------------------------------------------------------------

From:

Dominique Frise <dominique.frise at unil.ch<mailto:dominique.frise at unil.ch>>

To:

hobbit at hswn.dk<mailto:hobbit at hswn.dk>

Date:

22/06/2009 10:51 PM

Subject:

Re: [hobbit] bb-snapshot - apache error 500...


________________________________



Mathias Carlsson wrote:
> Hi!
>
> I've got a problem with apache2 giving me a 500 error when I try to run
> a snapshot report...
>
>
>
> I'm running on a Ubuntu 9.04 64-bit platform and XYmon 4.3.0 svn rev. 6177...
>
>
>
> The errorl in the web-browser is:
>
> *Internal Server Error*
>
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
>
> Please contact the server administrator, webmaster at localhost 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.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch Server
> at 192.9.210.146 Port 80/
>
>
>
>
>
> And the error.log says:
>
>
>
> [Mon Jun 22 11:37:00 2009] [error] [client 192.9.210.83] Premature end
> of script headers: bb-snapshot.sh, referer:
> http://192.168.210.146/xymon-cgi/bb-snapshot.sh
>
>
>
> Are there anybody who knows how to fix this??
>
>
>
> * *
>
> *
> ------------------------------------------------------------------------
> *
>
> *Mathias Carlsson*
>
> /VMware/ | /Storage/ | /Networking | Security/
>
> www.systeam.se<http://www.systeam.se>
> <https://outlook.systeam.se/OWA/redir.aspx?C=86f815296451461cb0ec17a8f0b8266c&URL=http%3a%2f%2fwww.systeam.se>
>
>
>
> SYSteam Anderstorp * Stötabogatan 1* SE-334 24 Anderstorp
> T: +46 (0)371 - 58 85 29 * F: +46 (0)371 - 169 67
>
> ------------------------------------------------------------------------
>
>
> Detta meddelande innehåller information som kan vara av
> sekretesskaraktär eller på annat sätt hemlig och ägs av SYSteam
> Datakonsult i Anderstorp AB. Meddelandet är endast avsedd för personen
> till vilken den är adresserad. Om du inte är den avsedda mottagaren, har
> du ej tillåtelse att läsa, skriva, spara, kopiera, distribuera eller
> använda meddelandet eller del av meddelandet. Om du mottar meddelandet
> av misstag, var vänlig och meddela avsändaren omgående samt ta bort
> meddelandet och alla kopior av detsamma.
>
>
>
There were a few things corrected on 4.3.0-beta1 like this one:
http://www.hswn.dk/hobbiton/2009/02/msg00254.html

You should rather go with 4.3.0-beta2 which is pretty stable.


Dominique

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk<mailto:hobbit-unsubscribe at hswn.dk>







This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100201/ae48c4cb/attachment.html>


More information about the Xymon mailing list