Yes. Upgrade.
Yes. Offline. Our Nagios server doesn't have connectivity to the public Internet. Just Redhat repos.
Update Fail - 5.6.10 to 5.6.12
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Update Fail - 5.6.10 to 5.6.12
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
./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.rpmRe: Update Fail - 5.6.10 to 5.6.12
I have not run the reintsall command yet, but this is what I am seeing. Which is odd to me.
I'm going to try to reinstall still:
Ok, and now:
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?
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 ~]$
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]#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 ~]$Thoughts?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Update Fail - 5.6.10 to 5.6.12
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.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?
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
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Update Fail - 5.6.10 to 5.6.12
Sounds goodjenglish 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.
Locking thread