Failed to install NagiosXI - ./11-sourceguardian'
Posted: Wed Dec 27, 2017 2:01 am
Hi ,
I tried to install Nagios XI on Redhat Linux 7 and I am getting the below error, Any idea on how can I solve it??
[root@pn3-nms-rv-nm01 nagiosxi]# ./fullinstall
========================
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 or RedHat. 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...
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
: manager
This system is not registered with RHN Classic or Red Hat Satellite.
You can use rhn_register to register.
Red Hat Satellite or RHN Classic support will be disabled.
Package 1:mariadb-devel-5.5.56-2.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.56-2.el7 will be installed
---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mariadb x86_64 1:5.5.56-2.el7 rhel-7-server-rpms 9.1 M
mariadb-server x86_64 1:5.5.56-2.el7 rhel-7-server-rpms 11 M
Transaction Summary
================================================================================
Install 2 Packages
Total download size: 20 M
Installed size: 107 M
Downloading packages:
--------------------------------------------------------------------------------
Total 2.8 MB/s | 20 MB 00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:mariadb-5.5.56-2.el7.x86_64 1/2
Installing : 1:mariadb-server-5.5.56-2.el7.x86_64 2/2
Verifying : 1:mariadb-server-5.5.56-2.el7.x86_64 1/2
Verifying : 1:mariadb-5.5.56-2.el7.x86_64 2/2
Installed:
mariadb.x86_64 1:5.5.56-2.el7 mariadb-server.x86_64 1:5.5.56-2.el7
Complete!
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
: manager
This system is not registered with RHN Classic or Red Hat Satellite.
You can use rhn_register to register.
Red Hat Satellite or RHN Classic support will be disabled.
Examining /tmp/rpms/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
/tmp/rpms/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining /tmp/rpms/nagiosxi/nagiosxi-deps-el7-5.4.11-1.noarch.rpm: nagiosxi-deps-el7-5.4.11-1.noarch
Marking /tmp/rpms/nagiosxi/nagiosxi-deps-el7-5.4.11-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps-el7.noarch 0:5.4.11-1 will be installed
--> Processing Dependency: php for package: nagiosxi-deps-el7-5.4.11-1.noarch
--> Processing Dependency: postgresql-server for package: nagiosxi-deps-el7-5.4.11-1.noarch
--> Running transaction check
---> Package php.x86_64 0:5.4.16-43.el7_4 will be installed
---> Package postgresql-server.x86_64 0:9.2.23-3.el7_4 will be installed
--> Processing Dependency: postgresql(x86-64) = 9.2.23-3.el7_4 for package: postgresql-server-9.2.23-3.el7_4.x86_64
--> Running transaction check
---> Package postgresql.x86_64 0:9.2.23-3.el7_4 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nagiosxi-deps-el7 noarch 5.4.11-1 /nagiosxi-deps-el7-5.4.11-1.noarch
0.0
Installing for dependencies:
php x86_64 5.4.16-43.el7_4 rhel-7-server-rpms 1.4 M
postgresql x86_64 9.2.23-3.el7_4 rhel-7-server-rpms 3.0 M
postgresql-server x86_64 9.2.23-3.el7_4 rhel-7-server-rpms 3.8 M
Transaction Summary
================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 8.2 M
Installed size: 37 M
Downloading packages:
--------------------------------------------------------------------------------
Total 1.3 MB/s | 8.2 MB 00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : php-5.4.16-43.el7_4.x86_64 1/4
warning: group apache does not exist - using root
Installing : postgresql-9.2.23-3.el7_4.x86_64 2/4
Installing : postgresql-server-9.2.23-3.el7_4.x86_64 3/4
Installing : nagiosxi-deps-el7-5.4.11-1.noarch 4/4
Verifying : postgresql-9.2.23-3.el7_4.x86_64 1/4
Verifying : nagiosxi-deps-el7-5.4.11-1.noarch 2/4
Verifying : php-5.4.16-43.el7_4.x86_64 3/4
Verifying : postgresql-server-9.2.23-3.el7_4.x86_64 4/4
Installed:
nagiosxi-deps-el7.noarch 0:5.4.11-1
Dependency Installed:
php.x86_64 0:5.4.16-43.el7_4 postgresql.x86_64 0:9.2.23-3.el7_4
postgresql-server.x86_64 0:9.2.23-3.el7_4
Complete!
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
: manager
This system is not registered with RHN Classic or Red Hat Satellite.
You can use rhn_register to register.
Red Hat Satellite or RHN Classic support will be disabled.
Nothing to do
Fixing php-mcrypt bug...
Prerequisites installed OK
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
Creating mailbox file: File exists
groupadd: group 'nagios' already exists
usermod: user 'apache' does not exist
usermod: user 'apache' does not exist
Users and groups added OK
RESULT=0
Running './3-dbservers'...
MySQL installed OK - continuing...
Starting MySQL...
Redirecting to /bin/systemctl restart mariadb.service
Initializing MySQL...
MySQL root password is now set to: nagiosxi
Redirecting to /bin/systemctl restart mariadb.service
MySQL initialized OK
Database servers initialized OK
RESULT=0
Running './4-services'...
/etc/services updated
RESULT=0
Running './5-sudoers'...
sudoers configured OK
RESULT=0
Running './6-firewall'...
FirewallD is not running
FirewallD is not running
FirewallD is not running
FirewallD is not running
Firewall rules updated OK
RESULT=0
Running './7-sendmail'...
Step completed OK
RESULT=0
Running './8-selinux'...
SELinux Disabled
RESULT=0
Running './9-dbbackups'...
Database backups configured OK
RESULT=0
Running './10-phplimits'...
PHP limits configured OK
RESULT=0
Running './11-sourceguardian'...
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
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: './11-sourceguardian'
[root@pn3-nms-rv-nm01 nagiosxi]#
I tried to install Nagios XI on Redhat Linux 7 and I am getting the below error, Any idea on how can I solve it??
[root@pn3-nms-rv-nm01 nagiosxi]# ./fullinstall
========================
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 or RedHat. 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...
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
: manager
This system is not registered with RHN Classic or Red Hat Satellite.
You can use rhn_register to register.
Red Hat Satellite or RHN Classic support will be disabled.
Package 1:mariadb-devel-5.5.56-2.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.56-2.el7 will be installed
---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mariadb x86_64 1:5.5.56-2.el7 rhel-7-server-rpms 9.1 M
mariadb-server x86_64 1:5.5.56-2.el7 rhel-7-server-rpms 11 M
Transaction Summary
================================================================================
Install 2 Packages
Total download size: 20 M
Installed size: 107 M
Downloading packages:
--------------------------------------------------------------------------------
Total 2.8 MB/s | 20 MB 00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:mariadb-5.5.56-2.el7.x86_64 1/2
Installing : 1:mariadb-server-5.5.56-2.el7.x86_64 2/2
Verifying : 1:mariadb-server-5.5.56-2.el7.x86_64 1/2
Verifying : 1:mariadb-5.5.56-2.el7.x86_64 2/2
Installed:
mariadb.x86_64 1:5.5.56-2.el7 mariadb-server.x86_64 1:5.5.56-2.el7
Complete!
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
: manager
This system is not registered with RHN Classic or Red Hat Satellite.
You can use rhn_register to register.
Red Hat Satellite or RHN Classic support will be disabled.
Examining /tmp/rpms/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
/tmp/rpms/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining /tmp/rpms/nagiosxi/nagiosxi-deps-el7-5.4.11-1.noarch.rpm: nagiosxi-deps-el7-5.4.11-1.noarch
Marking /tmp/rpms/nagiosxi/nagiosxi-deps-el7-5.4.11-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps-el7.noarch 0:5.4.11-1 will be installed
--> Processing Dependency: php for package: nagiosxi-deps-el7-5.4.11-1.noarch
--> Processing Dependency: postgresql-server for package: nagiosxi-deps-el7-5.4.11-1.noarch
--> Running transaction check
---> Package php.x86_64 0:5.4.16-43.el7_4 will be installed
---> Package postgresql-server.x86_64 0:9.2.23-3.el7_4 will be installed
--> Processing Dependency: postgresql(x86-64) = 9.2.23-3.el7_4 for package: postgresql-server-9.2.23-3.el7_4.x86_64
--> Running transaction check
---> Package postgresql.x86_64 0:9.2.23-3.el7_4 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nagiosxi-deps-el7 noarch 5.4.11-1 /nagiosxi-deps-el7-5.4.11-1.noarch
0.0
Installing for dependencies:
php x86_64 5.4.16-43.el7_4 rhel-7-server-rpms 1.4 M
postgresql x86_64 9.2.23-3.el7_4 rhel-7-server-rpms 3.0 M
postgresql-server x86_64 9.2.23-3.el7_4 rhel-7-server-rpms 3.8 M
Transaction Summary
================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 8.2 M
Installed size: 37 M
Downloading packages:
--------------------------------------------------------------------------------
Total 1.3 MB/s | 8.2 MB 00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : php-5.4.16-43.el7_4.x86_64 1/4
warning: group apache does not exist - using root
Installing : postgresql-9.2.23-3.el7_4.x86_64 2/4
Installing : postgresql-server-9.2.23-3.el7_4.x86_64 3/4
Installing : nagiosxi-deps-el7-5.4.11-1.noarch 4/4
Verifying : postgresql-9.2.23-3.el7_4.x86_64 1/4
Verifying : nagiosxi-deps-el7-5.4.11-1.noarch 2/4
Verifying : php-5.4.16-43.el7_4.x86_64 3/4
Verifying : postgresql-server-9.2.23-3.el7_4.x86_64 4/4
Installed:
nagiosxi-deps-el7.noarch 0:5.4.11-1
Dependency Installed:
php.x86_64 0:5.4.16-43.el7_4 postgresql.x86_64 0:9.2.23-3.el7_4
postgresql-server.x86_64 0:9.2.23-3.el7_4
Complete!
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
: manager
This system is not registered with RHN Classic or Red Hat Satellite.
You can use rhn_register to register.
Red Hat Satellite or RHN Classic support will be disabled.
Nothing to do
Fixing php-mcrypt bug...
Prerequisites installed OK
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
Creating mailbox file: File exists
groupadd: group 'nagios' already exists
usermod: user 'apache' does not exist
usermod: user 'apache' does not exist
Users and groups added OK
RESULT=0
Running './3-dbservers'...
MySQL installed OK - continuing...
Starting MySQL...
Redirecting to /bin/systemctl restart mariadb.service
Initializing MySQL...
MySQL root password is now set to: nagiosxi
Redirecting to /bin/systemctl restart mariadb.service
MySQL initialized OK
Database servers initialized OK
RESULT=0
Running './4-services'...
/etc/services updated
RESULT=0
Running './5-sudoers'...
sudoers configured OK
RESULT=0
Running './6-firewall'...
FirewallD is not running
FirewallD is not running
FirewallD is not running
FirewallD is not running
Firewall rules updated OK
RESULT=0
Running './7-sendmail'...
Step completed OK
RESULT=0
Running './8-selinux'...
SELinux Disabled
RESULT=0
Running './9-dbbackups'...
Database backups configured OK
RESULT=0
Running './10-phplimits'...
PHP limits configured OK
RESULT=0
Running './11-sourceguardian'...
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
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: './11-sourceguardian'
[root@pn3-nms-rv-nm01 nagiosxi]#