Pivotal Knowledge Base

Follow

PCC install fails to start puppet with error Invalid group 0

Environment

  • PHD 1.x 
  • Linux

Symptom 

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]

Cause

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

Fix

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 

Comments

Powered by Zendesk