Fatal error when trying to restart services: multiple versions of nscd installed
Today when I go to WHM >> Restart Services no matter which service it is, I get a red sign saying
"A fatal error occured while processing this directive"
When I click show it shows:
Multiple versions of the nscd are installed: 2.12-1.166.el6_7.7
2.12-1.192.el6 at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 422.
at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 422.
Cpanel::SysPkgs::YUM::installed_package_version(Cpanel::SysPkgs::YUM=HASH(0x2551350), "nscd") called at /usr/local/cpanel/Cpanel/NSCD/Recommended.pm line 40
Cpanel::NSCD::Recommended::get_report() called at /usr/local/cpanel/Cpanel/Services.pm line 34
Cpanel::Services::_get_services() called at /usr/local/cpanel/Cpanel/Services.pm line 86
Cpanel::Services::get_service_list() called at /usr/local/cpanel/Cpanel/Services/Installed/State.pm line 129
Cpanel::Services::Installed::State::_get_handled_services() called at /usr/local/cpanel/Cpanel/Services/Installed/State.pm line 23
Cpanel::Services::Installed::State::get_installed_services_state() called at whostmgr/bin/whostmgr.pl line 5118
main::srvmng() called at whostmgr/bin/whostmgr.pl line 429
Please tell me how I can resolve this.
WHM version is 56.0 (build 21).
Thanks.
Edit:
- I used this ok on tuesday so I'm thinking cpanel must have updated since then
- I noticed the same issue on two different servers so far.
- I also get the same red sign and error if I go to Service Configuration >> Service Manager
-
The hosting company has fixed this by reinstalling nscd. 0 -
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 -
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 -
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 -
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_640 -
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 -
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 logroot@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 -
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 -
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 outputroot@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 -
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 -
Thank you @cPanelMichael :) 0 -
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 -
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 -
I'm seeing this error in some current cPanel/WHM versions why is it happening? 0 -
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 -
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 -
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.
Comments
17 comments