Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 88677 invoked from network); 26 Aug 2002 15:42:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Aug 2002 15:42:15 -0000 Received: (qmail 831 invoked by uid 97); 26 Aug 2002 15:42:29 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 815 invoked by uid 97); 26 Aug 2002 15:42:28 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 803 invoked by uid 98); 26 Aug 2002 15:42:28 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Errors-To: Message-Id: <5.1.0.14.2.20020826083732.02b8f270@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 26 Aug 2002 08:42:21 -0700 To: tomcat-user@jakarta.apache.org From: Randall R Schulz Subject: Re: Tomcat Installation on linux In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Shakir, Sorry for the misunderstanding. That's pretty odd. It's typical nowadays on Unix systems to omit "." from the PATH, so unless you've added "." (or an empty PATH element, which is to say a leading colon or two colons in a row), you need to enter "./shutdown" or a full path name ".../jakarta-tomcat-4.0.4/bin/shutdown.sh" (where "..." is the directory in which the Tomcat installation was performed) in order to invoke the proper script. The Segmentation fault certainly should not occur. If it was the JVM that crashed like that, it's a sure indication of a bug in the JVM or in a native (as in JNI) library used by your platform's Java system. Make sure you have the latest stable release of Java installed on your system. Randall Schulz Mountain View, CA USA At 08:23 2002-08-26, khozaima shakir wrote: >Hi Randall, >Sorry, guess the way i typed was misleading, i typed just >"shutdown.sh" at command prompt. >The directory that I was in when I type in startup.sh or shutdown.sh is >user/userName/jakarta-tomcat-4.0.4/bin> >The output i get on shutdown is -- Segmentation fault >Shakir > > >>From: Randall R Schulz >>Reply-To: "Tomcat Users List" >>To: tomcat-user@jakarta.apache.org >>Subject: Re: Tomcat Installation on linux >>Date: Mon, 26 Aug 2002 07:18:58 -0700 >> >>Shakir, >> >>Where did you get that command from? >> >>Here's what you did: You truncated your "shutdown.sh" script. The ":" is >>the no-op command that is used when one wants to use side-effects (such >>as I/O redirection) without running a command. The ">" is similar to that >>of the DOS/CMD.exe/Command.com in Windows, it redirects output to the >>file whose name follows. So you ran the null command (which produces no >>output) and redirected it to the "shutdown.sh" script, thus truncating >>it. Had you used the append output redirection, ">>", all would be OK, >>since adding 0 bytes to the end of "shutdown.sh" would not do any damage >>(it would only alter the last modification time of that file, which you >>could see with "ls -l shutdown.sh"). >> >>So you'll have to retrieve the "shutdown.sh" script from your Tomcat >>distribution. >> >>Then to use it, just invoke it. Since it usually does not run >>indefinitely and does not produce a lot of output or usually any >>particularly interesting output, there's no need to redirect its output. >> >> >>I recommend that people recently switching from Windows to Linux or >>another Unix-like system get some tutorial materials on these basics. >>There are some vague similarities with Windows, but a lot is different >>and groping around in the dark is not really advisable. >> >>Good luck. >> >>Randall Schulz >>Mountain View, CA USA >> >> >>At 04:21 2002-08-26, khozaima shakir wrote: >>>Hi Jhair, >>>yes, I am running tomcat from shell. >>>About shoutdown, I shutdown tomcat by : > shutdown.sh >>>Thanks >>>Shakir -- To unsubscribe, e-mail: For additional commands, e-mail: