Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Probably in WHM > Service Manager
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jimb

    jimb Member

    Joined:
    Sep 12, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    151
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Ah, OK. In that case:

    rm -fv /var/run/chkservd/tomcat
    /etc/init.d/chkservd restart
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jimb

    jimb Member

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

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice