* Ratnakar Koli <[EMAIL PROTECTED]> [2006-07-11 22:08:46 +0100]: ><Quote> >Error: Cannot open main configuration file >'/usr/local/nagios/bin/start' for reading! >Warning: Cannot open log file >'/usr/local/nagios/var/nagios.log' for writing >Nagios 2.4 starting... (PID=11018) >Warning: Cannot open log file >'/usr/local/nagios/var/nagios.log' for writing >Warning: Cannot open log file >'/usr/local/nagios/var/nagios.log' for writing >Bailing out due to one or more errors encountered in >the configuration files. Run Nagios from the command >line with the -v option to verify your config before >restarting. (PID=11018) > ><UnQuote>
FC5 has SELinux enabled by default. Check whether it is enabled or in enforcing mode. As root execute the following: [EMAIL PROTECTED] # getenforce If the output is "enforcing" then try starting Nagios after setting the mode to permissive: [EMAIL PROTECTED] # setenforce permissive If it works then its definitely an SELINUX configuration issues and you need to change the contexts etc for your nagios cgi-bin files, configuration files and log files. Send an "ls -Z" recursive output of your /usr/local/nagios tree. Cheers. -- Ajitabh Pandey http://www.ajitabhpandey.info/ ICQ - 150615062 Registered Linux User - 240748 GnuPG Key ID - C2AED210 Key fingerprint = 8A56 0684 44C2 3373 D441 20AF 7398 4DEB C2AE D210 ----------------------------------- Paradise is exactly like where you are right now ... only much, much better. -- Laurie Anderson ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-india-help mailing list linux-india-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-india-help