tag:help-archives.hannonhill.com,2010-02-09:/discussions/installation/8-67-upgrading-issue-the-basedir-environment-variable-is-not-defined-correctlyCascade CMS: Discussion 2011-04-07T22:11:55Ztag:help-archives.hannonhill.com,2010-02-09:Comment/22124652010-07-09T12:52:22Z2010-07-09T12:52:22Z6.7 Upgrading Issue - The BASEDIR environment variable is not defined correctly<div><p>When I try to start cascade server after upgrading I get:</p>
<p>The BASEDIR environment variable is not defined correctly<br>
This environment variable is needed to run this program</p>
<p>Anyone know how to resolve this?</p></div>turnerjdtag:help-archives.hannonhill.com,2010-02-09:Comment/22124652010-07-09T13:24:52Z2010-07-09T13:24:52Z6.7 Upgrading Issue - The BASEDIR environment variable is not defined correctly<div><p>Hi,</p>
<p>The error you're encountering correlates to a misconfigured
environment variable, which in this case is the BASEDIR for Cascade
Server. What OS are you attempting to run Cascade on, and where is
Cascade installed on this machine (directory wise)? Also, could you
paste the exact output after you attempt to execute Cascade, as
well are you cascade.sh or cascade.bat file depending on your
OS?</p>
<p>Thanks!</p></div>Joeltag:help-archives.hannonhill.com,2010-02-09:Comment/22124652010-07-09T13:30:30Z2010-07-09T13:30:30Z6.7 Upgrading Issue - The BASEDIR environment variable is not defined correctly<div><p>Hi Joel,</p>
<p>I think I have it figured out. I'm going to try again Monday
morn. I didn't have execute permission on the tomcat bin directory
files. I'm on RedHat 5. using cascade.sh . Exact output is:<br>
[root@cannon cascade]# ./cascade.sh start The BASEDIR environment
variable is not defined correctly<br>
This environment variable is needed to run this program</p></div>turnerjdtag:help-archives.hannonhill.com,2010-02-09:Comment/22124652010-07-09T23:12:08Z2010-11-08T22:43:20Z6.7 Upgrading Issue - The BASEDIR environment variable is not defined correctly<div><p>Hi, by coincidence, I have the exact same problem today, trying to restart Cascade on Tomcat 6, on Red Hat.</p>
<p>Java was using 99% of memory, so I had to kill the process. When I tried to restart it with ./cascade.sh I saw the same error:</p>
<p>The BASEDIR environment variable is not defined correctly<br />
This environment variable is needed to run this program</p>
<p>By the way, tomcat/bin/shutdown.sh and startup.sh were installed non-executable for me too.</p></div>jephperro2tag:help-archives.hannonhill.com,2010-02-09:Comment/22124652010-07-09T23:26:34Z2010-11-08T22:43:20Z6.7 Upgrading Issue - The BASEDIR environment variable is not defined correctly<div><p>Here is exactly what executing looks like for me.</p>
<p>[root@cms_beta cascade-6.4.x]# cd /opt/cascade-6.4.x
[root@cms_beta cascade-6.4.x]# ./cascade.sh
The BASEDIR environment variable is not defined correctly<br />
This environment variable is needed to run this program<br />
</p></div>jephperro2tag:help-archives.hannonhill.com,2010-02-09:Comment/22124652010-07-10T05:18:12Z2010-11-08T22:43:20Z6.7 Upgrading Issue - The BASEDIR environment variable is not defined correctly<div><p>Problem Solved for me. You shouldn't use cascade.sh to start the application.</p>
<p>You should start tomcat in the normal way using startup.sh</p></div>jephperro2tag:help-archives.hannonhill.com,2010-02-09:Comment/22124652010-07-12T20:06:36Z2010-07-12T20:06:39Z6.7 Upgrading Issue - The BASEDIR environment variable is not defined correctly<div><p>So, is this resolved? We're getting ready to move to 6.7 under
Linux. Is the "solution: just to use startup.sh rather than
cascade.sh to start up cascade?</p></div>rrhilltag:help-archives.hannonhill.com,2010-02-09:Comment/22124652010-07-13T12:53:24Z2010-07-13T12:53:41Z6.7 Upgrading Issue - The BASEDIR environment variable is not defined correctly<div><p>The startup.sh script is the default start script for Tomcat
instances, and not Cascade Server. I'm guessing that you either
have script files (.sh) within your root Cascade or /tomcat/bin
directories that do not have execute permissions associated with
them.</p>
<p>Please try the following command from your root Cascade
directory, and let me know if it resolves your issue.</p>
<pre>
<code>#bash> chmod -R +x *.sh</code>
</pre>
<p>Thanks!</p></div>Joel