I am trying to install nagios XI offline using tarball on RHEL 7 but it gives error every time during installation. we want to do only offline installation without help of internet because there is only intranet not internet facility.
So please help me if there is any procedure to install Nagios XI offline on RHEL 7. I have already checked the https://assets.nagios.com/downloads/nag ... 1522941039, it doesn't tell and help much. Everytime I run the install is tries to go out on the internet and fails.
When I run the full install it runs and fails at this place.
--2018-04-10 12:52:28-- https://assets.nagios.com/downloads/nag ... d64.tar.gz
Resolving assets.nagios.com (assets.nagios.com)... xx.xx.xx.xx, xx.xx.xx.xx.xx.xx.
Connecting to assets.nagios.com (assets.nagios.com)|xx.xx.xx.xx|:443... failed: No route to host.
Connecting to assets.nagios.com (assets.nagios.com)|xx.xx.xx.xx... failed: Network is unreachable.
ERROR: Subcomponent 'wkhtmlx' installation failed - exiting.
Subcomponents installation failed - exiting
NAGIOS XI installation fails
Re: NAGIOS XI installation fails
Do you have an access to base CentOS/RHEL repositories via a local repo or a mounted DVD?
What is the output of the following commands?
What is the output of the following commands?
Code: Select all
yum clean all
yum update
yum repolist -v
ls /tmp/rpms
ls /tmp/rpms/nagiosxiBe sure to check out our Knowledgebase for helpful articles and solutions!
-
vidhyadhar
- Posts: 9
- Joined: Thu Apr 20, 2017 9:27 am
Re: NAGIOS XI installation fails
I ran it from /usr/ instead of /tmp
root@xx-xx-xx01 nagiosxi]# ls /usr/xx/xx/nagiosxi
0-repos 8-selinux dashlets.txt install-html installed.phplimits nagiosxi-deps-el7-5.4.13-1.noarch.rpm upgrade
1-prereqs 9-dbbackups debianmods install-nagiosxi-init installed.prereqs nagiosxi-deps-suse11-5.4.13-1.noarch.rpm verify-prereqs.php
10-phplimits A-subcomponents fix-nagiosadmin install-pnptemplates installed.repos packages vmsetup
11-sourceguardian B-installxi fullinstall install-sourceguardian-extension.sh installed.selinux rpminstall wizards.txt
12-mrtg C-cronjobs functions.sh install-sudoers installed.services rpmupgrade xi-sys.cfg
13-timezone CHANGELOG.txt get-os-info install-templates installed.sourceguardian sourceguardian xivar
2-usersgroups D-chkconfigalldaemons get-version install.log installed.sudoers subcomponents
3-dbservers E-importnagiosql init-auditlog installed.dbbackups installed.timezone susemods
4-services F-startdaemons init-mysql installed.dbservers installed.usersgroups tools
5-sudoers Z-webroot init-xidb installed.firewall licenses ubuntumods
6-firewall components.txt init.sh installed.mrtg nagiosxi uninstall-crontab-nagios
7-sendmail cpan install-2012-prereqs installed.mysql nagiosxi-deps-5.4.13-1.noarch.rpm uninstall-crontab-root
[[email protected]]# yum repolist -v
Not loading "rhnplugin" plugin, as it is disabled
Loading "enabled_repos_upload" plugin
Loading "langpacks" plugin
Loading "package_upload" plugin
Loading "product-id" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Loading "versionlock" plugin
Adding en_US.UTF-8 to language list
Updating Subscription Management repositories.
Config time: 0.385
Yum version: 3.4.3
Setting up Package Sacks
Reading version lock configuration
pkgsack time: 0.015
Repo-id : DIS_DIS_Internal_DIS_Internal-el7
Repo-name : DIS_Internal-el7
Repo-revision: 1513853538
Repo-updated : Thu Dec 21 05:52:18 2017
Repo-pkgs : 14
Repo-size : 1.4 G
Repo-baseurl : https://xx.xx.xx.xx./pulp/repos/DIS/Dev ... ternal-el7
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : DIS_Fedora_Red_Hat_EPEL_epel_el7_x86_64
Repo-name : epel_el7_x86_64
Repo-revision: 1513852178
Repo-updated : Thu Dec 21 05:30:39 2017
Repo-pkgs : 12086
Repo-size : 13 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... el7_x86_64
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-extras-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo-revision: 1513851902
Repo-updated : Thu Dec 21 05:25:05 2017
Repo-pkgs : 679
Repo-size : 1.8 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... /extras/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-optional-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo-revision: 1513852000
Repo-updated : Thu Dec 21 05:27:39 2017
Repo-pkgs : 11098
Repo-size : 18 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... ptional/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-rh-common-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server - RH Common (RPMs)
Repo-revision: 1513851984
Repo-updated : Thu Dec 21 05:26:25 2017
Repo-pkgs : 228
Repo-size : 4.5 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... -common/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server (RPMs)
Repo-revision: 1513851912
Repo-updated : Thu Dec 21 05:26:42 2017
Repo-pkgs : 14619
Repo-size : 20 G
Repo-baseurl : https://xxx.xx.xx.xx/pulp/repos/DIS/Dev ... /x86_64/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-satellite-tools-6.2-rpms/x86_64
Repo-name : Red Hat Satellite Tools 6.2 (for RHEL 7 Server) (RPMs)
Repo-revision: 1513852045
Repo-updated : Thu Dec 21 05:27:25 2017
Repo-pkgs : 132
Repo-size : 12 M
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... ols/6.2/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-server-rhscl-7-rpms/x86_64
Repo-name : Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo-revision: 1513852133
Repo-updated : Thu Dec 21 05:29:35 2017
Repo-pkgs : 8049
Repo-size : 7.6 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... rhscl/1/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
root@xx-xx-xx01 nagiosxi]# ls /usr/xx/xx/nagiosxi
0-repos 8-selinux dashlets.txt install-html installed.phplimits nagiosxi-deps-el7-5.4.13-1.noarch.rpm upgrade
1-prereqs 9-dbbackups debianmods install-nagiosxi-init installed.prereqs nagiosxi-deps-suse11-5.4.13-1.noarch.rpm verify-prereqs.php
10-phplimits A-subcomponents fix-nagiosadmin install-pnptemplates installed.repos packages vmsetup
11-sourceguardian B-installxi fullinstall install-sourceguardian-extension.sh installed.selinux rpminstall wizards.txt
12-mrtg C-cronjobs functions.sh install-sudoers installed.services rpmupgrade xi-sys.cfg
13-timezone CHANGELOG.txt get-os-info install-templates installed.sourceguardian sourceguardian xivar
2-usersgroups D-chkconfigalldaemons get-version install.log installed.sudoers subcomponents
3-dbservers E-importnagiosql init-auditlog installed.dbbackups installed.timezone susemods
4-services F-startdaemons init-mysql installed.dbservers installed.usersgroups tools
5-sudoers Z-webroot init-xidb installed.firewall licenses ubuntumods
6-firewall components.txt init.sh installed.mrtg nagiosxi uninstall-crontab-nagios
7-sendmail cpan install-2012-prereqs installed.mysql nagiosxi-deps-5.4.13-1.noarch.rpm uninstall-crontab-root
[[email protected]]# yum repolist -v
Not loading "rhnplugin" plugin, as it is disabled
Loading "enabled_repos_upload" plugin
Loading "langpacks" plugin
Loading "package_upload" plugin
Loading "product-id" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Loading "versionlock" plugin
Adding en_US.UTF-8 to language list
Updating Subscription Management repositories.
Config time: 0.385
Yum version: 3.4.3
Setting up Package Sacks
Reading version lock configuration
pkgsack time: 0.015
Repo-id : DIS_DIS_Internal_DIS_Internal-el7
Repo-name : DIS_Internal-el7
Repo-revision: 1513853538
Repo-updated : Thu Dec 21 05:52:18 2017
Repo-pkgs : 14
Repo-size : 1.4 G
Repo-baseurl : https://xx.xx.xx.xx./pulp/repos/DIS/Dev ... ternal-el7
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : DIS_Fedora_Red_Hat_EPEL_epel_el7_x86_64
Repo-name : epel_el7_x86_64
Repo-revision: 1513852178
Repo-updated : Thu Dec 21 05:30:39 2017
Repo-pkgs : 12086
Repo-size : 13 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... el7_x86_64
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-extras-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo-revision: 1513851902
Repo-updated : Thu Dec 21 05:25:05 2017
Repo-pkgs : 679
Repo-size : 1.8 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... /extras/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-optional-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo-revision: 1513852000
Repo-updated : Thu Dec 21 05:27:39 2017
Repo-pkgs : 11098
Repo-size : 18 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... ptional/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-rh-common-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server - RH Common (RPMs)
Repo-revision: 1513851984
Repo-updated : Thu Dec 21 05:26:25 2017
Repo-pkgs : 228
Repo-size : 4.5 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... -common/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-rpms/x86_64
Repo-name : Red Hat Enterprise Linux 7 Server (RPMs)
Repo-revision: 1513851912
Repo-updated : Thu Dec 21 05:26:42 2017
Repo-pkgs : 14619
Repo-size : 20 G
Repo-baseurl : https://xxx.xx.xx.xx/pulp/repos/DIS/Dev ... /x86_64/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-7-server-satellite-tools-6.2-rpms/x86_64
Repo-name : Red Hat Satellite Tools 6.2 (for RHEL 7 Server) (RPMs)
Repo-revision: 1513852045
Repo-updated : Thu Dec 21 05:27:25 2017
Repo-pkgs : 132
Repo-size : 12 M
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... ols/6.2/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
Repo-id : rhel-server-rhscl-7-rpms/x86_64
Repo-name : Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo-revision: 1513852133
Repo-updated : Thu Dec 21 05:29:35 2017
Repo-pkgs : 8049
Repo-size : 7.6 G
Repo-baseurl : https://xx.xx.xx.xx/pulp/repos/DIS/Deve ... rhscl/1/os
Repo-expire : 1 second(s) (last: Tue Apr 10 12:46:38 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/redhat.repo
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NAGIOS XI installation fails
you have downloaded the wrong tarball, the doc says you need to get them from https://repo.nagios.com/
Please delete the folder you have and start over following closely
https://assets.nagios.com/downloads/nag ... onment.pdf
you will need to download the offline tarball from here
https://repo.nagios.com/?repo=offline#download
Please delete the folder you have and start over following closely
https://assets.nagios.com/downloads/nag ... onment.pdf
you will need to download the offline tarball from here
https://repo.nagios.com/?repo=offline#download
-
vidhyadhar
- Posts: 9
- Joined: Thu Apr 20, 2017 9:27 am
Re: NAGIOS XI installation fails
Thanks I have downloaded the correct offline tarball and followed the instructions from the offline doc. I ran the fullinstall and went through until it asked me what for password and I entered my root password and it aborted. It created a host of directories under /usr but it does not start the service.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NAGIOS XI installation fails
I don't know where it would ask for a password.
Can you post the /tmp/xi-install.log file it created?
Can you post the /tmp/xi-install.log file it created?
-
vidhyadhar
- Posts: 9
- Joined: Thu Apr 20, 2017 9:27 am
Re: NAGIOS XI installation fails
It did not create any install.log but while going through the install it says apache user not created using root and ask for password and then exits. Do we need to create the apache MySQL user before install or does it create while install??
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NAGIOS XI installation fails
It should install mysql and create the password during install.
This should be a minimal install system to start with, nothing extra pre-installed except the "Optional Channel" packages listed in the doc
https://assets.nagios.com/downloads/nag ... onment.pdf
This should be a minimal install system to start with, nothing extra pre-installed except the "Optional Channel" packages listed in the doc
https://assets.nagios.com/downloads/nag ... onment.pdf