Install Issues

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
chrisbell
Posts: 4
Joined: Tue Feb 16, 2016 11:36 am

Install Issues

Post by chrisbell »

Hi Chaps,

Installed 4.1.1 ona Ubuntu 14 server using the following guide

http://www.unixmen.com/install-configur ... 4-1014-04/

I'm getting the site up but its showing as X not running on the main page and Error: Could not read object configuration data!

If I run sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

I get ..

Reading configuration data...
Read main config file okay...
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Checked 15 services.
Checked 2 hosts.
Checked 2 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 24 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 2 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check


But still nothing changes.

Any ideas where to go next ?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Install Issues

Post by hsmith »

Maybe SELinux is messing with you?

Code: Select all

getenforce
Former Nagios Employee.
me.
chrisbell
Posts: 4
Joined: Tue Feb 16, 2016 11:36 am

Re: Install Issues

Post by chrisbell »

erm... not sure.

Google this and it thinks not.

$ selinuxenabled && echo enabled || echo disabled
The program 'selinuxenabled' is currently not installed. You can install it by typing:
sudo apt-get install selinux-utils
disabled
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Install Issues

Post by rkennedy »

Can you please run the command getenforce and post the result?
Former Nagios Employee
chrisbell
Posts: 4
Joined: Tue Feb 16, 2016 11:36 am

Re: Install Issues

Post by chrisbell »

@nagios:~$ getenforce
The program 'getenforce' is currently not installed. You can install it by typing:
sudo apt-get install selinux-utils
chrisbell
Posts: 4
Joined: Tue Feb 16, 2016 11:36 am

Re: Install Issues

Post by chrisbell »

Re - Installed with these instructions.

http://sites.box293.com/nagios/guides/i ... untu-14-04

Works Fine now - now to start configuring..
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Install Issues

Post by rkennedy »

Odd - are we good to mark this thread as resolved then?
Former Nagios Employee
Locked