Re: [Nagios-users] cgi issues

2007-08-03 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Tory M Blue
> Sent: Friday, August 03, 2007 2:31 PM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] cgi issues
> 
> > > I have upgraded nagios from version 1.4 to 2.9 using the Debian
> > > packages.. I've been trying to configure the new installation and
keep
> > > getting "Error: Could not read object configuration data!" when I
try
> > to
> > > run any of the cgi's. I have double checked all my config files
and
> > made
> 
> 
> Check ownership of the file, not just permissions.  Nagios:apache as
> the webserver needs access to it. That bit me before

Read permissions for other is standard practice and sufficient. The
external command file is the only file that needs special group
association for security reasons.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] cgi issues

2007-08-03 Thread Tory M Blue
> > I have upgraded nagios from version 1.4 to 2.9 using the Debian
> > packages.. I've been trying to configure the new installation and keep
> > getting "Error: Could not read object configuration data!" when I try
> to
> > run any of the cgi's. I have double checked all my config files and
> made


Check ownership of the file, not just permissions.  Nagios:apache as
the webserver needs access to it. That bit me before

Tory

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] cgi issues

2007-08-03 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Steve Gregory
> Sent: Friday, August 03, 2007 9:54 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] cgi issues
> 
> I have upgraded nagios from version 1.4 to 2.9 using the Debian
> packages.. I've been trying to configure the new installation and keep
> getting "Error: Could not read object configuration data!" when I try
to
> run any of the cgi's. I have double checked all my config files and
made
> sure the paths were correct. Has anyone else come across this problem?

And the other suggestions that were displayed? --

printf("Verify configuration options using the -v
command-line option to check for errors.\n");
printf("Check the Nagios log file for messages relating to
startup or status data errors.\n");
printf("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).\n");

Is nagios actually running? Is your web server able to read files in
/path/to/nagios/etc and /path/to/nagios/var? Any errors in your web
server logs? Do you have SELinux enabled and providing proper access
rights to your web server? 

There were configuration changes required in the conversion from 1.x to
2.x documented in the ChangeLog/What's New files. Did you make those
changes?

--
Marc with a sense of deja-vu

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] cgi issues

2007-08-03 Thread Steve Gregory
I have upgraded nagios from version 1.4 to 2.9 using the Debian 
packages.. I've been trying to configure the new installation and keep 
getting "Error: Could not read object configuration data!" when I try to 
run any of the cgi's. I have double checked all my config files and made 
sure the paths were correct. Has anyone else come across this problem?

Steve


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@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