How to fix this installation problem using multicore Solr on Ubuntu 10.04?

EDIT

I wrote a quick way to get multi-core: http://charlesleifer.com/blog/solr-ubuntu-revisited/

Following the instructions of the two sites below, I installed Tomcat 6 and Solr 1.4.

I successfully launched it and launched it on a server with 9.04 with multi-core support, but in 10.04 I cannot get it to work.

I can contact localhost: xxxx / solr / in field 10.04 and see the only link to Solr Admin, but after the link I will go to page 404 with the following output:

/solr/admin/
HTTP Status 404 - missing core name in path
The requested resource (missing core name in path) is not available

/solr/site 1/, - 404.

  <!-- from /var/solr/solr.xml, site dirs exist -->
  <cores adminPath="/admin/cores">
    <core name="site1" instanceDir="site1" />
    <core name="site2" instanceDir="site2" />
  </cores>

  <!-- from /etc/tomcat6/Catalina/localhost/solr.xml -->
  <Context docBase="/var/solr/solr.war" debug="0" privileged="true" allowLinking="true" crossContext="true">  
      <Environment name="solr/home" type="java.lang.String" value="/var/solr" override="true" />
  </Context>
+3
2

, Google:

, solr.home( , ). /var/log/tomcat6/ .

+4

, http://localhost:xxxx/solr/ , URL- 1 - http://localhost:xxx/solr/site1/admin/ ( , , 404).

site1 : http://localhost:xxxx/solr/site1/select/?q=solr&version=2.2&start=0&rows=10&indent=on

http://localhost:xxx/solr/site1/ a 404, .

0

Source: https://habr.com/ru/post/1745515/


All Articles