Page 2 of 2

Re: XI installation on CentOS 7

Posted: Mon Feb 01, 2016 6:20 pm
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

Re: XI installation on CentOS 7

Posted: Tue Feb 02, 2016 11:34 am
by hsmith
Can you remove the nagios user and groups, and try again? Is there something else that would have created this user/group?