PCC install fails to start puppet with error Invalid group 0
search cancel

PCC install fails to start puppet with error Invalid group 0

book

Article ID: 294862

calendar_today

Updated On:

Products

Services Suite

Issue/Introduction

Symptoms:

 

Starting puppetmaster: /usr/share/rubygems/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
Could not prepare for execution: Invalid group: 0
                                                           [FAILED]

 

Environment


Cause

Invalid group 0 error can be triggered if the permission for /etc/group or /etc/group- are incorrect.

Resolution

Confirm the permissions for the following files are set to "-rw-r--r--". 

  • /etc/passwd
  • /etc/passwd-
  • /etc/group
  • /etc/group-

If its not set to 644, run the below on all the files listed above to modify the permission:

chmod 644 /etc/passwd