Unable to upgrade from 5.4.13 to 5.5
-
Matthew.Cary
- Posts: 32
- Joined: Fri Nov 10, 2017 11:43 am
Unable to upgrade from 5.4.13 to 5.5
I've tried the upgrade both from the GUI and the command line.
The last few lines of the install log are:
*** Compile finished ***
You can now continue with the installation or upgrade process.
Read the PDF documentation (docs/NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.
cd ./src/; make install-plugin
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 755 -d /usr/local/nagios/bin
/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 755 -d /usr/local/nagios/bin
/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/bin/install -c -m 755 nrpe /usr/local/nagios/bin
/bin/install -c -m 755 -d /usr/lib/tmpfiles.d
/bin/install -c -m 644 ../startup/tmpfile.conf /usr/lib/tmpfiles.d/nrpe.conf
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 644 startup/default-service /usr/lib/systemd/system/nrpe.service
NRPE installed OK
Updating NRDP..
At that point the install ends. In the GUI I get an "install failed" message. At the command line I'm just dumped back to a command prompt
I don't see any errors further up the the log.
Ive upgraded this server from older to newer versions of 5.4.xx several times without issue. Any thoughts as to what I should be doing differently?
The last few lines of the install log are:
*** Compile finished ***
You can now continue with the installation or upgrade process.
Read the PDF documentation (docs/NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.
cd ./src/; make install-plugin
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 755 -d /usr/local/nagios/bin
/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 755 -d /usr/local/nagios/bin
/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/bin/install -c -m 755 nrpe /usr/local/nagios/bin
/bin/install -c -m 755 -d /usr/lib/tmpfiles.d
/bin/install -c -m 644 ../startup/tmpfile.conf /usr/lib/tmpfiles.d/nrpe.conf
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/bin/install -c -m 644 startup/default-service /usr/lib/systemd/system/nrpe.service
NRPE installed OK
Updating NRDP..
At that point the install ends. In the GUI I get an "install failed" message. At the command line I'm just dumped back to a command prompt
I don't see any errors further up the the log.
Ive upgraded this server from older to newer versions of 5.4.xx several times without issue. Any thoughts as to what I should be doing differently?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unable to upgrade from 5.4.13 to 5.5
@Matthew.Cary, What OS are you using? Is it an online install or an offline install? Could you upload the full upgrade.log from the /tmp/nagiosxi folder?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Matthew.Cary
- Posts: 32
- Joined: Fri Nov 10, 2017 11:43 am
Re: Unable to upgrade from 5.4.13 to 5.5
We are using RHEL 7.4
How can I tell the difference between online and offline installs? The log I'm submitting comes from following the "Manual Install" instructions.
I've attached the log
How can I tell the difference between online and offline installs? The log I'm submitting comes from following the "Manual Install" instructions.
I've attached the log
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: Unable to upgrade from 5.4.13 to 5.5
The followinf is a known bug that can be resolved with the following procedure
https://support.nagios.com/forum/viewto ... 08#p255370
https://support.nagios.com/forum/viewto ... 08#p255370
-
Matthew.Cary
- Posts: 32
- Joined: Fri Nov 10, 2017 11:43 am
Re: Unable to upgrade from 5.4.13 to 5.5
I'm getting farther. I'm now getting the following error:
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-
: disabled-repos, subscription-manager
Examining wkhtmltox-0.12.5.el7.x86_64.rpm: 1:wkhtmltox-0.12.5-1.centos7.x86_64
Marking wkhtmltox-0.12.5.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package wkhtmltox.x86_64 1:0.12.5-1.centos7 will be installed
--> Processing Dependency: xorg-x11-fonts-75dpi for package: 1:wkhtmltox-0.12.5-1.centos7.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:wkhtmltox-0.12.5-1.centos7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-Type1
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-75dpi
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-Type1
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-75dpi
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
And am then dropped to a command prompt>
Are there more things I should comment out in my config? Or am I missing some new prerequisite for 5.5?
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-
: disabled-repos, subscription-manager
Examining wkhtmltox-0.12.5.el7.x86_64.rpm: 1:wkhtmltox-0.12.5-1.centos7.x86_64
Marking wkhtmltox-0.12.5.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package wkhtmltox.x86_64 1:0.12.5-1.centos7 will be installed
--> Processing Dependency: xorg-x11-fonts-75dpi for package: 1:wkhtmltox-0.12.5-1.centos7.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:wkhtmltox-0.12.5-1.centos7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-Type1
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-75dpi
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-Type1
Error: Package: 1:wkhtmltox-0.12.5-1.centos7.x86_64 (/wkhtmltox-0.12.5.el7.x86_64)
Requires: xorg-x11-fonts-75dpi
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
And am then dropped to a command prompt>
Are there more things I should comment out in my config? Or am I missing some new prerequisite for 5.5?
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: Unable to upgrade from 5.4.13 to 5.5
Yes, looks like you need xorg-x11-fonts-Type1 and xorg-x11-fonts-75dpi
-
Matthew.Cary
- Posts: 32
- Joined: Fri Nov 10, 2017 11:43 am
Re: Unable to upgrade from 5.4.13 to 5.5
That sounds like a new dependency as it wasn't needed in 5.4.xx.
The upgrade script is expecting to be able to pull down some packages, but The default package managers for RHEL7 don't include the xorg-x11-fonts-Type1 or xorg-x11-fonts-75dpi as installable packages.
I can probably dig into my system to figure out how to manually install this new requirement, but that seems a bit much. This upgrade is turning into more of an odyssey that I'm really up for. I'll wait until a better upgrade installer is ready.
The upgrade script is expecting to be able to pull down some packages, but The default package managers for RHEL7 don't include the xorg-x11-fonts-Type1 or xorg-x11-fonts-75dpi as installable packages.
I can probably dig into my system to figure out how to manually install this new requirement, but that seems a bit much. This upgrade is turning into more of an odyssey that I'm really up for. I'll wait until a better upgrade installer is ready.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to upgrade from 5.4.13 to 5.5
Do you have the RHEL Optional Channel enabled on your install? This has always been required for XI
-
Matthew.Cary
- Posts: 32
- Joined: Fri Nov 10, 2017 11:43 am
Re: Unable to upgrade from 5.4.13 to 5.5
We do have those enabled, but the install cannot load the packages it needs for whatever reason.
Clearly, there are new requirements in 5.5 that were not present in 5.4.xx. This server has been upgraded many times in the past without incident. I've already had to edit the install script (per your advice) to disable the ajaxterm update and now it's choking on installing a bunch of XWindow dependencies that were never here before.
WIth these problems, and the other threads I'm seeing in the forum, I'm thinking this update feels a little half-baked.
Clearly, there are new requirements in 5.5 that were not present in 5.4.xx. This server has been upgraded many times in the past without incident. I've already had to edit the install script (per your advice) to disable the ajaxterm update and now it's choking on installing a bunch of XWindow dependencies that were never here before.
WIth these problems, and the other threads I'm seeing in the forum, I'm thinking this update feels a little half-baked.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to upgrade from 5.4.13 to 5.5
Sorry you feel that way, but it is trying to install the dependencies that are choking the install.Matthew.Cary wrote:We do have those enabled, but the install cannot load the packages it needs for whatever reason.
Clearly, there are new requirements in 5.5 that were not present in 5.4.xx. This server has been upgraded many times in the past without incident. I've already had to edit the install script (per your advice) to disable the ajaxterm update and now it's choking on installing a bunch of XWindow dependencies that were never here before.
WIth these problems, and the other threads I'm seeing in the forum, I'm thinking this update feels a little half-baked.