> Results in Internal Server error. I don't know what your OS is but this > could be SELinux restrictions if you haven't allowed the proper context > for the Nagios sbin directory.
Short Question: Where is the nagios sbin directory if you installed from RPM? Long Story: I just installed Nagios 2.0 (stable) on a FC4 system with SElinux enabled. I used the fc3 RPMs from http://dag.wieers.com/packages/nagios/ (dag doesn't have the FC4 RPMs out there yet): nagios-2.0-2.1.fc3.rf.i386 Also installed nagios-plugins-1.4.1-1.1.fc3.rf.i386 from http://dag.wieers.com/packages/nagios-plugins/. Seems to be ok, except I had to --nodep the installation of the plugins and add "Ignore { nagios-plugins };" to my apt.conf file (yes, I'm still using apt)... The reason was that it was complaining about Perl Net-SNMP, but I already had it installed (net-snmp-perl)... Then I copied my config files from an older server I had (with Nagios 1.2), changed a few things to comply with the new syntax and tried to get the web interface configured. I was able to get to the home page and read the online help/manual ok. But any other attempt to click on hosts, services, etc would not work. I'd get "Error: Could not read object configuration data!" No trace of this in /var/log/nagios/nagios.log... I assume I need to configure SElinux, but unfortunately I don't know how. Any pointers would be appreciated. I tried one thing: chcon -R system_u:object_r:httpd_sys_script_exec_t /usr/lib/nagios/ (although I think I only need to do this on /usr/lib/nagios/cgi/) But that didn't help a bit... Thanks, Ross -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Monday, February 27, 2006 7:41 PM To: [email protected] Subject: RE: [Nagios-users] Problems with RPM install > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Brook Hurd > Sent: Monday, February 27, 2006 6:22 PM > To: [email protected] > Subject: [Nagios-users] Problems with RPM install > > The RPM install of Nagios was fairly strait forward. I installed the RPMs > for Nagios and the Nagios-plugins along with the misc. required RPMs. > Unfortunately, all the documentation is written toward a non rpm install. > Not too surprising since RPM installs can vary quite a bit depending on the packager. > The RPM file added all the appropriate httpd.conf configurations, and I > setup up proper users, etc. It is viewable at: > > [link] <http://server.brookhurd.com/nagios/> > > userid: guest > password: guest Results in Internal Server error. I don't know what your OS is but this could be SELinux restrictions if you haven't allowed the proper context for the Nagios sbin directory. > > [EMAIL PROTECTED] nagios]# /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > CONFIG ERROR! Start aborted. Check your Nagios configuration. > [EMAIL PROTECTED] nagios]# > > I just cannot get it to run and cannot see the issue with the Nagios > config. Run /path/to/nagios -v /path/to/nagios.cfg. Nagios will verify your configuration files and report any errors. > I even altered ownership info in the 'nagios.conf' to root: What is the contents of this file? There isn't a nagios.conf that's part of the standard distribution. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ 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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ 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
