/fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the
result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all
necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS,
RHEL, Ubuntu LTS, Debian, or Oracle. Do NOT use this on a system that has
been tasked
with other purposes or has an existing install of Nagios Core. To create
such a clean install you should have selected only the base package in the
OS installer.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
package centos-release is not installed
CentOS Linux 8 - PowerTools 12 kB/s | 4.3 kB 00:00
Error:
Problem: conflicting requests
- nothing provides php-imap needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides snmptt needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides php-pecl-ssh2 needed by
nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides shellinabox needed by nagiosxi-deps-el8-5.8.4-1.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to
use not only best candidate packages)
46 files removed
CentOS Linux 8 - PowerTools 4.6 MB/s | 2.3 MB 00:00
Extra Packages for Enterprise Linux Modular 8 - 886 kB/s | 663 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 8.2 MB/s | 9.5 MB 00:01
CentOS 8 Base - RealStuff local repository 56 MB/s | 2.6 MB 00:00
CentOS 8 Extras - RealStuff local repository 2.1 MB/s | 9.6 kB 00:00
CentOS 8 AppStream - RealStuff local repository 59 MB/s | 7.5 MB 00:00
Error:
Problem: conflicting requests
- nothing provides php-imap needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides snmptt needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides php-pecl-ssh2 needed by
nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides shellinabox needed by nagiosxi-deps-el8-5.8.4-1.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to
use not only best candidate packages)
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include
install.log
in your communications with Nagios XI technical support.
The script that failed was: './1-prereqs'
./1-prereqs error
Re: ./1-prereqs error
You need to add the nagiosxi-deps package repository. You can do so following the instructions on https://repo.nagios.com/
CentOS/RHEL 7 (64 bit):
CentOS/RHEL 8 (64 bit):
CentOS/RHEL 7 (64 bit):
Code: Select all
rpm -Uvh https://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpmCode: Select all
rpm -Uvh https://repo.nagios.com/nagios/8/nagios-repo-8-1.el8.noarch.rpm
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: ./1-prereqs error
Hi dchurch
Thank you so much,
now I can see Nagios webinterface but when I type https://myaddress/nagiosxi
it's shows Not Found
The requested URL was not found on this server.
Please check, that attach file.
Thank you so much,
now I can see Nagios webinterface but when I type https://myaddress/nagiosxi
it's shows Not Found
The requested URL was not found on this server.
Please check, that attach file.
You do not have the required permissions to view the files attached to this post.
Re: ./1-prereqs error
Your install.log does not contain the successful installation. Did you grab the wrong one?
Please run the ./fullinstall command again and send the entire output.
We would need to see that one to see what failed during the install process. It must not have installed properly.
Do you have this file? If so, please attach it:
What is the output of this command?
Please run the ./fullinstall command again and send the entire output.
We would need to see that one to see what failed during the install process. It must not have installed properly.
Do you have this file? If so, please attach it:
Code: Select all
/tmp/xi-install.logCode: Select all
ls -l /etc/httpd/conf.dRe: ./1-prereqs error
Hi ssax
Thank you so for your reply here is the ./fullinstall error message as well attach install.log file and attach print screen
Thank you in advance
"
root@myserver tmp]# cd nagiosxi
[root@myserver-vik nagiosxi]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS, RHEL, Ubuntu LTS, Debian, or Oracle. Do NOT use this on a system
that has been tasked with other purposes or has an existing install of Nagios Core. To create such a clean install you should have selected
only the base package in the OS installer.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
package centos-release is not installed
CentOS Linux 8 - PowerTools 9.8 kB/s | 4.3 kB 00:00
Error:
Problem: conflicting requests
- nothing provides shellinabox needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides snmptt needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides php-pecl-ssh2 needed by nagiosxi-deps-el8-5.8.4-1.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
70 files removed
CentOS Linux 8 - PowerTools 7.0 MB/s | 2.3 MB 00:00
cheese rpms for Enterprise Linux/Centos 8 1.2 MB/s | 805 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - 880 kB/s | 663 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 4.9 MB/s | 10 MB 00:02
CentOS 8 Base - RealStuff local repository 53 MB/s | 3.6 MB 00:00
CentOS 8 Extras - RealStuff local repository 2.4 MB/s | 9.8 kB 00:00
CentOS 8 AppStream - RealStuff local repository 58 MB/s | 8.1 MB 00:00
MariaDB Server 1.0 MB/s | 595 kB 00:00
MariaDB MaxScale 3.7 kB/s | 7.1 kB 00:01
MariaDB Tools 12 kB/s | 2.6 kB 00:00
Error:
Problem: conflicting requests
- nothing provides shellinabox needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides snmptt needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides php-pecl-ssh2 needed by nagiosxi-deps-el8-5.8.4-1.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './1-prereqs'
"
Thank you so for your reply here is the ./fullinstall error message as well attach install.log file and attach print screen
Thank you in advance
"
root@myserver tmp]# cd nagiosxi
[root@myserver-vik nagiosxi]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS, RHEL, Ubuntu LTS, Debian, or Oracle. Do NOT use this on a system
that has been tasked with other purposes or has an existing install of Nagios Core. To create such a clean install you should have selected
only the base package in the OS installer.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
package centos-release is not installed
CentOS Linux 8 - PowerTools 9.8 kB/s | 4.3 kB 00:00
Error:
Problem: conflicting requests
- nothing provides shellinabox needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides snmptt needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides php-pecl-ssh2 needed by nagiosxi-deps-el8-5.8.4-1.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
70 files removed
CentOS Linux 8 - PowerTools 7.0 MB/s | 2.3 MB 00:00
cheese rpms for Enterprise Linux/Centos 8 1.2 MB/s | 805 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - 880 kB/s | 663 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 4.9 MB/s | 10 MB 00:02
CentOS 8 Base - RealStuff local repository 53 MB/s | 3.6 MB 00:00
CentOS 8 Extras - RealStuff local repository 2.4 MB/s | 9.8 kB 00:00
CentOS 8 AppStream - RealStuff local repository 58 MB/s | 8.1 MB 00:00
MariaDB Server 1.0 MB/s | 595 kB 00:00
MariaDB MaxScale 3.7 kB/s | 7.1 kB 00:01
MariaDB Tools 12 kB/s | 2.6 kB 00:00
Error:
Problem: conflicting requests
- nothing provides shellinabox needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides snmptt needed by nagiosxi-deps-el8-5.8.4-1.noarch
- nothing provides php-pecl-ssh2 needed by nagiosxi-deps-el8-5.8.4-1.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './1-prereqs'
"
You do not have the required permissions to view the files attached to this post.
Re: ./1-prereqs error
Sorry I forget to attach xi-install.log
Adding users and groups...
useradd: user 'nagios' already exists
usermod: no changes
groupadd: group 'nagios' already exists
Users and groups added OK
MySQL installed OK - continuing...
Starting MySQL...
Redirecting to /bin/systemctl restart mariadb.service
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
ERROR: MySQL failed to start - exiting.
~
Adding users and groups...
useradd: user 'nagios' already exists
usermod: no changes
groupadd: group 'nagios' already exists
Users and groups added OK
MySQL installed OK - continuing...
Starting MySQL...
Redirecting to /bin/systemctl restart mariadb.service
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
ERROR: MySQL failed to start - exiting.
~
Re: ./1-prereqs error
The system looks customized, you should install fresh on an unmodified minimal install of CentOS 8 (outside of IP changes) and you will likely not have any issues.
Your repos have issues, it can't find the packages it needs. What is the full output of these commands?
Try doing this first then run the ./fullinstall command again:
If you skipped through anything to get it to install then you should delete the current install directory you ran ./fullinstall from, re-extract the package and run ./fullinstall again.
What does /var/log/mariadb/mariadb.log show?
Your repos have issues, it can't find the packages it needs. What is the full output of these commands?
Code: Select all
yum clean all
yum repolistCode: Select all
yum install https://repo.nagios.com/nagiosxi-deps/8/shellinabox-2.20-9.el8.x86_64.rpm https://repo.nagios.com/nagiosxi-deps/8/snmptt-1.4-0.1.el8.noarch.rpm https://repo.nagios.com/nagiosxi-deps/8/php-pecl-ssh2-1.2-2.el8.x86_64.rpm https://repo.nagios.com/nagiosxi-deps/8/perl-Digest-SHA1-2.13-23.el8.x86_64.rpm https://repo.nagios.com/nagiosxi-deps/8/perl-IO-stringy-2.111-9.el8.noarch.rpmWhat does /var/log/mariadb/mariadb.log show?