The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NSCD Failing

Discussion in 'General Discussion' started by stormy, Oct 21, 2015.

Tags:
  1. stormy

    stormy Well-Known Member

    Joined:
    Nov 22, 2003
    Messages:
    108
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    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?
     
  2. DJPRMF

    DJPRMF Registered

    Joined:
    Oct 14, 2015
    Messages:
    4
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Portugal
    cPanel Access Level:
    Root Administrator
    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.
     
    stormy likes this.
  3. Hedloff

    Hedloff Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. easyswiss

    easyswiss Active Member

    Joined:
    Apr 19, 2011
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    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:
    root@xxx [~]# cat /etc/*release
    CloudLinux Server release 6.7 (Aleksei Gubarev)
    CloudLinux Server release 6.7 (Aleksei Gubarev)
    root@xxx [~]# /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
     
  6. easyswiss

    easyswiss Active Member

    Joined:
    Apr 19, 2011
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Problem exists since
    2015-10-15 08:53
     
  7. Fernando Orozco

    Fernando Orozco Registered

    Joined:
    Jun 16, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Guadalajara, Mexico
    cPanel Access Level:
    Root Administrator
    I have the same problem with two dedicated servers since about a month. Any advice is highly appreciated
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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 likes this.
  9. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  11. LeetWebH

    LeetWebH Member

    Joined:
    Dec 6, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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??
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  13. megahost

    megahost Registered

    Joined:
    Jun 10, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    actually we do see something in the main log (/var/log/messages):
    Code:
    root@server [~]# 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]
    
     
    #13 megahost, Feb 4, 2016
    Last edited by a moderator: Feb 4, 2016
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  15. Hedloff

    Hedloff Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    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?
     
  16. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  17. Fr3DBr

    Fr3DBr Member

    Joined:
    Apr 6, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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 ?
     
  18. acenetgeorge

    acenetgeorge Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2008
    Messages:
    64
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Southfield, MI
    cPanel Access Level:
    DataCenter Provider
    You can always disable NSCD within WHM -> Service Manager for now, especially on busy servers. It is not an essential service, and DNS works just fine with it disabled.
     
  19. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you tried the workaround suggested from NSCD Failing mentioned earlier in this thread?

    Thank you.
     
  20. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page