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.pukuotu...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org