Have a look at the `killall'command in the LINUX man pages

Try this command to find all the process TOMCAT startup.sh
ps auwwx | awk '/yourusername/ && /startup.sh/ { print $0 }'

If this looks ok then use
ps auwwx | awk '/yourusername/ && /startup.sh/ { print $2 }' | xargs kill

hopefully it'ill work
--
Peter Pilgrim
G.O.A.T
                    "the Greatest Of All Time"



---------------------------------------- Message History 
----------------------------------------


From: kal inuganti <[EMAIL PROTECTED]>@java.sun.com> on 02/03/2001 05:36

Please respond to "A mailing list for discussion about Sun Microsystem's Java          
    Servlet API Technology." <[EMAIL PROTECTED]>

DELEGATED - Sent by:     "A mailing list for discussion about Sun Microsystem's Java   
           Servlet API Technology."@java.sun.com>


To:   [EMAIL PROTECTED]
cc:
Subject:  [Offtopic] TOMCAT shutdown.sh Wont work!




Hello all,

I am desperate to know how I can fix my system on Linux6.2 with tomcat + apache1.3. 
When I run the script shutdown.sh or startup.sh, I get the following error message.  
Also, when I restart tomcat, the newer version is not being loaded. I am new to shell 
scripts. Please suggest what I need to do to get tomcat to load the newer version when 
it is restarted.

<-- CUT-->


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to