LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   tomcat5 error in RHEL-5 (https://www.linuxquestions.org/questions/linux-enterprise-47/tomcat5-error-in-rhel-5-a-588799/)

sachin1361 10-02-2007 02:41 AM

tomcat5 error in RHEL-5
 
Hi to All,
Please check the configuration below for Tomacat5 on RHEL-5. When i start the tomcat services , error appears related to lock file.
how to fix this error.

Any help will be appreciated.

[root@mail02 ~]# rpm -qa |grep tomcat
tomcat5-common-lib-5.5.17-8jpp.2
tomcat5-webapps-5.5.17-8jpp.2
tomcat5-admin-webapps-5.5.17-8jpp.2
tomcat5-server-lib-5.5.17-8jpp.2
tomcat5-5.5.17-8jpp.2
tomcat5-jasper-5.5.17-8jpp.2
tomcat5-servlet-2.4-api-5.5.17-8jpp.2
tomcat5-jsp-2.0-api-5.5.17-8jpp.2

[root@mail02 ~]# service tomcat5 start
Starting tomcat5: lock file found but no process running for pid 29830, continuing
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME: /usr/java/default/jre
[ OK ]
[root@mail02 ~]#

[root@mail02 ~]# sed '/#/ d' /etc/tomcat5/tomcat5.conf

JAVA_HOME="/usr/java/default"




CATALINA_HOME="/usr/share/tomcat5"
JASPER_HOME="/usr/share/tomcat5"
CATALINA_TMPDIR="/usr/share/tomcat5/temp"
JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed"

TOMCAT_USER="tomcat"


SHUTDOWN_WAIT=30

CATALINA_PID=/var/run/tomcat5.pid

CONNECTOR_PORT=8009


[root@mail02 ~]# cd /usr/java/default/
[root@mail02 default]# ls
bin include LICENSE README_ja.html src.zip
COPYRIGHT jre man README_zh_CN.html THIRDPARTYLICENSEREADME.txt
demo lib README.html sample
[root@mail02 default]#

acid_kewpie 10-02-2007 02:56 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 05:04 PM.