I am getting the following error when trying to perform an upgrade:
/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 `/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'
/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 `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 startup/default-init /etc/init.d/nrpe
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Starting nrpe
UPGRADE: NRPE upgraded OK.
UPGRADE: NRDP is being upgraded...
UPGRADE: NRDP upgraded OK.
Finished updating Core, Plugins, NRPE, NRDP ...
Upgrading MySQL database for XI...
ALTER TABLE
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:11: ERROR: relation "xi_cmp_trapdata_trapdata_id_seq" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:17: ERROR: relation "xi_cmp_trapdata_trapdata_log_id_seq" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:34: ERROR: relation "xi_cmp_trapdata" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:54: ERROR: relation "xi_cmp_trapdata_log" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:61: ERROR: relation "xi_auth_tokens_id_seq" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:75: ERROR: relation "xi_auth_tokens" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:82: ERROR: relation "xi_sessions_id_seq" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:96: ERROR: relation "xi_sessions" already exists
Removing Ajaxterm...
Installing new SSH Terminal...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from Spacewalk server.
Repository nagios-base is listed more than once in the configuration
Repository nagiosxi-deps is listed more than once in the configuration
Setting up Install Process
No package shellinabox available.
Error: Nothing to do
It seems I am missing shellinabox, but is that the whole problem? I created a backup before starting the process, but it also appears some packages are installed multiple times.
Error in upgrade from 5.4 to 5.5
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Error in upgrade from 5.4 to 5.5
Last edited by andrewatmacys on Fri Jan 25, 2019 2:02 pm, edited 1 time in total.
Re: Error in upgrade from 5.4 to 5.5
The Nagios XI GUI now uses shellinabox and it is now a required package.
Without that, the upgrade will not complete.
shellinabox comes from the EPEL repository so if the server does not have access to that repository, enable it and then try running the upgrade again.
If you want, you can install it manually to see if it works after enabling the repo.
Without that, the upgrade will not complete.
shellinabox comes from the EPEL repository so if the server does not have access to that repository, enable it and then try running the upgrade again.
If you want, you can install it manually to see if it works after enabling the repo.
Code: Select all
yum install shellinaboxBe sure to check out our Knowledgebase for helpful articles and solutions!