nagios problem on mandrake 10.1

Enils Bashi ebashi at gmail.com
Tue Dec 21 01:24:55 CET 2004


I have read all documentation and I have changed cgi directory
ownership to apache.apache. It does seem like a webserver
configuration issue.

Thanks,

Enils


On Mon, 20 Dec 2004 16:18:15 +0100, Andreas Ericsson <ae at op5.se> wrote:
> Enils Bashi wrote:
> > Here is the whoops page.
> >
> >
> > Whoops!
> >
> > Error: Could not read object configuration data!
> >
> > Here are some things you should check in order to resolve this error:
> >
> >    1. Verify configuration options using the -v command-line option to
> > check for errors.
> >    2. Check the Nagios log file for messages relating to startup or
> > status data errors.
> >    3. Make sure you've compiled the main program and the CGIs to use
> > the same object data storage options (i.e. default text file or
> > template-based file).
> >
> 
> Most likely a permission issue. su - to the user your webserver is
> running as and try to cat the object config files.
> 
> > Make sure you read the documentation on installing, configuring and
> > running Nagios thoroughly before continuing. If all else fails, try
> > sending a message to one of the mailing lists. More information can be
> > found at http://www.nagios.org.
> >
> 
> I assume you've taken these steps already. If not, please do so first.
> 
> > On Mon, 20 Dec 2004 15:07:58 +0100, Andreas Ericsson <ae at op5.se> wrote:
> >
> >>Enils Bashi wrote:
> >>
> >>>Hi All,
> >>>
> >>>I have installed nagios rpms using the Mandrake drakconf software gui.
> >>>I am having problems getting to work. When I click on any the of the
> >>>options on the left on the nagios browser page I get the Whoops page.
> >>
> >>The 'Whoops' what? There is the "Whoops I can't read the configuration"
> >>and the "Whoops you're not authorized" (and I'm sure there are others as
> >>well).
> >>
> >>
> >>>I am assuming there is a configuration problem of some kind but I have
> >>>not been able to figure out what's going on with it.  I have created a
> >>>nagios.conf under /etc/httpd/conf.d/ with the following as contents:
> >>>--
> >>>ScriptAlias /nagios/cgi /usr/lib/nagios/cgi
> >>><Directory "/usr/lib/nagios/cgi">
> >>>       AllowOverride AuthConfig
> >>>       Options ExecCGI
> >>>       Order allow,deny
> >>>       Allow from all
> >>></Directory>
> >>>
> >>>Alias /nagios /usr/share/nagios
> >>><Directory "/usr/share/nagios">
> >>>       Options None
> >>>       AllowOverride AuthConfig
> >>>       Order allow,deny
> >>>       Allow from all
> >>></Directory>
> >>>--
> >>>
> >>>I am running apache2.0.5 and mysql 4.0.20. I have added nagios to
> >>>mysql as a user and granted all the needed permissions. When I run
> >>>nagios -v /etc/nagios/nagios.cfg I get 0 errors. I have created a
> >>>nagios directory under /var/www/html and under that directory I have
> >>>created a symbolic link to /usr/lib/nagios/cgi.
> >>>
> >>>Any and all feedback would be greatly appreciated.
> >>>
> >>>--
> >>>Enils Bashi
> >>>Linux System Administrator & Computer Programmer
> >>>EPA Region III East
> >>>Chesapeake Bay Program
> >>>Veridyne Inc.
> >>>Annapolis MD
> >>>410-267-9833
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>SF email is sponsored by - The IT Product Guide
> >>>Read honest & candid reviews on hundreds of IT Products from real users.
> >>>Discover which products truly live up to the hype. Start reading now.
> >>>http://productguide.itmanagersjournal.com/
> >>>_______________________________________________
> >>>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
> >>>
> >>
> >>--
> >>Andreas Ericsson                   andreas.ericsson at op5.se
> >>OP5 AB                             www.op5.se
> >>Lead Developer
> >>
> >
> >
> >
> 
> --
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Lead Developer
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> 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
> 


-- 
Enils Bashi
Computer Programmer
Chesapeake Bay Program
Veridyne Inc.
Annapolis MD
410-267-9833


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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