Failed to start Name Service Cache Daemon

Issues related to applications and software problems
Post Reply
Feelics
Posts: 3
Joined: 2024/03/15 00:42:16

Failed to start Name Service Cache Daemon

Post by Feelics » 2024/03/15 00:49:29

Hi All,

I'm getting this recently on my server and can't quite figure out how to resolve it.

Service Check Raw Output (XID kqxkg8) The “nscd” service is down.

The subprocess “/usr/local/cpanel/scripts/restartsrv_nscd” reported error number 255 when it ended.
Startup Log Mar 14 18:26:46 server.fooweb.com nscd[31800]: /usr/sbin/nscd: relocation error: /usr/sbin/nscd: symbol __nss_database_lookup2, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

Thank you,
Felix

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Failed to start Name Service Cache Daemon

Post by scottro » 2024/03/15 11:19:50

Once CPanel is installed, it makes many changes. This becomes a cpanel, not a CentOS, question, so you are better off using their support channels.
New users should check the FAQ and Read Me First pages

Feelics
Posts: 3
Joined: 2024/03/15 00:42:16

Re: Failed to start Name Service Cache Daemon

Post by Feelics » 2024/03/15 17:38:45

Hmm...interesting...so you think this is cPanel causing the issue?

If so, unfortunately my hosting provider cannot update to CentOS 8+ and cannot update cPanel...

Do you know where I'd go to find support for cPanel?

Thank you in advance!

User avatar
TrevorH
Site Admin
Posts: 33224
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Failed to start Name Service Cache Daemon

Post by TrevorH » 2024/03/15 19:16:50

Startup Log Mar 14 18:26:46 server.fooweb.com nscd[31800]: /usr/sbin/nscd: relocation error: /usr/sbin/nscd: symbol __nss_database_lookup2, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
This looks like someone has either installed a version of nscd that is not part of CentOS 7 or they've updated the nss* packages with foreign ones. It's possible but not very likely that a recent nscd updates requires a newer version of the nss packages and did not require them so it installed alongside older packages that do not work.

What does `rpm -q glibc` say?

What other things want to be updated if you run `yum update`?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Feelics
Posts: 3
Joined: 2024/03/15 00:42:16

Re: Failed to start Name Service Cache Daemon

Post by Feelics » 2024/03/15 20:32:48

Code: Select all

[~]# rpm -q glibc
glibc-2.17-326.el7_9.x86_64
[~]# yum update
Loaded plugins: copr, fastestmirror, langpacks, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 208.100.0.204
 * cpanel-addons-production-feed: 208.100.0.204
 * cpanel-plugins: 208.100.0.204
UL_paper_lantern_themes                                       | 2.9 kB  00:00:00     
base                                                          | 3.6 kB  00:00:00     
copr:copr.fedorainfracloud.org:ngompa:snapcore-el7            | 3.6 kB  00:00:00     
docker-ce-stable                                              | 3.5 kB  00:00:00     
epel                                                          | 4.7 kB  00:00:00     
extras                                                        | 2.9 kB  00:00:00     
hgdedi                                                        | 2.9 kB  00:00:00     
mysql-connectors-community                                    | 2.6 kB  00:00:00     
mysql-tools-community                                         | 2.6 kB  00:00:00     
ul                                                            | 2.9 kB  00:00:00     
ul_auto                                                       | 2.9 kB  00:00:00     
ul_bluehost                                                   | 2.9 kB  00:00:00     
updates                                                       | 2.9 kB  00:00:00     
No packages marked for update

User avatar
TrevorH
Site Admin
Posts: 33224
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Failed to start Name Service Cache Daemon

Post by TrevorH » 2024/03/15 21:55:46

OK, so try the opposite direction, where does nscd come from?

rpm -qf /usr/sbin/nscd
yum list nscd --showdupli
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply