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!

Ey!, you know what RUN the command {/usr/sbin/starttomcat;} ???

Discussion in 'General Discussion' started by 000, Jun 10, 2013.

  1. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    66
    Hi people.

    When you run the command /usr/sbin/starttomcat;

    You take this output:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Command './jsvc -user tomcat -cp ./bootstrap.jar -Djava.endorsed.dirs=../common/endorsed -outfile ../logs/catalina.out -errfile ../logs/catalina.err -verbose org.apache.catalina.startup.Bootstrap start' returned: 0
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    But in OTHERS CASES you take:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Could not open '/var/run/jsvc.pid': No such file or directory
    Can't exec "./jsvc": No such file or directory at /usr/sbin/starttomcat line 86.
    Command './jsvc -user tomcat -cp ./bootstrap.jar -Djava.endorsed.dirs=../common/endorsed -outfile ../logs/catalina.out -errfile ../logs/catalina.err -verbose org.apache.catalina.startup.Bootstrap start' returned: 72057594037927935
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Some idea about how fixed the error when we take the second output?

    Apparently samplely is subjet of fixed the value in line of error:
    /starttomcat line 86 => #"-security",

    But really I unknow how I can fixed this "parameter".

    Any idea please?

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::

    What I try?
    Samplely start my TomCat with my owners parameters...
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The error message indicates that some of the required files are missing. Have you installed Tomcat through EasyApache or is this a custom installation? Do you get any errors when restarting Tomcat? EX:

    Code:
    # /scripts/restartsrv_tomcat
    You may also want to ensure there is free memory available on your server.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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