Why does installation of nscd fail with PREIN scriptlet failure on a machine using Centrify authentication?

Solution Verified - Updated -


  • Installation of nscd package fails while running the following command with errors.
# yum install nscd
  • The pertinent errors are
Error in PREIN scriptlet in rpm package nscd-2.12-1.107.el6_4.4.x86_64
groupadd: GID '28' already exists
useradd: group 'nscd' does not exist
error: %pre(nscd-2.12-1.107.el6_4.4.x86_64) scriptlet failed, exit status 6
error:   install: %pre scriptlet failed (2), skipping nscd-2.12-1.107.el6_4.4
  • It fails because the directory service already knows a group with GID 28 i.e. Centrify
# adquery group|grep :28:
  • The RHEL5 nscd package doesn't care about its numberic GID, so the GID can be anything for that on Red Hat Enterprise Linux 5 as follows.
# groupadd -r nscd
# getent group nscd
# yum install nscd
  • And the package installs successfully after above steps.


  • Red Hat Enterprise Linux 6.4
  • nscd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In