Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29F73792F for ; Fri, 30 Sep 2011 11:43:23 +0000 (UTC) Received: (qmail 8897 invoked by uid 500); 30 Sep 2011 11:43:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 8693 invoked by uid 500); 30 Sep 2011 11:43:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 8684 invoked by uid 99); 30 Sep 2011 11:43:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 11:43:19 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 11:43:14 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R9bUT-0005h6-9l for users@tomcat.apache.org; Fri, 30 Sep 2011 04:42:53 -0700 Message-ID: <32560326.post@talk.nabble.com> Date: Fri, 30 Sep 2011 04:42:53 -0700 (PDT) From: Raghu GS To: users@tomcat.apache.org Subject: Re: catalina_pid file contains +1 pid number instead of correct pid In-Reply-To: <4E840E9C.5090008@pidster.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: raghu.gs@i10n.com References: <32521407.post@talk.nabble.com> <32550880.post@talk.nabble.com> <4E840E9C.5090008@pidster.com> X-Virus-Checked: Checked by ClamAV on apache.org If upgrading tomcat in our setup is that easy, i wouldn't have asked for help here. We are running tomcat in production server with large customer base. We don't want to do radical changes to fix one problem. Pid * wrote: > > On 29/09/2011 06:30, Raghu GS wrote: >> >> >> >> Konstantin Kolinko wrote: >>> >>> 2011/9/27 Raghu GS : >>>> >>>> Hello Everybody >>>> >>>> We are using Tomcat 6.20 in CentOS 5.3 server. >>> >>> 6.0.20 ?? >>> >>> You should read >>> http://tomcat.apache.org/security-6.html >>> >>> as well as all the fixed issues in changelog. >>> >>>> I have recently enabled catalina_pid functionality using environment >>>> variable. >>>> The PID file got created and contains +1 PID number. >>>> >>>> If the Tomcat's real PID number 5446, the pid file would contain 5447 >>>> as >>>> PID >>>> number. >>> >>> catalina.sh is a shell script file. There are not many secrets there >>> and it is editable. >>> You should try to debug what really goes on on your system. >>> >>> IIRC there were some talks about using "exec" command vs "eval" >>> command in the script to launch the process. >>> >>> Anyway, if CATALINA_PID file were not working I think somebody would >>> report it, but 6.0.20 was so old ago and I do not remember such >>> reports. >>> >>>> Please help me to resolve this problem as we are using tomcat in 10 of >>>> our >>>> servers. >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>> For additional commands, e-mail: users-help@tomcat.apache.org >> >> Actually the PID number in the PID file is not wildly incorrect. >> So, please suggest me an easy to implement solution. > > Upgrade to the latest 6.0.33 and try again? > > > p > > > > > > -- View this message in context: http://old.nabble.com/catalina_pid-file-contains-%2B1-pid-number-instead-of-correct-pid-tp32521407p32560326.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org