stormy

Well-Known Member
Nov 22, 2003
240
59
178
Spain
cPanel Access Level
Root Administrator
I have what I think is a related problem. I receive a lot of FAILED notices for nscd, "The service “nscd” appears to be down", and restarts, on all my servers. Is this normal?
 

DJPRMF

Member
Oct 14, 2015
10
9
53
Portugal
cPanel Access Level
DataCenter Provider
Twitter
I have what I think is a related problem. I receive a lot of FAILED notices for nscd, "The service “nscd” appears to be down", and restarts, on all my servers. Is this normal?
Probably isn't the same problem....
But, until the "nscd" is a little more "implemented" with cpanel, i recommend disable it... Is not a critical service, and can be safely disabled.
 
  • Like
Reactions: stormy

Hedloff

Well-Known Member
Jun 7, 2004
189
13
168
Up north!
cPanel Access Level
DataCenter Provider
We're also reciving alot of email of the service is going down/recovered all the time. Even on servers we don't have this enabled!

We tested this service on our nameservers, but they only caused issues and we had to disable them.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Could you review /var/log/lfd.log to see if it's killed by LFD if CSF/LFD is installed on your system?

Thank you.
 

easyswiss

Active Member
PartnerNOC
Apr 19, 2011
44
1
58
We have the same issue on several servers and think there must be a bug in the last cpanel update.

> /var/log/lfd.log

Emtpy (file does not exist).


OS / CPANEL VERSION:
[email protected] [~]# cat /etc/*release
CloudLinux Server release 6.7 (Aleksei Gubarev)
CloudLinux Server release 6.7 (Aleksei Gubarev)
[email protected] [~]# /usr/local/cpanel/cpanel -V
11.52.0 (build 20)


Ex. Server 1
Service Status
recovered ❇
Notification The service "nscd" is now operational.
Service Check Raw Output The 'nscd' service passed the check.
Startup Log Starting nscd: [ OK ]
Memory Information
Used 4.42 GB
Available 11.05 GB
Installed 15.47 GB
Load Information 0.33 0.53 0.49
Uptime 138 days, 21 hours, 5 minutes, and 32 seconds

Ex. Server 2
Service Name
nscd
Service Status recovered ❇
Notification The service "nscd" is now operational.
Service Check Raw Output The 'nscd' service passed the check.
Startup Log Starting nscd: [ OK ]
Memory Information
Used 723 MB
Available 14.76 GB
Installed 15.47 GB
Load Information 0.25 0.24 0.26
Uptime 244 days, 9 hours, 25 minutes, and 10 seconds

Ex. Server 3
Service Name
nscd
Service Status recovered ❇
Notification The service "nscd" is now operational.
Service Check Raw Output The 'nscd' service passed the check.
Startup Log Starting nscd: [ OK ]
Memory Information
Used 2.19 GB
Available 13.29 GB
Installed 15.47 GB
Load Information 0.91 0.74 0.80
Uptime 241 days, 32 minutes, and 56 seconds


and lot of others... o_O
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Let us know if the issue persists after modifying /etc/nscd.conf to change the following value:

Code:
enable-cache        netgroup    yes
To:

Code:
enable-cache        netgroup    no
Ensure you run "/scripts/restartsrv_nscd" after making the change.

Thank you.
 

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Hi Michael. I tried the suggested change on one of our servers (modify /etc/nscd.conf so enable-cache netgroup is 'no' instead of 'yes', then run '/scripts/restartsrv_nscd'), however the occasional nscd 'crash' still persists.

We do have CSF/LFD on the server, but I checked the log you mentioned (/var/log/lfd.log) and there are no entries related to anything of interest.

Any other things to try or to look at?

- Scott
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hi Michael. I tried the suggested change on one of our servers (modify /etc/nscd.conf so enable-cache netgroup is 'no' instead of 'yes', then run '/scripts/restartsrv_nscd'), however the occasional nscd 'crash' still persists.
Internal case CPANEL-2242 is open to track reports of this problem, but there's not yet been a determination of the cause. It'd help if you could open a support ticket using the link in my signature so we could attempt to debug the issue on an affected system. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

LeetWebH

Member
Dec 6, 2005
15
0
151
Im experiencing the same issues on one of my servers, I tried disabling the enable-cache netgroup off and restarted nscd and it still doing random notifications/restarts (at a rate of like from 7 to 15 per day). Any update on the internal case bugtrack??
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Im experiencing the same issues on one of my servers, I tried disabling the enable-cache netgroup off and restarted nscd and it still doing random notifications/restarts (at a rate of like from 7 to 15 per day). Any update on the internal case bugtrack??
There's no update available at this time, but please feel free to open a support ticket and reference case CPANEL-2242 so we can review your system and add any helpful information about your environment to it.

Thank you.
 

megahost

Member
PartnerNOC
Jun 10, 2012
12
0
51
cPanel Access Level
Root Administrator
We do have CSF/LFD on the server, but I checked the log you mentioned (/var/log/lfd.log) and there are no entries related to anything of interest.

Thank you.
actually we do see something in the main log (/var/log/messages):
Code:
[email protected] [~]# grep -ri 'nscd' /var/log/messages
Feb  2 11:51:53 server kernel: [1522651.294024] nscd[15004]: segfault at 7f9d1d7f32e0 ip 00007f9c21260bcb sp 00007f9c11c32510 error 4 in nscd[7f9c2124d000+24000]
Feb  3 12:28:55 server kernel: [1611271.474491] nscd[2937]: segfault at 7fc9ff111358 ip 00007fc9083ccbcb sp 00007fc8f8106510 error 4 in nscd[7fc9083b9000+24000]
Feb  4 14:50:16 server kernel: [1706150.675226] nscd[20721]: segfault at 7fee0470b6a8 ip 00007fed0bff2bcb sp 00007fecfdbba510 error 4 in nscd[7fed0bfdf000+24000]
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
actually we do see something in the main log (/var/log/messages):
I've noted this forum thread in the internal case, but feel free to open a support ticket so we can review your system and add any additional notes to the case that will help narrow down the cause of the problem.

Thank you.
 

Hedloff

Well-Known Member
Jun 7, 2004
189
13
168
Up north!
cPanel Access Level
DataCenter Provider
We still get alot of emails from different server with latest version of 54 about nscd failing.
And I cannot find the internal case ticket in the changelogs.

When will this be fixed?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
And I cannot find the internal case ticket in the changelogs.
There were no additional reports of this problem from any other users, so the case is still open. We need you to open a support ticket so we can take a closer look.

Thank you.
 

Fr3DBr

Member
Apr 6, 2013
21
1
3
The Netherlands
cPanel Access Level
DataCenter Provider
Twitter
Hi, we have the same issue, we are getting two, three times a day sometimes in a few of our servers, any hints ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hi, we have the same issue, we are getting two, three times a day sometimes in a few of our servers, any hints ?
Have you tried the workaround suggested from NSCD Failing mentioned earlier in this thread?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

Internal case CPANEL-5693 was included in cPanel version 56.0.8 to help address this issue:

Fixed case CPANEL-5693: Avoid nscd cache clear when services activate from dormancy.

Could anyone using version 56 of cPanel let us know if the issue persists after the implementation of this case?

Thank you.