Page 1 of 1

Install Issues

Posted: Tue Feb 16, 2016 11:42 am
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 ?

Re: Install Issues

Posted: Tue Feb 16, 2016 11:45 am
by hsmith
Maybe SELinux is messing with you?

Code: Select all

getenforce

Re: Install Issues

Posted: Tue Feb 16, 2016 12:00 pm
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

Re: Install Issues

Posted: Tue Feb 16, 2016 12:19 pm
by rkennedy
Can you please run the command getenforce and post the result?

Re: Install Issues

Posted: Wed Feb 17, 2016 5:11 am
by chrisbell
@nagios:~$ getenforce
The program 'getenforce' is currently not installed. You can install it by typing:
sudo apt-get install selinux-utils

Re: Install Issues

Posted: Wed Feb 17, 2016 8:24 am
by chrisbell
Re - Installed with these instructions.

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

Works Fine now - now to start configuring..

Re: Install Issues

Posted: Wed Feb 17, 2016 11:57 am
by rkennedy
Odd - are we good to mark this thread as resolved then?