Page 2 of 2
Re: Update Fail - 5.6.10 to 5.6.12
Posted: Thu Mar 12, 2020 10:38 am
by jenglish
Yes. Upgrade.
Yes. Offline. Our Nagios server doesn't have connectivity to the public Internet. Just Redhat repos.
Re: Update Fail - 5.6.10 to 5.6.12
Posted: Thu Mar 12, 2020 4:51 pm
by scottwilkerson
This is really bizarre, I actually don't see why an upgrade would ever run
./init-xidb
It's not part of the rpmupgrade script
Lets try this
Code: Select all
yum reinstall nagiosxi-5.6.12-1.el6.x86_64.rpm
Re: Update Fail - 5.6.10 to 5.6.12
Posted: Thu Mar 12, 2020 9:07 pm
by jenglish
I have not run the reintsall command yet, but this is what I am seeing. Which is odd to me.
Code: Select all
[jenglish@boy-adams ~]$ date ; grep full /usr/local/nagiosxi/var/xiversion ; cat /etc/redhat-release ; uname -r
Thu Mar 12 21:59:48 EDT 2020
full=5.6.12
Red Hat Enterprise Linux Server release 6.10 (Santiago)
2.6.32-754.23.1.el6.x86_64
[jenglish@boy-adams ~]$
I'm going to try to reinstall still:
Code: Select all
[root@boy-adams nagiosxi]# yum reinstall nagiosxi-5.6.12-1.el6.x86_64.rpm
Loaded plugins: enabled_repos_upload, package_upload, product-id, rhnplugin, search-
: disabled-repos, security, subscription-manager
This system is not registered with RHN Classic or RHN Satellite.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
Setting up Reinstall Process
Examining nagiosxi-5.6.12-1.el6.x86_64.rpm: nagiosxi-5.6.12-1.el6.x86_64
OPM-NM_nm-epel_nm_epel_Server6 | 2.4 kB 00:00
OPM-NM_rhel-custom_6-custom | 2.1 kB 00:00
OPM-NM_wazuh_wazuh | 2.1 kB 00:00
rhel-6-server-extras-rpms | 1.8 kB 00:00
rhel-6-server-optional-rpms | 2.0 kB 00:00
rhel-6-server-rpms | 2.0 kB 00:00
rhel-server-rhscl-6-rpms | 2.0 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi.x86_64 0:5.6.12-1.el6 will be reinstalled
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================
Package Arch Version Repository Size
========================================================================================
Reinstalling:
nagiosxi x86_64 5.6.12-1.el6 /nagiosxi-5.6.12-1.el6.x86_64 166 M
Transaction Summary
========================================================================================
Reinstall 1 Package(s)
Total size: 166 M
Installed size: 166 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : nagiosxi-5.6.12-1.el6.x86_64 1/1
Uploading Package Profile
Verifying : nagiosxi-5.6.12-1.el6.x86_64 1/1
Installed:
nagiosxi.x86_64 0:5.6.12-1.el6
Complete!
Uploading Enabled Repositories Report
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is not registered with RHN Classic or RHN Satellite.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
[root@boy-adams nagiosxi]#
Ok, and now:
Code: Select all
[jenglish@boy-adams ~]$ date ; grep full /usr/local/nagiosxi/var/xiversion ; cat /etc/redhat-release ; uname -r
Thu Mar 12 22:04:19 EDT 2020
full=5.6.12
Red Hat Enterprise Linux Server release 6.10 (Santiago)
2.6.32-754.23.1.el6.x86_64
[jenglish@boy-adams ~]$
I
think it's okay, but I'm a little hesitant. Part of me feels like I should revert to my snapshot of my virtual machine and start over to try and reproduce.
Thoughts?
Re: Update Fail - 5.6.10 to 5.6.12
Posted: Fri Mar 13, 2020 7:06 am
by scottwilkerson
jenglish wrote:I think it's okay, but I'm a little hesitant. Part of me feels like I should revert to my snapshot of my virtual machine and start over to try and reproduce.
Thoughts?
I actually think you are ok. The version you are getting from
/usr/local/nagiosxi/var/xiversion is correct and this is moved in the most critical part of the upgrade.
At this point if anything isn't working it should only be the result of a configuration problem
Re: Update Fail - 5.6.10 to 5.6.12
Posted: Sun Mar 15, 2020 11:02 am
by jenglish
I ended up restoring the snapshot for this virtual machine. We were seeing a lot of NRPE errors. Thanks for your help. We're going to skip updating Nagios at this point because we're moving our instance to a RHEL7 server shortly.
Re: Update Fail - 5.6.10 to 5.6.12
Posted: Mon Mar 16, 2020 6:59 am
by scottwilkerson
jenglish wrote:I ended up restoring the snapshot for this virtual machine. We were seeing a lot of NRPE errors. Thanks for your help. We're going to skip updating Nagios at this point because we're moving our instance to a RHEL7 server shortly.
Sounds good
Locking thread