Hi,
I am trying to upgrade via web. I have taken the back using Admin > local Backup Archives
However during the progress, I get the following messages and upgrade fails:
Resolving Dependencies
--> Running transaction check
---> Package wkhtmltox.x86_64 1:0.12.5-1.centos6 will be installed
--> Processing Dependency: xorg-x11-fonts-75dpi for package: 1:wkhtmltox-0.12.5-1.centos6.x86_64
--> Finished Dependency Resolution
Error: Package: 1:wkhtmltox-0.12.5-1.centos6.x86_64 (/wkhtmltox-0.12.5.el6.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
It suggested manual upgrade.
I have read the instructions. However this is in production so need guidance. Can you help ?
Nagios XI upgrade
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI upgrade
you are going to need to install xorg-x11-fonts-75dpi which for some reason the installer was not able to do that
Can you run
Can you run
Code: Select all
yum install xorg-x11-fonts-75dpi -yRe: Nagios XI upgrade
[sadmin@nagios3 ~]$ sudo yum install xorg-x11-fonts-75dpi -y
[sudo] password for sadmin:
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Setting up Install Process
No package xorg-x11-fonts-75dpi available.
Error: Nothing to do
[sudo] password for sadmin:
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Setting up Install Process
No package xorg-x11-fonts-75dpi available.
Error: Nothing to do
Re: Nagios XI upgrade
Hi, Can you pls let me know which one is the right dependency? I am checking everything before I do on production.
Thanks!
Thanks!
Re: Nagios XI upgrade
Hello team,
Are you able to see my messages?
Are you able to see my messages?
Re: Nagios XI upgrade
cd ./src/; make install-plugin
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 755 nrpe /usr/local/nagios/bin
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 startup/default-init /etc/init.d/nrpe
Starting nrpe
NRPE installed OK
Updating NRDP..
IT still gave me an error " not complete, do it manually"
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 755 nrpe /usr/local/nagios/bin
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 startup/default-init /etc/init.d/nrpe
Starting nrpe
NRPE installed OK
Updating NRDP..
IT still gave me an error " not complete, do it manually"
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI upgrade
Sorry for the trouble
This issue will be fixed in the next release of Nagios XI. As a "workaround", comment out the following section in the "upgrade" script:
so that it would look like this:
Save, exit, and rerun the upgrade script:
Save, exit, and rerun the upgrade script:
This issue will be fixed in the next release of Nagios XI. As a "workaround", comment out the following section in the "upgrade" script:
Code: Select all
# Uninstall ajaxterminal to install shellinabox
rpmcheck=$(rpm -q Ajaxterm)
if [ $? -eq 0 ]; then
rpm -e Ajaxterm
cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup"
sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf"
rm -f $proddir/html/admin/ajaxterm.php
fiCode: Select all
# Uninstall ajaxterminal to install shellinabox
#rpmcheck=$(rpm -q Ajaxterm)
#if [ $? -eq 0 ]; then
# rpm -e Ajaxterm
# cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup"
# sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf"
# rm -f $proddir/html/admin/ajaxterm.php
#fiCode: Select all
cd /tmp/nagiosxi
./upgradeCode: Select all
cd /tmp/nagiosxi
./upgrade
Last edited by scottwilkerson on Tue Jul 10, 2018 3:18 pm, edited 1 time in total.
Reason: fix incorrect code
Reason: fix incorrect code