2015-04-09 12:24 GMT+03:00  <rj...@apache.org>:
> Author: rjung
> Date: Thu Apr  9 09:24:49 2015
> New Revision: 1672272
>
> URL: http://svn.apache.org/r1672272
> Log:
> BZ57801: Give a hint on what to do.
>
> This might happen, if a system reboot happens,
> Tomcat is not shut down properly and another
> process reuses the PID after the reboot, before
> Tomcat is being started.
>
> Modified:
>     tomcat/trunk/bin/catalina.sh
>
> Modified: tomcat/trunk/bin/catalina.sh
> URL: 
> http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.sh?rev=1672272&r1=1672271&r2=1672272&view=diff
> ==============================================================================
> --- tomcat/trunk/bin/catalina.sh (original)
> +++ tomcat/trunk/bin/catalina.sh Thu Apr  9 09:24:49 2015
> @@ -342,6 +342,7 @@ elif [ "$1" = "start" ] ; then
>            ps -p $PID >/dev/null 2>&1
>            if [ $? -eq 0 ] ; then
>              echo "Tomcat appears to still be running with PID $PID. Start 
> aborted."
> +            echo "If this process is not a Tomcat process, remove the PID 
> file and try again."
>              exit 1
>            else
>              echo "Removing/clearing stale PID file."

Maybe provide additional information?

a) Information on the process?  (ps .. ?)
b) Path to the PID file.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to