You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/09/20 13:17:12 UTC

DO NOT REPLY [Bug 47877] New: startup.sh and catalina startup script does not run out of box.

https://issues.apache.org/bugzilla/show_bug.cgi?id=47877

           Summary: startup.sh and catalina startup script does not run
                    out of box.
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Native:Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mike.pukuotukas@meska.info


Created an attachment (id=24295)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24295)
 catalina.sh file that works on my system  (will not work on any other because
of the hardwired installation path).

The Linux startup scripts for starting Tomcat does not run out of books under
Fedora 10. startup.sh fails with the following message:

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

catalina.sh that is in the same folder and surely present, fails with the
following message:

The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program

Setting BASEDIR to the Tomcat installation directory does not help.

To get Tomcat running, I needed to use "rude force" approach, rewriting
catalina.sh with introduction of the absolute pathes to Tomcat and Java
installations of my system and fully removing the section about the BASEDIR. 

I think that likely the output of dirname is misinterpreted in the shell
scripts, expecting that it would output absolute path when it does not.

I attach the altered catalina.sh file that works on my system  (will not work
on any other because of the hardwired installation path).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47877] startup.sh and catalina startup script does not run out of box.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47877

Audrius Meskauskas <mi...@meska.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #3 from Audrius Meskauskas <mi...@meska.info> 2009-09-20 08:08:51 PDT ---
Do not hurry so much, it does not. And this is not a support request, I have
fixed for myself. 

http://apache.mirror.testserver.li/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip
, just a couple of hours ago. I attach the catalina.sh file that does not even
run on my platform, Fedora 10 (Cambridge).

I attach the non working Catalina file (original, not modified) that prints the
error message.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47877] startup.sh and catalina startup script does not run out of box.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47877

Audrius Meskauskas <mi...@meska.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |enhancement

--- Comment #6 from Audrius Meskauskas <mi...@meska.info> 2009-09-20 08:44:38 PDT ---
I found, this is permission problem. This is not a bug but a "feature" so nasty
 that can easily cause good deal of installations to fail. I will put is as
RFE.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47877] startup.sh and catalina startup script does not run out of box.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47877

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from Mark Thomas <ma...@apache.org> 2009-09-20 16:02:33 BST ---
Pid - thanks for the confirmation. I suspected as much. I was just in the
middle of installing a Fedora 10 VM to confirm it myself.

Given this works for other folks, this is an issue for the users list.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47877] startup.sh and catalina startup script does not run out of box.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47877

--- Comment #4 from Audrius Meskauskas <mi...@meska.info> 2009-09-20 08:10:55 PDT ---
Created an attachment (id=24296)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24296)
catalina.sh file from original distribution that does not work on my system.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47877] startup.sh and catalina startup script does not run out of box.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47877

Pid <bu...@pidster.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Pid <bu...@pidster.com> 2009-09-20 07:44:42 PDT ---
(In reply to comment #0)

> The Linux startup scripts for starting Tomcat does not run out of books under
> Fedora 10. startup.sh fails with the following message:

Works for me from the .tar.gz and the .zip
Where did you get your download?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47877] startup.sh and catalina startup script does not run out of box.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47877

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #5 from Mark Thomas <ma...@apache.org> 2009-09-20 16:18:05 BST ---
The additional information provided makes this even clearer that this is an
issue for the users list. There is no bug here.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47877] startup.sh and catalina startup script does not run out of box.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47877

Audrius Meskauskas <mi...@meska.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |DUPLICATE

--- Comment #7 from Audrius Meskauskas <mi...@meska.info> 2009-09-20 08:58:58 PDT ---
*** This bug has been marked as a duplicate of bug 47880 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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