CGI Error

Josh josh2780 at yahoo.com
Fri Apr 29 17:27:29 CEST 2005


Thanks for the reply, Guillaume.

Yes, the user is authorized.  After no luck I then
disabled authentication and tried again.  Still
nothing.

Yes, nagios is running...  and again, starts up with
no errors in nagios.log.

While I'm awaiting any reponses I've been digging
through the source to find the root of the problem. 
The cgi.cfg file is definitely being read.  Changing
the filename results in a different error that the
config can't be found.

Taking a closer look at the error... "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)."  Is there an options somewhere
to switch between the two?  This was a new install and
I only changed what needed to be changed (host/service
defs, file locations, etc.).

-Josh


--- guillaume LOHEZ <guillaume.lohez at linagora.com>
wrote:
> Hi
> 
> Maybe, it is an authentification problem with
> Apache.....
> Or a config problem in cgi.cfg
> 
> What user do you use to login ????
> Is this user authorized to view the page you want to
> display ????
> 
> Ok, there is no error for the dry run..... but
> nagios is running or not ????
> 
> That's my first clues...
> 
> Regards
> Guillaume
> 
> 
> Josh a écrit :
> 
> >OK.  I know this must be a common error but I can't
> >find a solution for my situation anywhere online,
> >FAQs, or forums.
> >
> >Here's the error I get when clicking on one of the
> >CGIs on the left frame of the web interface:
> >
> >----
> >Whoops!
> >Error: Could not read object configuration data!
> >
> >Here are some things you should check in order to
> >resolve this error: 
> >
> >
> >Verify configuration options using the -v
> command-line
> >option to check for errors. 
> >Check the Nagios log file for messages relating to
> >startup or status data errors. 
> >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). 
> >----
> >
> >Here's how I configured nagios-2.0b3:
> >
> >./configure \
> >  --prefix=/usr/local/nagios-2.0b3 \
> >  --with-lockfile=/var/lock/subsys/nagios \
> >  --with-nagios-user=nagios \
> >  --with-nagios-grp=nagios \
> >  --with-perlcache \
> >  --enable-embedded-perl \
> >  --with-gd-inc=/usr/local/include \
> >  --with-gd-lib=/usr/local/lib \
> >  --with-template-objects \
> >  --with-cgiurl="/cgi-bin/nagios" \
> >  --with-htmurl="/nagios"
> >
> >I don't get any errors when running:
> >/usr/local/nagios-2.0b3/bin/nagios -v
> >/usr/local/nagios-2.0b3/etc/nagios.cfg
> >
> >
> >No errors in /var/log/nagios/nagios.log and no
> errors
> >in apache.  Any ideas on what I can try?
> >
> >Thanks.
> >
> >-Josh
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> >http://mail.yahoo.com 
> >
> >
>
>-------------------------------------------------------
> >SF.Net email is sponsored by: Tell us your software
> development plans!
> >Take this survey and enter to win a one-year sub to
> SourceForge.net
> >Plus IDC's 2005 look-ahead and a copy of this
> survey
> >Click here to start! 
> http://www.idcswdc.com/cgi-bin/survey?id=105hix
> >_______________________________________________
> >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
> >
> >  
> >
> 
> 
> -- 
> Guillaume LOHEZ
> Administrateur Systemes & Reseaux
> Portable: +33 (0)6 72 23 20 16
> E-mail: guillaume.lohez at linagora.com
> ------------------------------------
> LINAGORA
> 30 Rue Saint Augustin, PARIS 2eme
> Telephone: +33 (0)1 58 18 68 28
> 
> 
> 
> 
>
-------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software
> development plans!
> Take this survey and enter to win a one-year sub to
> SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! 
> http://www.idcswdc.com/cgi-bin/survey?id5hix
> _______________________________________________
> 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
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
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