Page 3 of 3

Re: nagiosxi 5.5.11 install showing wrong version

Posted: Tue May 28, 2019 10:45 am
by rjmon
Is this considered as success?

Code: Select all

$ sudo yum reinstall nagiosxi
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
epel/x86_64/metalink                                                                                                                                                                 |  15 kB  00:00:00
epel                                                                                                                                                                                 | 4.7 kB  00:00:00
nagios-base                                                                                                                                                                          | 1.5 kB  00:00:00
nagiosxi-deps                                                                                                                                                                        | 1.5 kB  00:00:00
rhel-7-server-optional-rpms                                                                                                                                                          | 2.0 kB  00:00:00
rhel-7-server-rh-common-rpms                                                                                                                                                         | 2.1 kB  00:00:00
rhel-7-server-rhn-tools-rpms                                                                                                                                                         | 1.8 kB  00:00:00
rhel-7-server-rpms                                                                                                                                                                   | 2.0 kB  00:00:00
rhel-7-server-satellite-tools-6.4-rpms                                                                                                                                               | 2.1 kB  00:00:00
(1/2): epel/x86_64/updateinfo                                                                                                                                                        | 1.0 MB  00:00:00
(2/2): epel/x86_64/primary_db                                                                                                                                                        | 6.7 MB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi.x86_64 0:5.6.2-2.el7 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                         Arch                                          Version                                             Repository                                          Size
============================================================================================================================================================================================================
Reinstalling:
 nagiosxi                                        x86_64                                        5.6.2-2.el7                                         nagios-base                                         55 M

Transaction Summary
============================================================================================================================================================================================================
Reinstall  1 Package

Total download size: 55 M
Installed size: 163 M
Is this ok [y/d/N]: n
Exiting on user command
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2019-05-28.09-48.yBQhjS.yumtx
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
[nagadm@nagio01aplxa tmp]$
[nagadm@nagio01aplxa tmp]$ sudo yum reinstall nagiosxi
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-optional-rpms                                                                                                                                                          | 2.0 kB  00:00:00
rhel-7-server-rh-common-rpms                                                                                                                                                         | 2.1 kB  00:00:00
rhel-7-server-rhn-tools-rpms                                                                                                                                                         | 1.8 kB  00:00:00
rhel-7-server-rpms                                                                                                                                                                   | 2.0 kB  00:00:00
rhel-7-server-satellite-tools-6.4-rpms                                                                                                                                               | 2.1 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi.x86_64 0:5.6.2-2.el7 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                         Arch                                          Version                                             Repository                                          Size
============================================================================================================================================================================================================
Reinstalling:
 nagiosxi                                        x86_64                                        5.6.2-2.el7                                         nagios-base                                         55 M

Transaction Summary
============================================================================================================================================================================================================
Reinstall  1 Package

Total download size: 55 M
Installed size: 163 M
Is this ok [y/d/N]: y
Downloading packages:
nagiosxi-5.6.2-2.el7.x86_64.rpm                                                                                                                                                      |  55 MB  00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : nagiosxi-5.6.2-2.el7.x86_64                                                                                                                                                              1/1
Uploading Package Profile
  Verifying  : nagiosxi-5.6.2-2.el7.x86_64                                                                                                                                                              1/1

Installed:
  nagiosxi.x86_64 0:5.6.2-2.el7

Complete!
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager

Re: nagiosxi 5.5.11 install showing wrong version

Posted: Tue May 28, 2019 11:54 am
by scottwilkerson
looks like it, can you share the /tmp/xi-install.log

Re: nagiosxi 5.5.11 install showing wrong version

Posted: Tue May 28, 2019 12:32 pm
by rjmon
Attaching them.

Re: nagiosxi 5.5.11 install showing wrong version

Posted: Tue May 28, 2019 12:46 pm
by scottwilkerson
this is quite bizarre I have no idea why your upgrade would list all the unit files at the bottom of the upgrade log and then output

Code: Select all

Failed to execute operation: File exists
You were root when you executed the command right?

Can you also show the output of this as it is one of the next commands the upgrade should have ran

Code: Select all

ls -l /etc/cron.d/nagiosxi 

Re: nagiosxi 5.5.11 install showing wrong version

Posted: Tue May 28, 2019 12:59 pm
by rjmon
Here is the output of the command

Code: Select all

$  ls -l /etc/cron.d/nagiosxi
-rw-r--r--. 1 root root 1662 Apr  2 09:15 /etc/cron.d/nagiosxi
[nagadm@nagio01aplxa tmp]$

Re: nagiosxi 5.5.11 install showing wrong version

Posted: Tue May 28, 2019 3:20 pm
by ssax
Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup and get this resolved:

Code: Select all

https://support.nagios.com/tickets/