Installation Issue RHEL5 64-bit
-
jasweitzer
- Posts: 10
- Joined: Mon Jun 11, 2012 2:46 pm
Installation Issue RHEL5 64-bit
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....
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
From the Admin guide
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?
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.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.
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?
-
jasweitzer
- Posts: 10
- Joined: Mon Jun 11, 2012 2:46 pm
Re: Installation Issue RHEL5 64-bit
Complete new installation.
-
jasweitzer
- Posts: 10
- Joined: Mon Jun 11, 2012 2:46 pm
Re: Installation Issue RHEL5 64-bit
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
Have you tried running when the install script gets stuck at that point? This will skip the user and group creation.
Code: Select all
touch installed.usersgroups-
jasweitzer
- Posts: 10
- Joined: Mon Jun 11, 2012 2:46 pm
Re: Installation Issue RHEL5 64-bit
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
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 and to make sure there is nothing there.
Code: Select all
cat /etc/passwd|grep nagiosCode: Select all
cat /etc/group|grep nagios-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation Issue RHEL5 64-bit
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
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
-
jasweitzer
- Posts: 10
- Joined: Mon Jun 11, 2012 2:46 pm
Re: Installation Issue RHEL5 64-bit
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
Let us know if you have any more issues.
Be sure to check out our Knowledgebase for helpful articles and solutions!