I 2nd this opinion - drush isn&#39;t sure which of your multi-sites you are trying to target. You&#39;ll either need to set up drush aliases or &#39;cd&#39; to the specific multi-site you want to affect.<br><br>-Benj<br><a href="http://dtek.net">http://dtek.net</a><br>
<br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 8:15 PM, Todd <span dir="ltr">&lt;<a href="mailto:todd@savagevenus.net">todd@savagevenus.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Have you tried changing directories to /sites/{multisite}/ and then running &quot;crush cc all&quot; instead of being in the root directory?<br>
<font color="#888888"><br>
Todd<br>
</font><div><div></div><div class="h5"><br>
On 14 Sep 2011, at 22:12, Roger wrote:<br>
<br>
&gt; I  cd /var/www/html/directory which is the drupal multi site installation<br>
&gt; I am modifying a Bartik theme<br>
&gt;<br>
&gt; drush dl themes and modules  works well<br>
&gt; but drush en modulename  and drush cc produces error below;<br>
&gt; What needs to be done to fix this please? google is not much help here.<br>
&gt; Thanks<br>
&gt; Roger<br>
&gt;<br>
&gt; Command cache-clear needs a higher bootstrap level to run - you will [error]<br>
&gt; need invoke drush from a more functional Drupal environment to run<br>
&gt; this command.<br>
&gt; The drush command &#39;cc&#39; could not be executed.                        [error]<br>
&gt; Drush was not able to start (bootstrap) the Drupal database.         [error]<br>
&gt; Hint: This error often occurs when Drush is trying to bootstrap a<br>
&gt; site that has not been installed or does not have a configured<br>
&gt; database.<br>
&gt;<br>
&gt; Drush was attempting to connect to :<br>
&gt;   Drupal version    : 7.8<br>
&gt;   Site URI          : <a href="http://default" target="_blank">http://default</a><br>
&gt;   Default theme     : garland<br>
&gt;   Administration theme: garland<br>
&gt;   PHP configuration : /etc/php.ini<br>
&gt;   Drush version     : 4.5<br>
&gt;   Drush configuration:<br>
&gt;   Drush alias files :<br>
&gt;   Drupal root       : /var/www/html/directory<br>
&gt;   Site path         : sites/default<br>
&gt;   Modules path      : sites/all/modules<br>
&gt;   Themes path       : sites/all/themes<br>
&gt;   File directory path: sites/default/files<br>
&gt;   %paths            : Array<br>
&gt;<br>
&gt; You can select another site with a working database setup by<br>
&gt; specifying the URI to use with the --uri parameter on the command<br>
&gt; line or $options[&#39;uri&#39;] in your drushrc.php file.<br>
&gt;<br>
&gt; --<br>
&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>