Upgrading NagiosXI
Re: Upgrading NagiosXI
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
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
Please post the entire upgrade.log file on the forum. It should be located in the /tmp/nagiosxi directory.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrading NagiosXI
attached is the upgrade.log
You do not have the required permissions to view the files attached to this post.
Re: Upgrading NagiosXI
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.
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!
Code: Select all
cd /tmp/nagiosxi/subcomponents/wkhtmltox
./installCode: Select all
cd /tmp/nagiosxi
./upgradeBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrading NagiosXI
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.
# 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
This is NOT the correct URL. The script uses:
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
# Download a new package
assets="https://assets.nagios.com/downloads/nagiosxi/packages/"
wget "$assets$pkgname"Code: Select all
yum install wget -yhttps://assets.nagios.com/downloads/nag ... x86_64.rpm
The script does a local install:
Code: Select all
yum localinstall -y "$pkgname"Code: Select all
yum localinstall -y wkhtmltox-0.12.1.3.el7.x86_64.rpmBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrading NagiosXI
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
--> 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
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.If you see the version it says it is for centos7 and not for rhel
Can you install the package by running the following command?
Code: Select all
rpm -ivh wkhtmltox-0.12.1.3.el7.x86_64.rpmBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrading NagiosXI
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 ?
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
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".
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".
Be sure to check out our Knowledgebase for helpful articles and solutions!