Installation fails: "User 'nagios' was not created
Posted: Mon Mar 16, 2015 11:03 am
Good morning,
I need help installing Nagios XI on a machine mounted on the NFS network.
We are installing our licensed version of Nagios XI on RHEL 6.6 64-bit. Before running the installation, I created the nagios user and the groups nagios and nagcmd. In our network, the users and groups are all mounted, so there is no local nagios user installed. I have manually added the mount point in the fstab so there is a /home/nagios directory. However when I run the ./fullinstall script as root the install is failing with this error:
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run your package manager's update command
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
useradd: user 'nagios' already exists
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
ERROR: User 'nagios' was not created - exiting.
RESULT=1
I need help installing Nagios XI on a machine mounted on the NFS network.
We are installing our licensed version of Nagios XI on RHEL 6.6 64-bit. Before running the installation, I created the nagios user and the groups nagios and nagcmd. In our network, the users and groups are all mounted, so there is no local nagios user installed. I have manually added the mount point in the fstab so there is a /home/nagios directory. However when I run the ./fullinstall script as root the install is failing with this error:
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run your package manager's update command
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
useradd: user 'nagios' already exists
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
ERROR: User 'nagios' was not created - exiting.
RESULT=1