Installation Issue RHEL5 64-bit

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jasweitzer
Posts: 10
Joined: Mon Jun 11, 2012 2:46 pm

Installation Issue RHEL5 64-bit

Post by jasweitzer »

I continue to have the same problem with installing XI, everytime the install script gets to the user/group part it fails. I have re-imaged twice (RHEL5 64-bit) and still get the same error, I originally had core installed and thought that might be the issue:

Adding users and groups...
groupadd: group nagios exists

Any help would be greatly appreciated as I am spinning my wheels....
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installation Issue RHEL5 64-bit

Post by scottwilkerson »

From the Admin guide
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system. Attempting to install Nagios XI on a pre-existing system with other applications already installed can cause the Nagios XI installation process to fail, critical system components and settings (e.g. database servers) to be modified in a way that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While installing XI on a system with other applications is possible, it is not recommended due to the possible interactions and complexity of multiple components that are required for Nagios XI to function. If you choose to ignore these warnings, you do so at your own risk.
If you want to migrate your core configurations that can be done, but you should still start with a fresh system that shouldn't have a nagios user/group.

When you say you re-imaged, was this from a snapshot of a system that had some sort of Nagios on it in the past?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jasweitzer
Posts: 10
Joined: Mon Jun 11, 2012 2:46 pm

Re: Installation Issue RHEL5 64-bit

Post by jasweitzer »

Complete new installation.
jasweitzer
Posts: 10
Joined: Mon Jun 11, 2012 2:46 pm

Re: Installation Issue RHEL5 64-bit

Post by jasweitzer »

As I mentioned server originally had nagios core, I had the same install issue which is why the server was refreshed with a clean install of RHEL5 (FYI this is a 64-bit RHEL5 installation)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Installation Issue RHEL5 64-bit

Post by slansing »

Have you tried running

Code: Select all

touch installed.usersgroups
when the install script gets stuck at that point? This will skip the user and group creation.
jasweitzer
Posts: 10
Joined: Mon Jun 11, 2012 2:46 pm

Re: Installation Issue RHEL5 64-bit

Post by jasweitzer »

have not tried that, how does this impact the balance of the installation?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Installation Issue RHEL5 64-bit

Post by slansing »

It should only tell you that a file exists if it is truly there. In which case skipping that step will allow the installation script to continue. I would also try

Code: Select all

 cat /etc/passwd|grep nagios
and

Code: Select all

cat /etc/group|grep nagios
to make sure there is nothing there.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installation Issue RHEL5 64-bit

Post by scottwilkerson »

Also, I have seen in some corporate build where the nagios user existed on the ldap server.

And, if this is the case, you could do as slansing suggested by running touch installed.usersgroups however you will need to use the LDAP server to manage your nagios user
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jasweitzer
Posts: 10
Joined: Mon Jun 11, 2012 2:46 pm

Re: Installation Issue RHEL5 64-bit

Post by jasweitzer »

Just confirmed ldap manages users, have yet to try the touch string hopefully that will at least get me past this immediate issue... Thanks!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installation Issue RHEL5 64-bit

Post by lmiltchev »

Let us know if you have any more issues.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked