After restart Apache, nagios cgi don't work

Bryan Irvine bryan.irvine at kingcountyjournal.com
Thu Jul 24 21:20:49 CEST 2003


permission denied?  check the user/group of the cgi's.

Then re-run.

--Bryan



On Thu, 2003-07-24 at 11:09, Marco A. Mateos wrote:
> su apacche
> 
> $./status.cgi >>> ./status.cgi: Permission denied
> $perl status.cgi >>>
> Unrecognized character \x7F at status.cgi line 1.
> 
> I'm forget.
> 
> System Mandrake 91. Nagios compiled from source 1.1.tar.gz with all
> plugins.
> 
> Install on /usr/local/nagios user and group nagios. Apache 2.0.47.
> 
> 
> El jue, 24 de 07 de 2003 a las 16:10, Sam Stickland escribió:
> > Run the script status.cgi from the command-line as the same user that apache
> > runs under, and see if the script is issuing any compliation errors.
> > 
> > Sam
> > 
> > ----- Original Message -----
> > From: "Marco A. Mateos" <specka at specka.com>
> > To: <nagios-users at lists.sourceforge.net>
> > Sent: Thursday, July 24, 2003 10:24 AM
> > Subject: [Nagios-users] After restart Apache, nagios cgi don't work
> > 
> > 
> > > Any changes on my httpd.conf or others conf files for apache.
> > > Nagiso work perfectly.
> > >
> > > After restart my machine, nagios web page work, but all cgis for show
> > > analysis, don't work.
> > >
> > > I go to my error.log and show this:
> > >
> > >         [Thu Jul 24 10:06:29 2003] [error] [client 80.25.130.25]
> > >         Premature end of script headers: tac.cgi, referer:
> > >         http://specka.com/nagios/side.html
> > >         [Thu Jul 24 10:06:30 2003] [error] [client 80.25.130.25]
> > >         Premature end of script headers: status.cgi, referer:
> > >         http://specka.com/nagios/side.html
> > >         [Thu Jul 24 10:06:31 2003] [error] [client 80.25.130.25]
> > >         Premature end of script headers: status.cgi, referer:
> > >         http://specka.com/nagios/side.html
> > >         [Thu Jul 24 10:06:32 2003] [error] [client 80.25.130.25]
> > >         Premature end of script headers: status.cgi, referer:
> > >         http://specka.com/nagios/side.html
> > >         [Thu Jul 24 10:06:33 2003] [error] [client 80.25.130.25]
> > >         Premature end of script headers: status.cgi, referer:
> > >         http://specka.com/nagios/side.html
> > >         [Thu Jul 24 10:06:36 2003] [error] [client 80.25.130.25]
> > >         Premature end of script headers: status.cgi, referer:
> > >         http://specka.com/nagios/side.html
> > >         [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25]
> > >         Premature end of script headers: statusmap.cgi, referer:
> > >         http://specka.com/nagios/side.html
> > >         [Thu Jul 24 10:06:37 2003] [error] [client 80.25.130.25]
> > >         Premature end of script headers: statuswrl.cgi, referer:
> > >         http://specka.com/nagios/side.html
> > >
> > > I'm lost.
> > >
> > > --
> > > Marco A. Mateos - Linux User: 209189
> > > http://www.lomejordeinternet.net / specka.com
> > > http://graficas.lomejordeinternet.net
> > > http://hosting.lomejordeinternet.net - Hosting
> > > specka at quitaesto.specka.com / ICQ: 172542875
> > > Clave Pública disponible en pgp.rediris.es
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > > Data Reports, E-commerce, Portals, and Forums are available now.
> > > Download today and enter to win an XBOX or Visual Studio .NET.
> > >
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue.
> > > ::: Messages without supporting info will risk being sent to /dev/null
> > >
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > Data Reports, E-commerce, Portals, and Forums are available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list