[opencms-dev] AA Starting Tomcat under Linux

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Thu May 18 10:43:01 CEST 2006


On Thu, May 18, 2006 at 10:24:14AM +0200, nickm at absa.co.za wrote:
>  Hi Cristof
> 
> I have minimal Unix exposure so I have just enough knowledge to break
> and re-installed
> Which is just what I did yesterday
> 
> I tried to place code in file tomcat.sh
> And now my Linux wont let me login 
> 
> I put tomcat.sh in this folder:
> /etc/profile.d

Uh, oh.

That's not been a good idea. Things that are gone through at startup
time have nothing to do with root and others login profiles. 
So putting environment variables and startup scripts in the root or general
users profile is rather useless or simply a nono.

> 
> 
> And every time I logon I got error 
> Cant find catalina.sh
> And the Login screen re appeared
> Even from the "safe mode"
> 
> No fixing helped so I formatted the hard disk and re-installed Linux

In cases like this (actually "linux single" at the boot prompt would have
helped) I have a CD to boot linux from (e.g. knoppix.de)
and repair the desastrous changes by hand but since you said your Unix
experience is faint you corrected your mistake the hard way. :-)

You should get yourself assistance from someone with Suse (it is Suse you are
using, isn't it?) experience, and better yet, get the tomcat package for Suse.
There should be some, I think.

> 
> 
> Dear friend please help me again and tell me :
> What file must I create
> Where must I put this file
> And what code must this file have inside

Someone posted a Suse startup script to this thread. And I believe
there was also mentioned, where to put it.

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list