Skip to main content

Fatal error when trying to restart services: multiple versions of nscd installed

Comments

17 comments

  • veronicabend
    The hosting company has fixed this by reinstalling nscd.
    0
  • cPanelMichael
    Hello, I'm happy to see the issue was resolved after removing the duplicate nscd RPM. I suggest running "yum update" on your system to verify the duplicate RPM is not coming from a custom YUM repo. You can use this command after running "yum update" to verify only one nscd RPM is installed:
    rpm -qa|grep nscd
    Thank you.
    0
  • Abhijit Banik
    Same error I found and After running the given code rpm -qa|grep nscd I found below result. nscd-2.12-1.192.el6.x86_64 nscd-2.12-1.166.el6_7.7.x86_64 Then Next what have to do?
    0
  • cPanelMichael
    Hello, Verify your operating system and architecture with the following commands:
    cat /etc/redhat-release arch
    Also, use the "yum info" command on each package to see additional information. EX:
    yum info nscd-2.12-1.192.el6.x86_64
    Then, delete the duplicate RPM that doesn't match your OS version, YUM repo, or architecture with a command such as:
    rpm -e --nodeps nscd-2.12-1.192.el6.x86_64
    Thank you.
    0
  • giorgino
    Hello, Verify your operating system and architecture with the following commands:
    cat /etc/redhat-release arch
    Also, use the "yum info" command on each package to see additional information. EX:
    yum info nscd-2.12-1.192.el6.x86_64
    Then, delete the duplicate RPM that doesn't match your OS version, YUM repo, or architecture with a command such as:
    rpm -e --nodeps nscd-2.12-1.192.el6.x86_64
    Thank you.

    Same issue here, but I don't know which package remove...
    root@server04 [~]# rpm -qa|grep nscd nscd-2.12-1.166.el6_7.7.x86_64 nscd-2.12-1.192.el6.x86_64 root@server04 [~]# cat /etc/redhat-release CentOS release 6.8 (Final) root@server04 [~]# yum info nscd-2.12-1.166.el6_7.7.x86_64 Plugin abilitati:fastestmirror, security Loading mirror speeds from cached hostfile * base: mirrors.prometeus.net * elrepo: mirrors.evowise.com * extras: mirrors.prometeus.net * rpmforge: mirror.de.leaseweb.net * updates: mirrors.prometeus.net Pacchetti installati Nome : nscd Arch : x86_64 Versione : 2.12 Rilascio : 1.166.el6_7.7 Dimensione : 180 k Repo : installed Dal repo : updates Sommario : A Name Service Caching Daemon (nscd). URL : http://sources.redhat.com/glibc/ Licenza : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Descrizione : Nscd caches name service lookups and can dramatically improve : performance with NIS+, and may help with DNS as well. root@server04 [~]# yum info nscd-2.12-1.192.el6.x86_64 Plugin abilitati:fastestmirror, security Loading mirror speeds from cached hostfile * base: mirrors.prometeus.net * elrepo: mirrors.evowise.com * extras: mirrors.prometeus.net * rpmforge: mirror.de.leaseweb.net * updates: mirrors.prometeus.net Pacchetti installati Nome : nscd Arch : x86_64 Versione : 2.12 Rilascio : 1.192.el6 Dimensione : 180 k Repo : installed Sommario : A Name Service Caching Daemon (nscd). URL : http://sources.redhat.com/glibc/ Licenza : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Descrizione : Nscd caches name service lookups and can dramatically improve : performance with NIS+, and may help with DNS as well. root@server04 [~]# cat /etc/redhat-release CentOS release 6.8 (Final) root@server04 [~]# arch x86_64
    0
  • cPanelMichael
    root@server04 [~]# rpm -qa|grep nscd nscd-2.12-1.166.el6_7.7.x86_64 nscd-2.12-1.192.el6.x86_64

    Hello, Please let us know if the following commands help to address this issue:
    yum clean all yum update
    Thank you.
    0
  • giorgino
    Hello, Please let us know if the following commands help to address this issue:
    yum clean all yum update
    Thank you.

    Hi Michel, this is the shell log
    root@server04 [~]# yum clean all Plugin abilitati:fastestmirror, security Pulizia dei repository:base elasticsearch-2.x elrepo extras rpmforge updates Pulizia completa Cleaning up list of fastest mirrors root@server04 [~]# yum update Plugin abilitati:fastestmirror, security Impostazione processo di aggiornamento Determining fastest mirrors * base: it.centos.contactlab.it * elrepo: mirror.imt-systems.com * extras: it.centos.contactlab.it * rpmforge: mirror.de.leaseweb.net * updates: it.centos.contactlab.it base | 3.7 kB 00:00 base/primary_db | 4.7 MB 00:00 elasticsearch-2.x | 2.9 kB 00:00 elasticsearch-2.x/primary_db | 7.7 kB 00:00 elrepo | 2.9 kB 00:00 elrepo/primary_db | 730 kB 00:00 extras | 3.4 kB 00:00 extras/primary_db | 37 kB 00:00 rpmforge | 1.9 kB 00:00 rpmforge/primary_db | 2.7 MB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 2.6 MB 00:00 Nessun pacchetto marcato per l'aggiornamento root@server04 [~]# rpm -qa|grep nscd nscd-2.12-1.166.el6_7.7.x86_64 nscd-2.12-1.192.el6.x86_64 root@server04 [~]#
    Still a couple of files...
    0
  • cPanelMichael
    You can use the "yum info" command to see which YUM Repo the package is coming from so you can then exclude it from that Repo. EX:
    yum info nscd-2.12-1.166.el6_7.7.x86_64 yum info nscd-2.12-1.192.el6.x86_64
    Let us know the output. Thanks!
    0
  • giorgino
    You can use the "yum info" command to see which YUM Repo the package is coming from so you can then exclude it from that Repo. EX:
    yum info nscd-2.12-1.166.el6_7.7.x86_64 yum info nscd-2.12-1.192.el6.x86_64
    Let us know the output. Thanks!

    Hi Michael this is the output
    root@server04 [~]# yum info nscd-2.12-1.166.el6_7.7.x86_64 Plugin abilitati:fastestmirror, security Loading mirror speeds from cached hostfile * base: it.centos.contactlab.it * elrepo: mirror.imt-systems.com * extras: it.centos.contactlab.it * rpmforge: mirror.de.leaseweb.net * updates: it.centos.contactlab.it base | 3.7 kB 00:00 elasticsearch-2.x | 2.9 kB 00:00 elrepo | 2.9 kB 00:00 extras | 3.4 kB 00:00 rpmforge | 1.9 kB 00:00 updates | 3.4 kB 00:00 Pacchetti installati Nome : nscd Arch : x86_64 Versione : 2.12 Rilascio : 1.166.el6_7.7 Dimensione : 180 k Repo : installed Dal repo : updates Sommario : A Name Service Caching Daemon (nscd). URL : http://sources.redhat.com/glibc/ Licenza : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Descrizione : Nscd caches name service lookups and can dramatically improve : performance with NIS+, and may help with DNS as well. root@server04 [~]# yum info nscd-2.12-1.192.el6.x86_64 Plugin abilitati:fastestmirror, security Loading mirror speeds from cached hostfile * base: it.centos.contactlab.it * elrepo: mirror.imt-systems.com * extras: it.centos.contactlab.it * rpmforge: mirror.de.leaseweb.net * updates: it.centos.contactlab.it Pacchetti installati Nome : nscd Arch : x86_64 Versione : 2.12 Rilascio : 1.192.el6 Dimensione : 180 k Repo : installed Sommario : A Name Service Caching Daemon (nscd). URL : http://sources.redhat.com/glibc/ Licenza : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Descrizione : Nscd caches name service lookups and can dramatically improve : performance with NIS+, and may help with DNS as well.
    0
  • cPanelMichael
    Hello, You can remove nscd-2.12-1.192.el6.x86_64 via a command such as:
    rpm -e --nodeps nscd-2.12-1.192.el6.x86_64
    Thank you.
    0
  • giorgino
    Thank you @cPanelMichael :)
    0
  • Jazz123
    Hello, I'm happy to see the issue was resolved after removing the duplicate nscd RPM. I suggest running "yum update" on your system to verify the duplicate RPM is not coming from a custom YUM repo. You can use this command after running "yum update" to verify only one nscd RPM is installed:
    rpm -qa|grep nscd
    Thank you.

    Would you please share some visuals for yum update. I am unable to update it. Please guide to me to get through it. thanks [url=http://www.fordycespots.xyz/].
    0
  • cPanelMichael
    Would you please share some visuals for yum update. I am unable to update it. Please guide to me to get through it. thanks

    Could you provide some more information on the specific issue you are currently facing so we can guide you with the best solution/steps? Thank you.
    0
  • PPNSteve
    I'm seeing this error in some current cPanel/WHM versions why is it happening?
    0
  • cPanelMichael
    I'm seeing this error in some current cPanel/WHM versions why is it happening?

    Hello, Could you run the following commands on an affected system and let us know the output?
    rpm -qa|grep nscd cat /etc/redhat-release arch cat /usr/local/cpanel/version ls /etc/yum.repos.d
    Thank you.
    0
  • jpswade
    root@svr [~]# rpm -qa|grep nscd nscd-2.12-1.149.el6_6.9.x86_64 nscd-2.12-1.166.el6_7.3.x86_64 root@svr [~]# cat /etc/redhat-release CentOS release 6.7 (Final) root@svr [~]# arch x86_64 root@svr [~]# cat /usr/local/cpanel/version 11.64.0.29 root@svr [~]# ls /etc/yum.repos.d ./ CentOS-Debuginfo.repo CentOS-fasttrack.repo vz.repo ../ CentOS-Media.repo MariaDB100.repo CentOS-Base.repo CentOS-Vault.repo cPAddons.repo
    0
  • cPanelMichael
    root@svr [~]# rpm -qa|grep nscd nscd-2.12-1.149.el6_6.9.x86_64 nscd-2.12-1.166.el6_7.3.x86_64

    Hello, This often happens when a YUM transaction fails to complete. Try running the following command to see if it allows YUM to finish the transaction, and erase the older RPM:
    yum-complete-transaction
    Thank you.
    0

Please sign in to leave a comment.