Install fails at subcomponent install stage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Install fails at subcomponent install stage

Post by sreinhardt »

Try this:

Code: Select all

chmod +x /tmp/nagiosxi/nagiosxi/basedir/scripts/uninstall_xi.sh
/tmp/nagiosxi/nagiosxi/basedir/scripts/uninstall_xi.sh
Then go back and do fullinstall. I am not certain that this will work as it likely depends on some things to be installed but IIRC it should continue through all the steps. This will fully remove any postgres or mysql db's and users as well as all nagios files.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
ucop
Posts: 20
Joined: Wed May 22, 2013 5:55 pm

Re: Install fails at subcomponent install stage

Post by ucop »

Latest install log attached. Quick examination shows that it looks just like the previous version of the install log that I attached before. Thanks!
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Install fails at subcomponent install stage

Post by abrist »

Any information in your mysqld logs?

Code: Select all

tail -25 /var/log/mysqld
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ucop
Posts: 20
Joined: Wed May 22, 2013 5:55 pm

Re: Install fails at subcomponent install stage

Post by ucop »

I was able to run the install to completion today, however, there are issues with the running processes it seems. I can log into Nagios, but if I try to add a simple PC host or a Linux server for monitoring, it will keep saving configuration indefinitely and will never finish. After this the Nagios stops responding and would not restart. I did a full clean uninstall and re-installed Nagios again. I notice that it is behaving the same way. I checked for running processes and it shows this:

[asolokhi@itsnms01t nagiosxi]$ ps -ef | grep nagios
postgres 984 4068 0 10:46 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38994) idle
asolokhi 1236 29289 0 10:49 pts/0 00:00:00 grep nagios
nagios 6072 1 0 May28 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 6111 6072 0 May28 ? 00:00:01 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 6112 6111 0 May28 ? 00:00:04 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 6115 1 0 May28 ? 00:00:34 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 6140 1 0 May28 ? 00:00:00 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
postgres 29318 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38705) idle
postgres 29321 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38706) idle
postgres 29324 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38707) idle
postgres 29327 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38708) idle
postgres 29331 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38709) idle
postgres 29337 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38710) idle
postgres 29344 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38711) idle
postgres 29347 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38712) idle
postgres 29351 4068 0 09:58 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38715) idle
postgres 29428 4068 0 09:59 ? 00:00:00 postgres: nagiosxi nagiosxi ::1(38723) idle

Seems to me that some processes are missing. I attached the latest install log here. I have not attempted to set up any services to monitor on the latest install so it doesn't get hosed again. Thanks in advance!
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Install fails at subcomponent install stage

Post by lmiltchev »

Go to Admin->System Profile->Download Profile, save the "profile.zip" and send it to [email protected]. Place "Install fails at subcomponent install stage" in the subject line. This will open a new support ticket in our ticketing system. It would be easier for us to troubleshoot the issue this way. We could also schedule a remote session if we have to. I will keep this post unlocked, until we receive the "profile.zip".
Be sure to check out our Knowledgebase for helpful articles and solutions!
ucop
Posts: 20
Joined: Wed May 22, 2013 5:55 pm

Re: Install fails at subcomponent install stage

Post by ucop »

I sent it per your request. I have also attached the latest install log file to the same email
Thank you
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Install fails at subcomponent install stage

Post by slansing »

Moving to ticket.
Locked