Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

SYMPTOM: Nagios install fails due to existing "nagios" user in the ldap system

trying to install ambari on single node cluster but is having issues with nagios since they have an ldap server with a nagios user already created.

ERROR:

Receiving error; "err: /Stage2/Hdp-nagios::Server/Hdp::Usernagios/Usernagios/gid: change from 20000 to nagios failed: Could not set gid on usernagios: Execution of '/usr/sbin/usermod -g 492 nagios' returned 6: usermod: user 'nagios' does not exist in /etc/passwd

ROOT CAUSE: This is BUG - https://hortonworks.jira.com/browse/BUG-6787

RESOLUTION / WORKAROUND:

Workaround #1: That user must be in group = nagios as well, or the nagios install fails. The workaround for this is to add nagios user to a nagios group.

Workaround #2: During install, customize nagios user (Customize Services > Misc) and use something other than nagios user. This user will be created and put in a group nagios. This is available in HDP 1.3.1

472 Views
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎12-25-2016 08:30 AM
Updated by:
 
Contributors
Top Kudoed Authors