BAM!!!
Works once I know the system was running SELINUX.
Why its always good idea to check the installed packages when you dont install the OS.
Thanks again for all the help when it came down to a system issue.
Search found 10 matches
- Tue Mar 18, 2014 6:35 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
- Tue Mar 18, 2014 1:36 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Re: Nagios Core Startup Issue
-rwxr-xr-x. 1 root root 892 Mar 18 13:36 /etc/nagios/private/resource.cfg
- Fri Mar 14, 2014 3:21 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Re: Nagios Core Startup Issue
have been trying to execute the init script "service nagios start" as root. The init.d/nagios is configure as user/group nagios. The file permissions are 100% out of the way and it still errors on those two dir. right now i am just running nagios -d (configpath) then killing the process an...
- Thu Mar 13, 2014 11:05 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Re: Nagios Core Startup Issue
so just to test permission of nagios I chmod 777 -R the objects and private dir. The script still failed on the same objects and private/resources.cfg I dropped to the nagios user and ran nagios -v (nagios.cfg path), and the validation passes. Is the script being run as the from the init.d NagiosUse...
- Wed Mar 12, 2014 5:11 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Re: Nagios Core Startup Issue
OK, getting some where. Error: Cannot open resource file '/etc/nagios/private/resource.cfg' for reading! Read main config file okay... Processing object config directory '/etc/nagios/objects'... Error: Could not open config directory '/etc/nagios/objects' for reading. Error processing object config ...
- Wed Mar 12, 2014 4:27 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Re: Nagios Core Startup Issue
adding the following from init. NagiosBin=/usr/sbin/nagios NagiosCfgFile=/etc/nagios/nagios.cfg nagiosbin appears correct and every one should be able to execute -rwxr-xr-x. 1 root root 652384 Aug 30 2013 nagios config file is at /etc/nagios/nagios.cfg Its even passing in the first two checks on sta...
- Wed Mar 12, 2014 4:16 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Re: Nagios Core Startup Issue
Thats where I thought it was dying as I get the echo of :
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration
But after running nagios -v (config path)
echo $? returns 0
So I wonder where its going bad.
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration
But after running nagios -v (config path)
echo $? returns 0
So I wonder where its going bad.
- Tue Mar 11, 2014 8:22 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Re: Nagios Core Startup Issue
I have it running now with out the init script. Looking at the paths they all seem correct. Not sure why this keeps failing. #!/bin/sh # # chkconfig: - 99 01 # description: Nagios network monitor # # File : nagios # # Author : Jorge Sanchez Aymar (jsanchez@lanchile.cl) # # Changelog : # # 1999-07-09...
- Tue Mar 11, 2014 2:05 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Re: Nagios Core Startup Issue
Ok, running right off the binary pointing to the config file its starting. all thought not pulling services only host ICMP. (maybe broker config?)
Not sure why the init file is not working correctly.
Whats the best way to get the init file working again, or find out why its not working?
Not sure why the init file is not working correctly.
Whats the best way to get the init file working again, or find out why its not working?
- Tue Mar 11, 2014 11:42 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Startup Issue
- Replies: 18
- Views: 13527
Nagios Core Startup Issue
So I am trying to migrate our nagios core system from a freeBSD box to a CentOS system. it is a version upgrade from 3.5.0 to 3.5.1. I installed the CentOS nagios version using EPEL respository. As a default install it worked showing the local host. I then copy over and config files and check script...