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

000

Well-Known Member
Jun 3, 2008
535
29
78
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...
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.