Ok, so I disabled SELinux, and all of a sudden, everything works fine. SELinux = the bane of my existence. So thanks Marc for mentioning SELinux.
-- Cassandra (609) 243-2413 "From a little spark may burst a mighty flame." Message: 7 Date: Thu, 2 Aug 2007 14:42:10 -0400 From: "Cassandra Pugh" <[EMAIL PROTECTED]> Subject: [Nagios-users] cgi's not working To: <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" I just installed Nagios 2.9 and when I get up to the web portion, I get my page up, the documentation shows up, but when I click on various cgis on the sidebar, I get the whoops message : now, 1 - I have verified the config options by using the command line procedure, and it comes back 0 warnings, 0 errors. 2- Nagios log shows nagios starting just fine. I have verified it is running, I see logs that tell me things are being monitored, I get emails if stuff goes down, etc. I just cannot see the web interface. #3 I am not so sure about? I just ran the make files as the documentation states, so I don't see why this would not be correct? " 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). :" -- Cassandra (609) 243-2413 "From a little spark may burst a mighty flame." ------------------------------ Message: 8 Date: Thu, 2 Aug 2007 13:47:33 -0500 From: "Marc Powell" <[EMAIL PROTECTED]> Subject: Re: [Nagios-users] cgi's not working To: <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="US-ASCII" > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Cassandra Pugh > Sent: Thursday, August 02, 2007 1:42 PM > To: [email protected] > Subject: [Nagios-users] cgi's not working > > I just installed Nagios 2.9 and when I get up to the web portion, I get my > page up, the documentation shows up, but when I click on various cgis on > the > sidebar, I get the whoops message : > > now, > 1 - I have verified the config options by using the command line > procedure, > and it comes back 0 warnings, 0 errors. > > 2- Nagios log shows nagios starting just fine. I have verified it is > running, > I see logs that tell me things are being monitored, I get emails if stuff > goes down, etc. I just cannot see the web interface. > > #3 I am not so sure about? I just ran the make files as the documentation > states, so I don't see why this would not be correct? Presuming you followed the manual on configuring the web interface and that all is ok there. Are there any errors in your web server logs? Does your web server have permission to read /path/to/nagios/var and /path/to/nagios/etc? Do you have SELinux enabled and if so, verified that there are no errors there? -- Marc ------------------------------ Message: 9 Date: Thu, 2 Aug 2007 11:49:20 -0700 From: Patrick Morris <[EMAIL PROTECTED]> Subject: Re: [Nagios-users] cgi's not working To: Cassandra Pugh <[EMAIL PROTECTED]> Cc: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii On Thu, 02 Aug 2007, Cassandra Pugh wrote: > I just installed Nagios 2.9 and when I get up to the web portion, I get my > page up, the documentation shows up, but when I click on various cgis on the > sidebar, I get the whoops message : > > now, > 1 - I have verified the config options by using the command line procedure, > and it comes back 0 warnings, 0 errors. > > 2- Nagios log shows nagios starting just fine. I have verified it is running, > I see logs that tell me things are being monitored, I get emails if stuff > goes down, etc. I just cannot see the web interface. > > #3 I am not so sure about? I just ran the make files as the documentation > states, so I don't see why this would not be correct? 1. That won't check for errors in your cgi.cfg, which sounds like it's not configured correctly. 2. Yep, that matches up with a borked cgi.cfg, too. 3. Check your cgi.cfg file. :) Also, make sure that those config files have proper permissions for your webserver user to read them. ------------------------------ ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 15, Issue 4 ******************************************* ------------------------------------------------------------------------- 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 [email protected] 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
