XI installation on CentOS 7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gbnag
Posts: 26
Joined: Thu Jan 21, 2016 7:58 pm

Re: XI installation on CentOS 7

Post by gbnag »

Thanks,

Thought about using the virtual appliance and might go that route eventually.

Since the installer cannot locate an rpm like in this case 'No package centos-release-cr available' went ahead and located it via google, then
downloaded and placed it into /etc/yum.repos.d.

Installed via yum install:



[root@gberger-linux-centos yum.repos.d]# yum install centos-release-cr-6-0.el6.centos.x86_64.rpm
Loaded plugins: fastestmirror, security
Setting up Install Process
Examining centos-release-cr-6-0.el6.centos.x86_64.rpm: 10:centos-release-cr-6-0.el6.centos.x86_64
Marking centos-release-cr-6-0.el6.centos.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package centos-release-cr.x86_64 10:6-0.el6.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================
Installing:
centos-release-cr x86_64 10:6-0.el6.centos /centos-release-cr-6-0.el6.centos.x86_64 509

Transaction Summary
==============================================================================================================================================
Install 1 Package(s)

Total size: 509
Installed size: 509
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 10:centos-release-cr-6-0.el6.centos.x86_64 1/1
Verifying : 10:centos-release-cr-6-0.el6.centos.x86_64 1/1

Installed:
centos-release-cr.x86_64 10:6-0.el6.centos

Complete!
[root@gberger-linux-centos yum.repos.d]

---------------------------------------------------------------------


Reran the ./fullinstall and after a minute got this error:


Complete!
Fixing php-mcrypt bug...
Prerequisites installed OK
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
useradd: user 'nagios' already exists
groupadd: group 'nagios' already exists
ERROR: User 'nagios' was not created - exiting.
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

---------------------------------------------------------------------


install.log attached.


Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: XI installation on CentOS 7

Post by hsmith »

Can you remove the nagios user and groups, and try again? Is there something else that would have created this user/group?
Former Nagios Employee.
me.
Locked