After Update NagiosXI 5.7 Problem with the monitor engine

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gaguilard
Posts: 35
Joined: Tue Sep 03, 2019 2:39 am

After Update NagiosXI 5.7 Problem with the monitor engine

Post by gaguilard »

I tryed to downgrade to XI 5.6.14 to restore a backup.
It´s doesn't made any.
Then I tryed to make a complete re installation of the 5.6.14.
The installation process was cacelled because

Subcomponents installation failed - exiting
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log)

The log says:

"INSTALL: SSH Terminal is being installed...
grep: /etc/httpd/conf.d/ssl.conf: No such file or directory
ERROR: Subcomponent 'sshterminal' installation failed - exiting.
Subcomponents installation failed - exiting"

I checked it and there is not a file named ssl.conf in this directory.

Can you help with this please.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by ssax »

Restoring an old version over the top of a new version is likely to break a lot of things. You should only restore to the exact same version of XI.

Did you run the upgrade command or the fullinstall command? I'm hoping you didn't lose data by forcing it to go through the fresh install.
grep: /etc/httpd/conf.d/ssl.conf: No such file or directory
If that doesn't exist something else likely failed further up, please include the full log so we can see everything that occurred.
User avatar
tgriep
Madmin
Posts: 9179
Joined: Thu Oct 30, 2014 9:02 am

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by tgriep »

Try this to re-install the ssl.conf file.
Run the following as root.

Code: Select all

yum install mod_ssl -y
That should put the ssl.conf file back on the system.
Be sure to check out our Knowledgebase for helpful articles and solutions!
gaguilard
Posts: 35
Joined: Tue Sep 03, 2019 2:39 am

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by gaguilard »

Hi SSAX: Thanks for your answer.
The problem that I have, after upgrade, my server doesn´t run anymore. Then, to restore I do not have another option to make a downgrade.
The option to make a downgrade doesn´t work, then, I tryed re installing the old version on top of the new version. It operation shoul broke a lot of things of the new version but I believe that it restore the components needed to run again 5.6.14.
If I can restore my 5.6.14 and it works correctly, after that operation, I can try to make a new upgrade.
If it doesn't work... I will reinstall all...
gaguilard
Posts: 35
Joined: Tue Sep 03, 2019 2:39 am

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by gaguilard »

Hi tgriep:
I done it but the result doesn´t change. The error continue.
Thanks for you help
User avatar
tgriep
Madmin
Posts: 9179
Joined: Thu Oct 30, 2014 9:02 am

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by tgriep »

After installing the mod_ssl package, did it install the /etc/httpd/conf.d/ssl.conf file?

If so, then that should fix the sshterminal error during the install.

I agree with what @ssax said, downgrading probably will not work as some of the settings in the MYSQL database have been changed and the older version would probably fail with the new settings.

Try the upgrade to 5.7.0 again. Use the manual upgrade process in the article below.
https://support.nagios.com/kb/article/n ... i-134.html
If it fails, post the /tmp/nagiosxi/upgrade.log

If it passes and nagios does not start, post the /usr/local/nagios/var/nagios.log file.
Be sure to check out our Knowledgebase for helpful articles and solutions!
gkrono
Posts: 15
Joined: Fri May 04, 2018 4:34 am

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by gkrono »

hello ?
I am experiencing same problem
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9179
Joined: Thu Oct 30, 2014 9:02 am

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by tgriep »

There was a new release of XI yesterday that you should upgrade to on your server. I suggest the manual upgrade procedure to do the upgrade.
https://assets.nagios.com/downloads/nag ... ctions.pdf

If after the upgrade, the Monotoring Engine does not start, then the issue you are having on your server is different than the other user so I will need you to run the following and post the output to the post.

Code: Select all

ps -ef |grep nagios
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
gkrono
Posts: 15
Joined: Fri May 04, 2018 4:34 am

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by gkrono »

find the attached
You do not have the required permissions to view the files attached to this post.
gkrono
Posts: 15
Joined: Fri May 04, 2018 4:34 am

Re: After Update NagiosXI 5.7 Problem with the monitor engin

Post by gkrono »

find the attached
You do not have the required permissions to view the files attached to this post.
Locked