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.

Tomcat Removal Problem

Discussion in 'cPanel Developers' started by jimb, Feb 15, 2006.

  1. jimb

    jimb Member

    Joined:
    Sep 12, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I recently installed tomcat via the addon modules.
    After a day or two I found it ate too many ssystem resources so I removed it using the same page.

    The problem is, now that it is gone cPanel is sending me many emails saying:

    tomcat failed @ Wed Feb 15 19:09:15 2006. A restart was attempted automagicly.

    How can I stop cpanel from trying to restart it?

    Thanks!
    Jim
     
  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
    Probably in WHM > Service Manager
     
  3. jimb

    jimb Member

    Joined:
    Sep 12, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the suggestion, hwoever I have already checked this - the page doesn't mention tomat - however it did before I removed it.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Ah, OK. In that case:

    rm -fv /var/run/chkservd/tomcat
    /etc/init.d/chkservd restart
     
  5. jimb

    jimb Member

    Joined:
    Sep 12, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Ah I think i've fixed this - thanks anyway guys.

    Edit: Yes thats basically what I did - I also removed it from chkservd.conf
     

Share This Page