Page 1 of 2

Installation Issue RHEL5 64-bit

Posted: Mon Jun 11, 2012 3:04 pm
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....

Re: Installation Issue RHEL5 64-bit

Posted: Mon Jun 11, 2012 3:16 pm
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?

Re: Installation Issue RHEL5 64-bit

Posted: Mon Jun 11, 2012 3:24 pm
by jasweitzer
Complete new installation.

Re: Installation Issue RHEL5 64-bit

Posted: Mon Jun 11, 2012 3:26 pm
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)

Re: Installation Issue RHEL5 64-bit

Posted: Mon Jun 11, 2012 3:30 pm
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.

Re: Installation Issue RHEL5 64-bit

Posted: Mon Jun 11, 2012 3:34 pm
by jasweitzer
have not tried that, how does this impact the balance of the installation?

Re: Installation Issue RHEL5 64-bit

Posted: Mon Jun 11, 2012 3:39 pm
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.

Re: Installation Issue RHEL5 64-bit

Posted: Mon Jun 11, 2012 4:14 pm
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

Re: Installation Issue RHEL5 64-bit

Posted: Tue Jun 12, 2012 7:38 am
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!

Re: Installation Issue RHEL5 64-bit

Posted: Tue Jun 12, 2012 9:36 am
by lmiltchev
Let us know if you have any more issues.