You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sh...@cmcltd.com on 2005/04/11 11:30:03 UTC

problem with installing tomcat in linux

hi,
  I have a problem with installing tomcat in linux.
i am getting the following error

 The BASEDIR environment variable is not defined
 This environment variable is needed to run this program
can anybody help me out.
           thanx in advance,
                 shabeena


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: problem with installing tomcat in linux

Posted by Hassan Schroeder <ha...@webtuitive.com>.
Shaik.ShabeenaImam@cmcltd.com wrote:
> yes i did exported those env variables.
> but still i am getting the following error
> 
> Cannot find ./catalina.sh
> This file is needed to run this program

Executables, including shell scripts, are only "found" if they're
in your PATH. Either add the $CATALINA_HOME/bin directory to your
PATH setting or start Tomcat directly using:

prompt> $CATALINA_HOME/bin/catalina.sh start

It would probably be useful to look at that startup script as well,
to understand the role of various environment variables...

HTH!
-- 
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: problem with installing tomcat in linux

Posted by Paul Puschmann <ln...@uzulabs.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shaik.ShabeenaImam@cmcltd.com wrote:
> yes i did exported those env variables.
> but still i am getting the following error
> 
> Cannot find ./catalina.sh
> This file is needed to run this program
> 
>   I have even checked for the file permission mode.
> and also tried these commands
>            #dos2unix startup.sh ...
>  Still i am not getting.
> 
can't you get a packaged version from your linux distribution?

(SuSE, Debian, ...)

Kind regards,

Paul

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)

iEYEARECAAYFAkJaflEACgkQqErKtBWD7VTGgQCffu5VcknvuFOI2GDR6vF6ilge
3GwAoKW4iRneSxmDVzWQshgoWs5jJ14p
=BBAu
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: problem with installing tomcat in linux

Posted by Sh...@cmcltd.com.
yes i did exported those env variables.
but still i am getting the following error

Cannot find ./catalina.sh
This file is needed to run this program

  I have even checked for the file permission mode.
and also tried these commands
           #dos2unix startup.sh ...
 Still i am not getting.
> hi,
>
> if errors occur when you try to start the server you have to set
> variable such as $CATALINA_HOME and $JAVA_HOME. I've do it adding in
> /etc/profile
> CATALINA_HOME=/path/to/bin
> JAVA_HOME=/path/to/jdkXXXXXX
> export CATALINA JAVA_HOME
>
> and it works ....
>
>
> Shaik.ShabeenaImam@cmcltd.com wrote:
>
>>hi,
>>  I have a problem with installing tomcat in linux.
>>i am getting the following error
>>
>> The BASEDIR environment variable is not defined
>> This environment variable is needed to run this program
>>can anybody help me out.
>>           thanx in advance,
>>                 shabeena
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: problem with installing tomcat in linux

Posted by Cédric Buschini <cb...@carax.com>.
hi,

if errors occur when you try to start the server you have to set 
variable such as $CATALINA_HOME and $JAVA_HOME. I've do it adding in 
/etc/profile
CATALINA_HOME=/path/to/bin
JAVA_HOME=/path/to/jdkXXXXXX
export CATALINA JAVA_HOME

and it works ....


Shaik.ShabeenaImam@cmcltd.com wrote:

>hi,
>  I have a problem with installing tomcat in linux.
>i am getting the following error
>
> The BASEDIR environment variable is not defined
> This environment variable is needed to run this program
>can anybody help me out.
>           thanx in advance,
>                 shabeena
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: problem with installing tomcat in linux

Posted by Sir John Nueva <jo...@fbcusa.com>.
Did you set up CATALINA_HOME pointing to the tomcat folder?



-----Original Message-----
From: Shaik.ShabeenaImam@cmcltd.com
[mailto:Shaik.ShabeenaImam@cmcltd.com]
Sent: Monday, April 11, 2005 6:30 PM
To: tomcat-user@jakarta.apache.org
Subject: problem with installing tomcat in linux


hi,
  I have a problem with installing tomcat in linux.
i am getting the following error

 The BASEDIR environment variable is not defined
 This environment variable is needed to run this program
can anybody help me out.
           thanx in advance,
                 shabeena


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org