Page 1 of 2
Install fails at subcomponent install stage
Posted: Thu May 23, 2013 1:08 pm
by ucop
Hello,
installing Nagios XI on our newly updated RHEL server from scratch. The install fails with the following error:
/bin/sh: /var/www/html/products/xi/subcomponents/extraplugins/check_mysql_health-2.1/missing: No such file or directory
make: *** [aclocal.m4] Error 127
ERROR: Subcomponent 'extraplugins' installation failed - exiting.
interestingly, the directory /var/www/html/products is not there. Everything before it executes ok.
Please advise.
Thank you.
Re: Install fails at subcomponent install stage
Posted: Thu May 23, 2013 1:12 pm
by abrist
You may be missing automake. Try:
Then try to rerun the install.
Re: Install fails at subcomponent install stage
Posted: Thu May 23, 2013 4:32 pm
by ucop
abrist wrote:You may be missing automake. Try:
Then try to rerun the install.
Thanks for pointing this out. 'automake' was not installed and I installed it. Now I get the following error:
ERROR 1396 (HY000) at line 3: Operation CREATE USER failed for 'ndoutils'@'localhost'
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting
thanks again!
Re: Install fails at subcomponent install stage
Posted: Thu May 23, 2013 4:39 pm
by lmiltchev
Can you upload the "/tmp/nagiosxi/install.log" file, so that we can take a look at it?
Re: Install fails at subcomponent install stage
Posted: Thu May 23, 2013 4:46 pm
by ucop
Absolutely. The install.log file is attached here with the response here. The actual file has been renamed for the archiving purposes.
Re: Install fails at subcomponent install stage
Posted: Thu May 23, 2013 4:55 pm
by abrist
Did this server already have a mysql database?
Was the ./fullinstall run as root?
Re: Install fails at subcomponent install stage
Posted: Thu May 23, 2013 5:11 pm
by ucop
The server is a clean config, the only db it had was from a previous nagios install attempt. I had to clean up the install manually, because it failed to early to create /usr/local/nagiosxi/scripts directory. Perhaps I did not clean up the mysql db correctly? Before trying the install again I also removed the general yum packages and let the installer re-install them.
The install was run as root, of course.
Re: Install fails at subcomponent install stage
Posted: Fri May 24, 2013 9:38 am
by abrist
Make sure the db has been removed as well. Also, remove the /tmp/nagiosxi directory and re-untar it.
Re: Install fails at subcomponent install stage
Posted: Tue May 28, 2013 3:28 pm
by ucop
I did as suggested and removed the /tmp/nagiosxi dir and re-untared it. The install keeps failing with the same error:
ERROR 1396 (HY000) at line 3: Operation CREATE USER failed for 'ndoutils'@'localhost'
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Perhaps I did not remove some bits of the db(s). Can you suggest the best procedure for manual db removal?
Thank you
Re: Install fails at subcomponent install stage
Posted: Tue May 28, 2013 3:40 pm
by abrist
Do you have the newest install log file? if so, can you post it?