Re: Nagios: Premature end of script headers

2005-08-24 Thread Matteo Mancini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Look at this http://www.mand4la.info/index.php/NagiosObsd
I've wrote this doc in italian, bat the code is the same :P

BTW..try to lunch apache with -u httpd -u

Bye

Matteo


Joco Salvatti wrote:
 Hi all,
 
 I installed and configured Nagios on my machine. The Nagios webpage can be
 retrieve normally, but something strange happens when I try to retrieve host
 detail:
 
 Internal Server Error
 
 The server encountered an internal error or misconfiguration and was unable
 to complete your request.
 
 Please contact the server administrator, [EMAIL PROTECTED] 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.
 Eu olhei o arquivo de log de erros e ele me diz o seguinte:
 
 [Tue Aug 23 11:35:06 2005] [error] [client 10.10.1.254http://10.10.1.254/
 http://10.10.1.254]
  Premature end of script headers: /nagios/cgi-bin/tac.cgi
 [Tue Aug 23 11:35:16 2005] [error] [client 10.10.1.254 http://10.10.1.254/
 http://10.10.1.254]
  Premature end of script headers: /nagios/cgi-bin/status.cgi
 
 I've already tried to look for some reference about how to solve this
 problem at
 Google, but I couldn't find a thing. Has anyone any suggestion about how to
 solve this?
 
 Thanks
 
 
 
 --
 Joco Salvatti
 Undergraduating in Computer Science
 Federal University of Para - UFPA
 web: http://salvatti.expert.com.br
 e-mail: [EMAIL PROTECTED]
iD8DBQFDI9p3/TjXD9LUVswRAs5yAJsGLNFH58td7e8N3JdJ2bezdDcPFwCfTzEy
xoyM8FNkgYBWqAhxutXURRw=
=Ntg4
-END PGP SIGNATURE-



Nagios: Premature end of script headers

2005-08-23 Thread João Salvatti
Hi all,

I installed and configured Nagios on my machine. The Nagios webpage can be
retrieve normally, but something strange happens when I try to retrieve host
detail:

Internal Server Error

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

Please contact the server administrator, [EMAIL PROTECTED] 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.
Eu olhei o arquivo de log de erros e ele me diz o seguinte:

[Tue Aug 23 11:35:06 2005] [error] [client 10.10.1.254http://10.10.1.254/
http://10.10.1.254]
 Premature end of script headers: /nagios/cgi-bin/tac.cgi
[Tue Aug 23 11:35:16 2005] [error] [client 10.10.1.254 http://10.10.1.254/
http://10.10.1.254]
 Premature end of script headers: /nagios/cgi-bin/status.cgi

I've already tried to look for some reference about how to solve this
problem at
Google, but I couldn't find a thing. Has anyone any suggestion about how to
solve this?

Thanks



--
Joco Salvatti
Undergraduating in Computer Science
Federal University of Para - UFPA
web: http://salvatti.expert.com.br
e-mail: [EMAIL PROTECTED]



Re: Nagios: Premature end of script headers

2005-08-23 Thread L. V. Lammert

At 02:37 PM 8/23/2005 -0300, Joco Salvatti wrote:

Hi all,

I installed and configured Nagios on my machine. The Nagios webpage can be
retrieve normally, but something strange happens when I try to retrieve host
detail:

Internal Server Error

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


Actually doesn't have anything to do with OBSD, .. but you might check:

1) All libaries are installed in your chroot environment;
2) Nobody has ftp'd files with extra crs (took me a while to figure out 
that one);

3) The separate programs will run from a command line.

In the case of 1  3, sometimes it's helpful to *test* the script chroot'd.

Lee