thnx guyz for replying my mail... actually, i had got solution to my problem few afters i had wrote this mail. I m extremly sorry for that.
Further googling told me that I was trying to simply start nagios from NOT /etc/init.d/.... which means i had to start nagios using the following /etc/init.d/nagios start .... and it worked. sorry again ... ratnakar Koli --- Ajitabh Pandey <[EMAIL PROTECTED]> wrote: > * 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/linux-india-help > Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
