New Install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Kalpesh
Posts: 5
Joined: Thu Aug 18, 2011 10:54 am

New Install

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: New Install

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Kalpesh
Posts: 5
Joined: Thu Aug 18, 2011 10:54 am

Re: New Install

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: New Install

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Kalpesh
Posts: 5
Joined: Thu Aug 18, 2011 10:54 am

Re: New Install

Post 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?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: New Install

Post 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?
Nicholas Scott
Former Nagios employee
Kalpesh
Posts: 5
Joined: Thu Aug 18, 2011 10:54 am

Re: New Install

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: New Install

Post by lmiltchev »

Any updates on this? Is it still stuck?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked