Page 1 of 1

New Install

Posted: Thu Aug 18, 2011 10:59 am
by Kalpesh
I did a manual install of nagiosxi. When I bring up the web page, I get 2 errors.

1) In administration task, I get, One or more configuration files or scripts has incorrect settings, which will cause configuration changes to fail.

/usr/local/nagios/etc/commands.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/contactgroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/contacts.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/contacttemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/hostdependencies.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/hostescalations.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/hostextinfo.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/hostgroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/hosttemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/servicedependencies.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/serviceescalations.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/serviceextinfo.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/servicegroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/servicetemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
/usr/local/nagios/etc/timeperiods.cfg (OWNER=root, GROUP=root, PERMS=u---------)

running /usr/local/nagiosxi/scripts/reset_config_perms did not help..

on the server all the above config files are missing.

2) Important Tasks:
The last update check failed.

Can someone please help.

Thanks,
Kalpesh

Re: New Install

Posted: Thu Aug 18, 2011 11:51 am
by lmiltchev
What version of Nagios XI did you install?
What distribution did you install it to? Was it a "clean" install?
What steps did you take while installing it? For example, did you run "fullinstall" or you went through all steps individually? Did you get any errors during the install?
Can you upload the "install.log" from the nagiosxi directory, so we can review it?

Re: New Install

Posted: Thu Aug 18, 2011 12:01 pm
by Kalpesh
Hi, thanks for the response.

I installed xi-2011r1.6.
It was a clean install.
I ran fullinstall, since there were issues encountered few times, like unable to download certain files from internet, postgresql password issue etc. my install.log is not complete.

Re: New Install

Posted: Thu Aug 18, 2011 2:22 pm
by lmiltchev
Could you run the following commands in terminal (as root) from your "nagiosxi" directory and post the output?

Code: Select all

# rm installed.importnagiosql
# ./E-importnagiosql
BTW, are you using any proxies?

Re: New Install

Posted: Thu Aug 18, 2011 3:17 pm
by Kalpesh
Hi,

This is the output:

./E-importnagiosql
Sleeping...
NOTE: If prompted, enter the MySQL root password
NagiosQL database appears OK - continuing...
NDOUtils database appears OK - continuing...
ERROR: No files to import - exiting. Were Nagios Core and NagiosQL installed?

Re: New Install

Posted: Fri Aug 19, 2011 10:14 am
by nscott
Occassionally there will be PID file that doesn't get created in time as a race condition. Can you untar the nagiosxi tarball again that you downloaded and then remove all the installed.* files, then run the ./fullinstall again?

Re: New Install

Posted: Fri Aug 19, 2011 12:54 pm
by Kalpesh
Thanks, from last 10 minutes or so, it seems to be stuck at:

64-bit system detected, modifying yum
Loaded plugins: rhnplugin, security
Setting up Remove Process
No Match for argument: *.i?86

Re: New Install

Posted: Fri Aug 19, 2011 3:08 pm
by lmiltchev
Any updates on this? Is it still stuck?