You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Lembo <pa...@harvard.edu> on 2003/04/24 20:46:29 UTC
SSL is a wrecking ball - fixed!
Thanks to everyone who offered suggestions and ideas.
My problem was all in the .keyfile placement and ownership. I had to move
it and chown it so that "nobody" could see it properly.
-Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: getting problem during configuration
Posted by Ravikant Pandey <Ra...@morganstanley.com>.
hi Chris
drwxrwxr-x 2 pandeyra cc7527 2048 Apr 24 15:23
I got this output after ls-ld.
pandeyra is my id only.
thanks
ravi
Chris Cheshire wrote:
> Ravi,
>
> I assume you are running a unix OS by the path names. Run "ls -ld
> /logs". Who is the owner and group? What are the permissions on it for
> user, group and other users?
>
> What user and group are you running catalina.sh under?
>
> Chris
>
> Ravikant Pandey wrote:
>
> >hi
> >
> >logs directory is there.It may be the reason that the ownership permissions do not allow
> >the owner of the catalina process to write to that directory.So what should I do?any
> >suggestion?
> >
> >thanks
> >ravi
> >
> >Chris Cheshire wrote:
> >
> >
> >
> >>Ravi,
> >>
> >>It appears that either the directory does not exist, or if it does the
> >>ownership permissions do not allow the owner of the catalina process to
> >>write to that directory.
> >>
> >>Chris
> >>
> >>Ravikant Pandey wrote:
> >>
> >>
> >>
> >>>Hi all
> >>>
> >>> I am configuring catalina.sh .I am getting this problem.
> >>>
> >>>Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
> >>>Using CLASSPATH:
> >>>/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
> >>>
> >>>Using CATALINA_BASE:
> >>>Using CATALINA_HOME:
> >>>Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
> >>>
> >>>touch: /logs/catalina.out cannot create
> >>>./catalina.sh: /logs/catalina.out: cannot create
> >>>
> >>>can any one help me out.
> >>>
> >>>thanks
> >>>ravi
> >>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>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
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> 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: getting problem during configuration
Posted by Ravikant Pandey <Ra...@morganstanley.com>.
Ok Chris
Thanks a lot...i'll give it a try..
ravi
Chris Cheshire wrote:
> Ravi,
>
> I am not sure why that is not touching the file properly, but one other
> thing to note, you do not have the CATALINA_HOME environment variable
> set and it is guessing it as a relative directory as noted in your
> output. Try setting the CATALINA_HOME env var first to an absolute
> directory, then run startup.sh and see what happens.
> (The logs are normally written to a "logs" subdirectory under the
> CATALINA_HOME directory)
>
> HTH
>
> Chris
>
> Ravikant Pandey wrote:
>
> >Hi chris
> >
> > I changed the permission to rwxrwxrwx also.but still it is giving the same error.
> >
> >startup.sh
> >Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
> >Using CLASSPATH:
> >/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
> >Using CATALINA_BASE:
> >Using CATALINA_HOME:
> >Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
> >touch: /logs/catalina.out cannot create
> >./catalina.sh: /logs/catalina.out: cannot create
> >
> >
> >thanks
> >ravi
> >
> >
> >
> >Chris Cheshire wrote:
> >
> >
> >
> >>Ravi,
> >>
> >>I assume you are running a unix OS by the path names. Run "ls -ld
> >>/logs". Who is the owner and group? What are the permissions on it for
> >>user, group and other users?
> >>
> >>What user and group are you running catalina.sh under?
> >>
> >>Chris
> >>
> >>Ravikant Pandey wrote:
> >>
> >>
> >>
> >>>hi
> >>>
> >>>logs directory is there.It may be the reason that the ownership permissions do not allow
> >>>the owner of the catalina process to write to that directory.So what should I do?any
> >>>suggestion?
> >>>
> >>>thanks
> >>>ravi
> >>>
> >>>Chris Cheshire wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>Ravi,
> >>>>
> >>>>It appears that either the directory does not exist, or if it does the
> >>>>ownership permissions do not allow the owner of the catalina process to
> >>>>write to that directory.
> >>>>
> >>>>Chris
> >>>>
> >>>>Ravikant Pandey wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Hi all
> >>>>>
> >>>>>I am configuring catalina.sh .I am getting this problem.
> >>>>>
> >>>>>Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
> >>>>>Using CLASSPATH:
> >>>>>/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
> >>>>>
> >>>>>Using CATALINA_BASE:
> >>>>>Using CATALINA_HOME:
> >>>>>Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
> >>>>>
> >>>>>touch: /logs/catalina.out cannot create
> >>>>>./catalina.sh: /logs/catalina.out: cannot create
> >>>>>
> >>>>>can any one help me out.
> >>>>>
> >>>>>thanks
> >>>>>ravi
> >>>>>
> >>>>>
> >>>>>
> >>>>>---------------------------------------------------------------------
> >>>>>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
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>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: getting problem during configuration
Posted by Chris Cheshire <cc...@bigredwire.com>.
Ravi,
I am not sure why that is not touching the file properly, but one other
thing to note, you do not have the CATALINA_HOME environment variable
set and it is guessing it as a relative directory as noted in your
output. Try setting the CATALINA_HOME env var first to an absolute
directory, then run startup.sh and see what happens.
(The logs are normally written to a "logs" subdirectory under the
CATALINA_HOME directory)
HTH
Chris
Ravikant Pandey wrote:
>Hi chris
>
> I changed the permission to rwxrwxrwx also.but still it is giving the same error.
>
>startup.sh
>Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
>Using CLASSPATH:
>/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
>Using CATALINA_BASE:
>Using CATALINA_HOME:
>Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
>touch: /logs/catalina.out cannot create
>./catalina.sh: /logs/catalina.out: cannot create
>
>
>thanks
>ravi
>
>
>
>Chris Cheshire wrote:
>
>
>
>>Ravi,
>>
>>I assume you are running a unix OS by the path names. Run "ls -ld
>>/logs". Who is the owner and group? What are the permissions on it for
>>user, group and other users?
>>
>>What user and group are you running catalina.sh under?
>>
>>Chris
>>
>>Ravikant Pandey wrote:
>>
>>
>>
>>>hi
>>>
>>>logs directory is there.It may be the reason that the ownership permissions do not allow
>>>the owner of the catalina process to write to that directory.So what should I do?any
>>>suggestion?
>>>
>>>thanks
>>>ravi
>>>
>>>Chris Cheshire wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Ravi,
>>>>
>>>>It appears that either the directory does not exist, or if it does the
>>>>ownership permissions do not allow the owner of the catalina process to
>>>>write to that directory.
>>>>
>>>>Chris
>>>>
>>>>Ravikant Pandey wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hi all
>>>>>
>>>>>I am configuring catalina.sh .I am getting this problem.
>>>>>
>>>>>Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
>>>>>Using CLASSPATH:
>>>>>/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
>>>>>
>>>>>Using CATALINA_BASE:
>>>>>Using CATALINA_HOME:
>>>>>Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
>>>>>
>>>>>touch: /logs/catalina.out cannot create
>>>>>./catalina.sh: /logs/catalina.out: cannot create
>>>>>
>>>>>can any one help me out.
>>>>>
>>>>>thanks
>>>>>ravi
>>>>>
>>>>>
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>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
>>>
>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>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: getting problem during configuration
Posted by Ravikant Pandey <Ra...@morganstanley.com>.
Hi chris
I changed the permission to rwxrwxrwx also.but still it is giving the same error.
startup.sh
Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
Using CLASSPATH:
/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
Using CATALINA_BASE:
Using CATALINA_HOME:
Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
touch: /logs/catalina.out cannot create
./catalina.sh: /logs/catalina.out: cannot create
thanks
ravi
Chris Cheshire wrote:
> Ravi,
>
> I assume you are running a unix OS by the path names. Run "ls -ld
> /logs". Who is the owner and group? What are the permissions on it for
> user, group and other users?
>
> What user and group are you running catalina.sh under?
>
> Chris
>
> Ravikant Pandey wrote:
>
> >hi
> >
> >logs directory is there.It may be the reason that the ownership permissions do not allow
> >the owner of the catalina process to write to that directory.So what should I do?any
> >suggestion?
> >
> >thanks
> >ravi
> >
> >Chris Cheshire wrote:
> >
> >
> >
> >>Ravi,
> >>
> >>It appears that either the directory does not exist, or if it does the
> >>ownership permissions do not allow the owner of the catalina process to
> >>write to that directory.
> >>
> >>Chris
> >>
> >>Ravikant Pandey wrote:
> >>
> >>
> >>
> >>>Hi all
> >>>
> >>> I am configuring catalina.sh .I am getting this problem.
> >>>
> >>>Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
> >>>Using CLASSPATH:
> >>>/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
> >>>
> >>>Using CATALINA_BASE:
> >>>Using CATALINA_HOME:
> >>>Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
> >>>
> >>>touch: /logs/catalina.out cannot create
> >>>./catalina.sh: /logs/catalina.out: cannot create
> >>>
> >>>can any one help me out.
> >>>
> >>>thanks
> >>>ravi
> >>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>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
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: getting problem during configuration
Posted by Chris Cheshire <cc...@bigredwire.com>.
Ravi,
I assume you are running a unix OS by the path names. Run "ls -ld
/logs". Who is the owner and group? What are the permissions on it for
user, group and other users?
What user and group are you running catalina.sh under?
Chris
Ravikant Pandey wrote:
>hi
>
>logs directory is there.It may be the reason that the ownership permissions do not allow
>the owner of the catalina process to write to that directory.So what should I do?any
>suggestion?
>
>thanks
>ravi
>
>Chris Cheshire wrote:
>
>
>
>>Ravi,
>>
>>It appears that either the directory does not exist, or if it does the
>>ownership permissions do not allow the owner of the catalina process to
>>write to that directory.
>>
>>Chris
>>
>>Ravikant Pandey wrote:
>>
>>
>>
>>>Hi all
>>>
>>> I am configuring catalina.sh .I am getting this problem.
>>>
>>>Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
>>>Using CLASSPATH:
>>>/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
>>>
>>>Using CATALINA_BASE:
>>>Using CATALINA_HOME:
>>>Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
>>>
>>>touch: /logs/catalina.out cannot create
>>>./catalina.sh: /logs/catalina.out: cannot create
>>>
>>>can any one help me out.
>>>
>>>thanks
>>>ravi
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>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
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: getting problem during configuration
Posted by Ravikant Pandey <Ra...@morganstanley.com>.
hi
logs directory is there.It may be the reason that the ownership permissions do not allow
the owner of the catalina process to write to that directory.So what should I do?any
suggestion?
thanks
ravi
Chris Cheshire wrote:
> Ravi,
>
> It appears that either the directory does not exist, or if it does the
> ownership permissions do not allow the owner of the catalina process to
> write to that directory.
>
> Chris
>
> Ravikant Pandey wrote:
>
> >Hi all
> >
> > I am configuring catalina.sh .I am getting this problem.
> >
> >Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
> >Using CLASSPATH:
> >/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
> >
> >Using CATALINA_BASE:
> >Using CATALINA_HOME:
> >Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
> >
> >touch: /logs/catalina.out cannot create
> >./catalina.sh: /logs/catalina.out: cannot create
> >
> >can any one help me out.
> >
> >thanks
> >ravi
> >
> >
> >
> >---------------------------------------------------------------------
> >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: getting problem during configuration
Posted by Chris Cheshire <cc...@bigredwire.com>.
Ravi,
It appears that either the directory does not exist, or if it does the
ownership permissions do not allow the owner of the catalina process to
write to that directory.
Chris
Ravikant Pandey wrote:
>Hi all
>
> I am configuring catalina.sh .I am getting this problem.
>
>Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
>Using CLASSPATH:
>/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
>
>Using CATALINA_BASE:
>Using CATALINA_HOME:
>Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
>
>touch: /logs/catalina.out cannot create
>./catalina.sh: /logs/catalina.out: cannot create
>
>can any one help me out.
>
>thanks
>ravi
>
>
>
>---------------------------------------------------------------------
>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
getting problem during configuration
Posted by Ravikant Pandey <Ra...@morganstanley.com>.
Hi all
I am configuring catalina.sh .I am getting this problem.
Guessing CATALINA_HOME from catalina.sh to ../../common/tomcat4/bin/..
Using CLASSPATH:
/bin/bootstrap.jar:/ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7/lib/tools.jar
Using CATALINA_BASE:
Using CATALINA_HOME:
Using JAVA_HOME: /ms/dist/msjava/PROJ/jdk/1.3.1/.exec/sun4.sunos.5.7
touch: /logs/catalina.out cannot create
./catalina.sh: /logs/catalina.out: cannot create
can any one help me out.
thanks
ravi
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org