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.

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:
    150
    Likes Received:
    0
    Trophy Points:
    16
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page