title: How do I fix this installation problem with multicore Solr on Ubuntu 10.04?
body: <p><strong>EDIT</strong></p>
  
  <p>I've written up a quick howto on getting multicore going: <a href="http://charlesleifer.com/blog/solr-ubuntu-revisited/" rel="nofollow noreferrer">http://charlesleifer.com/blog/solr-ubuntu-revisited/</a></p>
  
  <p>Following instructions from the two sites below, I've installed <a href="http://en.wikipedia.org/wiki/Apache_Tomcat" rel="nofollow noreferrer">Tomcat</a> 6 and <a href="http://en.wikipedia.org/wiki/Apache_Solr" rel="nofollow noreferrer">Solr</a> 1.4.</p>
  
  <ul>
  <li><a href="http://gist.github.com/204638" rel="nofollow noreferrer">http://gist.github.com/204638</a></li>
  <li><a href="https://wiki.fourkitchens.com/display/TECH/Solr+1.4+on+Ubuntu+9.10+and+CentOS+5" rel="nofollow noreferrer">https://wiki.fourkitchens.com/display/TECH/Solr+1.4+on+Ubuntu+9.10+and+CentOS+5</a></li>
  </ul>
  
  <p>I have successfully got it up and running on a server running 9.04 with multicore support, but on the 10.04 I can't seem to get it to work.</p>
  
  <p>I am able to reach localhost:xxxx/solr/ on the 10.04 box and see a single link to the Solr Admin, but following the link takes me to a 404 page with the following output:</p>
  
  <pre><code>/solr/admin/
  HTTP Status 404 - missing core name in path
  The requested resource (missing core name in path) is not available
  </code></pre>
  
  <p>I am also unable to access /solr/site1/ as I would except - it similarly returns a 404.</p>
  
  <pre><code>  &lt;!-- from /var/solr/solr.xml, site dirs exist --&gt;
    &lt;cores adminPath="/admin/cores"&gt;
      &lt;core name="site1" instanceDir="site1" /&gt;
      &lt;core name="site2" instanceDir="site2" /&gt;
    &lt;/cores&gt;
  
    &lt;!-- from /etc/tomcat6/Catalina/localhost/solr.xml --&gt;
    &lt;Context docBase="/var/solr/solr.war" debug="0" privileged="true" allowLinking="true" crossContext="true"&gt;  
        &lt;Environment name="solr/home" type="java.lang.String" value="/var/solr" override="true" /&gt;
    &lt;/Context&gt;
  </code></pre>