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 stops every few min

Discussion in 'General Discussion' started by furquan, Oct 2, 2011.

  1. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Hello All,

    Today morning suddenly tomcat on my server has started to stop every few minutes and i have to start it again.

    I have also deleted :--

    cd /usr/local/apache/logs
    echo > mod_jk.log

    And Restarted :-

    /scripts/restartsrv_apache
    /scripts/restartsrv_tomcat

    Yet, no luck,

    Can any one assist me on this ?

    Thank you all !
     
  2. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    I tried to telnet to localhost on port 8080 and it failed :-

    root@somehost [/usr/local/apache/logs]# telnet localhost 8080
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host: Connection refused

    What can be the reason for this, and how do i proceed further ?
     
  3. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Update :-

    I have noticed that stopping CSF causes every thing to return to normal. I have disabled CSF and tomcat is humming fine for a long time now.

    Any suggestions as to what could CSF be doing with Tomcat ?
     
  4. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    I see that you also posted on CSF forum. That would be my only suggestion simply because they know their product. So good job for that.
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The issue was most likely due to having port 8080 blocked in CSF.
     
  6. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Tristan,

    No that was not the case so. I did have the ports open.

    After my last post i did nothing, but restarted CSF back again and every thing seems to be working again...as if nothing had happened :D
     
Loading...

Share This Page