Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

866 Views
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.
Version history
Last update:
‎09-16-2022 01:37 AM
Updated by:
Contributors
Top Kudoed Authors