Why does nscd fail to restart with relocation error?

Solution Verified - Updated -

Issue

  • nscd won't start after updating it to the latest version:
# rpm -q glibc nscd | sort
glibc-2.3.4-2.43.i686
glibc-2.3.4-2.43.x86_64
nscd-2.3.4-2.43.x86_64

# service nscd stop
Stopping nscd:                                             [  OK  ]

# rpm -Uvh nscd-2.3.4-2.43.el4_8.6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:nscd                   ########################################### [100%]

# service nscd start
Starting nscd: /usr/sbin/nscd: relocation error: /usr/sbin/nscd: symbol __nss_next2,
version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
                                                           [FAILED]

Starting nscd: /usr/sbin/nscd: relocation error: /usr/sbin/nscd: symbol __nss_lookup, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
  • Unable to upgrade glibc packages using yum, receiving below error. Uploading the sosreport .
--> Finished Dependency Resolution
Error: Package: nscd-2.12-1.107.el6.x86_64 
           Requires: glibc = 2.12-1.107.el6
           Removing: glibc-2.12-1.107.el6.i686 
               glibc = 2.12-1.107.el6
           Updated By: glibc-2.12-1.149.el6_6.5.i686 (Glib)
               glibc = 2.12-1.149.el6_6.5
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content