Page 2 of 3
Re: Upgrading NagiosXI
Posted: Tue Feb 05, 2019 10:44 am
by mohan23
Yes, system registered with redhat. I did ran below commands as well to upgrade . But its throwing same message to me
Code: Select allcd /tmp
rm -rf nagiosxi xi*.tar.gz
wget
https://assets.nagios.com/downloads/nag ... 5.9.tar.gz
tar xvf xi-5.5.9.tar.gz
cd nagiosxi
./upgrade
Re: Upgrading NagiosXI
Posted: Tue Feb 05, 2019 11:13 am
by lmiltchev
Please post the entire upgrade.log file on the forum. It should be located in the /tmp/nagiosxi directory.
Re: Upgrading NagiosXI
Posted: Tue Feb 05, 2019 11:29 am
by mohan23
attached is the upgrade.log
Re: Upgrading NagiosXI
Posted: Tue Feb 05, 2019 11:57 am
by lmiltchev
It seems like the upgrade script fails while trying to install wkhtmltox package. There is no error in the log to tell us exactly what went wrong, so let's try to install this package manually.
Code: Select all
cd /tmp/nagiosxi/subcomponents/wkhtmltox
./install
If the package installs successfully, rerun the upgrade script:
If you run into any more errors while doing running the above commands, post the errors on the forum. Thank you!
Re: Upgrading NagiosXI
Posted: Tue Feb 05, 2019 12:03 pm
by mohan23
we ran ./install script manually to install package, and we are getting error while access link "
https://assets.nagios.com/downloads/nagiosxi/packages/"
# Download a new package
assets="
https://assets.nagios.com/downloads/nagiosxi/packages/"
when I open this in browser, I see below error
Forbidden
You don't have permission to access /downloads/nagiosxi/packages/ on this server.
Re: Upgrading NagiosXI
Posted: Tue Feb 05, 2019 12:52 pm
by lmiltchev
This is NOT the correct URL. The script uses:
Code: Select all
# Download a new package
assets="https://assets.nagios.com/downloads/nagiosxi/packages/"
wget "$assets$pkgname"
where the $pkgname is set earlier in the script. I am not sure why this is not working for you... Perhaps you are using a proxy, or you have some custom yum configurations/plugins that are causing the issue. The "wget" command is installed on this server, correct? Try:
just in case. Anyway, the actual URL is:
https://assets.nagios.com/downloads/nag ... x86_64.rpm
The script does a local install:
which would be:
Code: Select all
yum localinstall -y wkhtmltox-0.12.1.3.el7.x86_64.rpm
Re: Upgrading NagiosXI
Posted: Wed Feb 06, 2019 6:14 am
by mohan23
During installation install script is downloading package for centos and our box is rhel
--> Running transaction check
---> Package wkhtmltox.x86_64 1:0.12.1.3-1~centos7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Installing:
wkhtmltox x86_64 1:0.12.1.3-1~centos7 /wkhtmltox-0.12.1.3.el7.x86_64 113 M
Transaction Summary
======================================================================================================================================
Install 1 Package
Total size: 113 M
Installed size: 113 M
Downloading packages:
Package wkhtmltox-0.12.1.3.el7.x86_64.rpm is not signed
This is still not working for us. If you see the version it says it is for centos7 and not for rhel
Re: Upgrading NagiosXI
Posted: Wed Feb 06, 2019 9:40 am
by lmiltchev
If you see the version it says it is for centos7 and not for rhel
This generally shouldn't matter. I have the same package installed on my test RHEL 7 XI box, and the installer never complained... Again, you must have some custom yum settings or plugins.
Can you install the package by running the following command?
Code: Select all
rpm -ivh wkhtmltox-0.12.1.3.el7.x86_64.rpm
Re: Upgrading NagiosXI
Posted: Thu Feb 07, 2019 7:08 am
by mohan23
using below provided by you we have tried to installed rpm package,
rpm -ivh wkhtmltox-0.12.1.3.el7.x86_64.rpm
After this we ran ./upgrade again and again its getting exited at same package one.
When we try to search installed package on server using below command, its not displaying anything
rpm -qa | grep wkhtmltox
[root@hostname ~]$ rpm -qa | grep wkhtmltox
[root@hostname ~]$
[root@hostname~]$ date
Thu Feb 7 07:11:51 EST 2019
[root@hostname ~]$
Can we schedule WebEx session to sort this out . Can I go ahead and raise support ticket ?
Re: Upgrading NagiosXI
Posted: Thu Feb 07, 2019 11:21 am
by lmiltchev
Open a new support ticket via our support center here:
https://support.nagios.com/tickets/
Type something in the search bar, click on "Continue", scroll all the way down to the bottom of the page, and click on "Create Support Ticket".