You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lester June Cabrera <le...@vinciworks.com> on 2001/08/30 08:54:46 UTC

Permission Denied Error in Linux

Hi,

I tried to install Tomcat 3.2 in Linux. But when I run
	shell> bin/startup.sh
I got a "Permission Denied" error.

These are the steps I did:
1) installed JDK 1.2.2 for Linux as "root".
2) included JDK path in .bash_profile
3) set JAVA_HOME env variable in .bash_profile
4) installed Tomcat 3.2 as "root"
5) included Tomcat path in .bash_profile
6) set a TOMCAT_HOME in .bash_profile

See th settings of .bash_profile below:

PATH=$PATH:$HOME/bin:/usr/local/jdk1.2.2/bin:/usr/local/jakarta-tomcat-3.2.3/bin
ENV=$HOME/.bashrc
TOMCAT_HOME=/usr/local/jakarta-tomcat-3.2.3
JAVA_HOME=/usr/local/jdk1.2.2
USERNAME="root"

export USERNAME ENV PATH TOMCAT_HOME



Thanks,
Lester


Re: Permission Denied Error in Linux

Posted by Tim O'Neil <ti...@xythos.com>.
$ chmod +x startup.sh



At 08:45 AM 8/30/2001, you wrote:
>You need to set execute permission on your startup.sh and shutdown.sh.  They
>are not set as executable by default.
>
>--David Smith
>
>On Thursday 30 August 2001 02:54 am, you wrote:
> > Hi,
> >
> > I tried to install Tomcat 3.2 in Linux. But when I run
> >       shell> bin/startup.sh
> > I got a "Permission Denied" error.
> >
> > These are the steps I did:
> > 1) installed JDK 1.2.2 for Linux as "root".
> > 2) included JDK path in .bash_profile
> > 3) set JAVA_HOME env variable in .bash_profile
> > 4) installed Tomcat 3.2 as "root"
> > 5) included Tomcat path in .bash_profile
> > 6) set a TOMCAT_HOME in .bash_profile
> >
> > See th settings of .bash_profile below:
> >
> > PATH=$PATH:$HOME/bin:/usr/local/jdk1.2.2/bin:/usr/local/jakarta-tomcat-3.2.
> >3/bin ENV=$HOME/.bashrc
> > TOMCAT_HOME=/usr/local/jakarta-tomcat-3.2.3
> > JAVA_HOME=/usr/local/jdk1.2.2
> > USERNAME="root"
> >
> > export USERNAME ENV PATH TOMCAT_HOME
> >
> >
> >
> > Thanks,
> > Lester


Re: Permission Denied Error in Linux

Posted by David Smith <dn...@cornell.edu>.
You need to set execute permission on your startup.sh and shutdown.sh.  They 
are not set as executable by default.

--David Smith

On Thursday 30 August 2001 02:54 am, you wrote:
> Hi,
>
> I tried to install Tomcat 3.2 in Linux. But when I run
> 	shell> bin/startup.sh
> I got a "Permission Denied" error.
>
> These are the steps I did:
> 1) installed JDK 1.2.2 for Linux as "root".
> 2) included JDK path in .bash_profile
> 3) set JAVA_HOME env variable in .bash_profile
> 4) installed Tomcat 3.2 as "root"
> 5) included Tomcat path in .bash_profile
> 6) set a TOMCAT_HOME in .bash_profile
>
> See th settings of .bash_profile below:
>
> PATH=$PATH:$HOME/bin:/usr/local/jdk1.2.2/bin:/usr/local/jakarta-tomcat-3.2.
>3/bin ENV=$HOME/.bashrc
> TOMCAT_HOME=/usr/local/jakarta-tomcat-3.2.3
> JAVA_HOME=/usr/local/jdk1.2.2
> USERNAME="root"
>
> export USERNAME ENV PATH TOMCAT_HOME
>
>
>
> Thanks,
> Lester