[TYPO3-Solr] Failed to establish Solr connection

Jigal van Hemert jigal.van.hemert at typo3.org
Mon Dec 16 21:16:34 CET 2013


Hi,

On 16-12-2013 15:23, Cristian Patrichi wrote:
> I just installed a SOLR on Tomcat6 following this tutorial:
> jbcrawford.net / archives / 384 / comment-page-1#comment-11716

I prefer to install solr and tomcat together with the scripts in 
EXT:solr/resources/shell/ but you can install it anyway you want, if you 
make sure the necessary configuration for use with TYPO3 is made. As 
this is all done with these scripts, you are sure that everything is as 
it should be.

> Solr is working on coca.cola:8080/solr/
> I also created a "core0" from this admin panel.
>
> In URL if I wrote coca . cola : 8080 /solr/core0/  I get HTTP Status 404
> - /solr/core0/ , but if I make a : coca.cola:8080 / solr /
> core0/select?q=*%3A*&wt=json&indent=true  it works.

/solr/core0/ should give a 404, that is normal.

> I also installed the solr extension from repository on Typo3 6.1 but in
> reports module I get this error:
>
> Apache SolrYour site was unable to contact the Apache Solr server.
> Site: Welcome to TYPO3 (pid: 1, language: default) -
> coca.cola:8080/solr/core0/
> Scheme: http
> Host: // coca.cola
> Port: 8080
> Path: /solr/core0/

In the clear cache menu (the lightning bolt in the top bar) there is an 
item "Intialize Solr connections". This should be used first.
After that the Reports module should tell you that the connection was made.

> begin 644 core0.png
> MB5!.1PT*&@H````-24A$4@``!W\```/`"`8````U\K.M`````7-21T(`KLX<
> MZ0````1G04U!``"QCPO\804````)<$A9<P``#L,```[#`<=OJ&0``/^E241!
[...]
> M`PPB(B)R'0,,(B(B<AT##"(B(G(=`PPB(B)R&?#_`>V]*S8,3M1X`````$E%
> &3D2N0F""
> `
> end
>

If you include images in your forum posts they will end up like above in 
the newsgroups. It's also a huge post that will be sent to everybody who 
subscribes to mailing lists.
The best way is to store your image somewhere on a website that provides 
such a service and include a link in your post.
(You couldn't know this and the forum still offers the possibility to 
include images)

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-solr mailing list