nagiosxi 5.5.11 install showing wrong version

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rjmon
Posts: 106
Joined: Wed Dec 06, 2017 11:39 am

Re: nagiosxi 5.5.11 install showing wrong version

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagiosxi 5.5.11 install showing wrong version

Post by scottwilkerson »

looks like it, can you share the /tmp/xi-install.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rjmon
Posts: 106
Joined: Wed Dec 06, 2017 11:39 am

Re: nagiosxi 5.5.11 install showing wrong version

Post by rjmon »

Attaching them.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagiosxi 5.5.11 install showing wrong version

Post 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 
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rjmon
Posts: 106
Joined: Wed Dec 06, 2017 11:39 am

Re: nagiosxi 5.5.11 install showing wrong version

Post 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]$
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: nagiosxi 5.5.11 install showing wrong version

Post 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/
Locked