NRPE Install Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

NRPE Install Error

Post by costanza2k1 »

Hi all,

I'm trying to install a NRPE agent on a RHEL server, can you help me out with this:

Code: Select all

Running './2-usersgroups'...
Adding users and groups...
useradd: group nagios exists - if you want to add this user to that group, use -g.
groupadd: group 'nagios' already exists
useradd: group nagios exists - if you want to add this user to that group, use -g.
groupadd: group 'nagcmd' already exists
usermod: user 'nagios' does not exist
usermod: user 'nagios' does not exist
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).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './2-usersgroups'
agent used: http://assets.nagios.com/downloads/nagi ... ent.tar.gz
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NRPE Install Error

Post by Box293 »

For some reason you already have the users and groups created and the installer doesn't like this.

This command will comment out the part that creates the users and groups.

Change into the directory that has the fullinstall script and type:

Code: Select all

sed -i 's/run_sub .\/2-usersgroups/#run_sub .\/2-usersgroups/g' fullinstall
Now run the full install and see if it works.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: NRPE Install Error

Post by costanza2k1 »

Thanks, that worked...this can be closed.
Locked