# rm-rf.es | Administración de sistemas

Bitácora personal de un SysAdmin Gnu/Linux, Windows, BSD...

cPanel: Unable to add group name, Unable to add the user


En el caso de que recibáis uno de estos errores al tratar de crear una nueva cuenta en cPanel…

Account Creation Status: failed (Unable to add group name)
Unable to add the user xxxx

Revisad que no tengáis ficheros bloqueados en /etc (.lock), como por ejemplo:

gshadow.lock
group.lock
shadow.lock

Borrando dichos ficheros (o moviendolos a otra ubicación si os da apuro…) el problema debería quedar solucionado.

warning: locate: Could not find the group: slocate in the /etc/group file


# locate test.txt
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: locate: Could not find the group: slocate in the /etc/group file.
fatal error: This is a result of the group missing or a corrupted group file.

Si recibes este error al usar el comando “locate”, simplemente tendrás que añadir un nuevo grupo al sistema llamado slocate:

groupadd slocate

Una vez hecho esto, vuelve a intentarlo, no deberías tener problemas. Lo cierto es que el error es bastante descriptivo ;)