From: <mat...@lj...> - 2007-03-29 07:53:10
|
I managed to get it working. It was a problem with libxml2 version. I had=20 2.6.7 and XML::LibXML::Common requried 2.6.16. I upgraded libxml2,=20 installed XML::LibXML::Common and I'm off. It looks great so far. THanks ----- Posredoval Matja=BE Dem=B9ar/LJ-MLEK dne 29.03.2007 09:50 ----- "Scott Parris" <sp...@gr...>=20 28.03.2007 19:23 Za <mat...@lj...>, <mon...@li...> Kp Zadeva RE: [Monarch-users] Premature end of script headers error Try running monarch=5Fajax.cgi from the command line. Also check the apache= =20 error log. That should point you to the source of the problem. =20 From: mon...@li...=20 [mailto:mon...@li...] On Behalf Of=20 mat...@lj... Sent: Wednesday, March 28, 2007 1:20 AM To: mon...@li... Subject: [Monarch-users] Premature end of script headers error =20 Hello!=20 I have been trying for a couple of days now to install Monarch 2.0.2 on=20 SLES9 server. Server meets all the prerequisites for Monarch,=20 monarch=5Fsetup.pl executes fine, with these parameters:=20 What is the host name of your MySQL database server? [localhost] :=20 <MYDBSERVER>=20 What is the name of the user that will have access to the database? [root] = : monarch=20 What is the password for user monarch to access the database [] :=20 <PASSWORD>=20 What is the name of the database you will use for your Monarch=20 installation? [monarch] : monarch=20 Enter web server's user account [wwwrun] : wwwrun=20 Enter web server's user group [www] : www=20 Please enter your web servier's relative path to cgi-bin. Example:=20 /nagios/cgi-bin [ /cgi-bin ] : /cgi/bin=20 What is your web server's document root [unknown] : /srv/www=20 Enter the full path of your cgi-bin directory [unknown] : /srv/www/cgi-bin = Enter the full installation path for Monarch=20 [/usr/local/groundwork/monarch] : /usr/local/groundwork/monarch=20 Enter the full path to your nagios.cfg file [/usr/local/nagios/etc] :=20 /usr/local/nagios/etc=20 Enter the full path to your nagios binary file [/usr/local/nagios/bin] :=20 /usr/local/nagios/bin=20 I choose to modify permissions and the setup finished with warning about=20 location of favicon.ico.=20 When I go to http://mywebserver/cgi-bin/monarch.cgi I get this:=20 Server error!=20 The server encountered an internal error and was unable to complete your=20 request.=20 Error message:=20 Premature end of script headers: monarch=5Fajax.cgi=20 If you think this is a server error, please contact the webmaster.=20 Error 500=20 Can someone please give me some usefull pointers, where to start. I=20 checked for some of common causes, that I found on the Internet, but to no = avail.=20 Thanks in advance,=20 Mat |