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.

chkservd

Discussion in 'General Discussion' started by DigiCrime, Aug 24, 2005.

  1. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    On the fritz... emails every 5 mins times dozen servers... gets little anoying. Why does this service sometimes email once or twice a day like it normally does vs every 5 mins all of a sudden
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Enirely depends what it is emailing about. The most common cause I have found for problems with chkservd like that are because 127.0.0.1 has not been setup correctly on the loopback device (usually on VPS systems), or that the localhost line for 127.0.0.1 is missing from /etc/hosts.
     
  3. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Disk space... I edited chkservd to change the values of what it looks for on disk space, but still sends in notices warning or critical.. with drive space
     
  4. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    talk about anoying lol no one encountered this yet?
     
  5. Azeteg

    Azeteg Registered

    Joined:
    Oct 1, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I am having the same problem on my root (/) drive, which is filled to 89%. I get emails every few minutes about it. I followed the cPanel recommendation on the / partition size, and I have looked around and see nothing I can delete there.

    What to do to solve this issue permanently?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    To solve it permanently, you need to clear down whatever is taking up the excessive space or move something to another partition and symlink it back. If you don't know how to do this, I'd suggest you hire a server administrator or ask your datacenter.
     
  7. dolphyn

    dolphyn Well-Known Member

    Joined:
    Nov 27, 2001
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
  8. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    I tend to agree. I don't need to know every three minutes that /usr is at 81% full. :) It would be nice if they had it set to only warn you a set number of times before giving up for the day. Or better yet, some way to tell WHM "Thank you, I know. Don't warn me about this particular problem again."
     
  9. oulzac

    oulzac Well-Known Member

    Joined:
    Aug 7, 2005
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    I am getting the "exim has failed, a restart was attempted automagicly" every 8-15 mins even though its not failing, and still working?

    I have searched these forums for other posts with the same problem, but they all just say, restart chkservd or upgrade exim, wich I have done, but it will still not stop.

    any other recomendations?
     
  10. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    I have had those to but exim wasn't really working or come to find out a buch of them were queued up from iptables blocking sending email...

    Disk space one is what aggravates me... these emails times 45 something servers its REALLY anoying :(

    Just noticed theres a few bug reports on this disk issue thing just nothing resolved about it yet
     
  11. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Looked around in bugzilla see this still has no answer to it unless im not looking for the right thing... only thing I can suggest is turning it off completly, would be nice though if I could find a cure for this, disk warnings every 5 mins is extremly annoying.
     
  12. dolphyn

    dolphyn Well-Known Member

    Joined:
    Nov 27, 2001
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
  13. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Yea that doesnt work, this appeared after 10.6-R55 version 10.2.0-R82 seems to be just fine but I know we need to upgrade... the newest, problem still exists, rerunning upcp doesnt show anything new to update, --force didnt change anything problem still exist :(
     
  14. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    I got a temp fix from talkin to Cpanel about this. seems to work for us but use at your own risk

    Code:
    cp /usr/sbin/chkservd /usr/sbin/chkservd.orig
    sed -r 's/(diskcheck\(\);)/\1$dskchk=0/; s/(loadupconfig\(\);)/\1$dskchk+=5;/' /usr/sbin/chkservd > /usr/sbin/chkservd.new
    mv /usr/sbin/chkservd.new /usr/sbin/chkservd
    chmod 700 /usr/sbin/chkservd
    service chkservd restart 
    
     
  15. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    This issue is handled in the latest version of chkservd (in Edge and Current) now. Notifications of disk space are only sent every 23 hours now.
     
Loading...

Share This Page