LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-02-2007, 02:40 AM   #1
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Rep: Reputation: 15
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="regalmail"


SHUTDOWN_WAIT=30

CATALINA_PID=/var/run/tomcat5.pid

CONNECTOR_PORT=8009


[root@mail02 ~]#
 
Old 10-02-2007, 04:33 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Quote:
Starting tomcat5: lock file found but no process running for pid 29830, continuing
This is not an error but rather a waning that tomcat found a lock file most likely due to an unclear previous shutdown of tomcat.
To check if tomcat has started, run:
Code:
ps -ef|grep tomcat  or
ps -ef |grep `cat /var/run/tomcat5.pid`
Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while starting tomcat5.0.28 karthi26 Linux - Server 1 07-04-2007 01:11 AM
error while installing tripwire-2.4.0.1 on rhel 4 Linux_Learner[LL] Linux - Software 4 01-06-2007 05:44 AM
tomcat5 -jsp compile error gv_rajasekhar Programming 1 09-20-2006 05:51 AM
No error msg in RHEL 4 wincrk Linux - Enterprise 0 01-16-2006 03:50 AM
error while RHEL 4 shutdown Ayman.mashal Linux - Newbie 3 08-05-2005 09:23 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration