You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Stephen Lacy <st...@researchandmarkets.net> on 2011/08/29 13:56:35 UTC

New to SOLR, installation issue

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Just started working with SOLR here.

I'm currently trying to replicate the live environment so I have a
better understanding of the system.

My first thought was that it would be so much easier if I stuck with
the binaries that are already in the ubuntu-server (not my choice)
package repos rather than compiling from source and having to manually
update each time.

However because the live environment uses a different version it's
harder to find out how it's configured.

The live is also multicore which works fine on the dev except if there
is any issue with any configuration is simply displays the index.jsp
page on http://MYDEVSOLR:8080/solr as if it's running single core.

It's running under tomcat6 but the errors don't appear to be in the
tomcat6 logs

The current thing that is causing an issue is clustering. I pulled
down the 1.4.1 source code and followed the instructions on
http://wiki.apache.org/solr/ClusteringComponent to install the
clusteringcomponent although the jars I copied were in
contrib/clustering/lib and contrib/clustering/lib/downloads to
/usr/share/solr/WEB-INF/lib
If I leave it there it throws an error when I go to
http://MYDEVSOLR:8080/solr saying that clustering component isn't
installed.
If I then add -Dsolr.clustering.enabled=true to $CATALINA_OPTS by
typing CATALINA_OPTS=" -Dsolr.clustering.enabled=true" at the bottom
of /etc/default/tomcat6 then it goes back to displaying as if there is
only one core.

Would appreciate any help or direction anyone can offer.
Thanks in advance

Stephen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOW35yAAoJEDZ6quc9XS1uQGMH/iowkSFiJ+BMc8R+2pI8C4kr
snpFH/VzXb0dEo9pPnOcLWm+iBvBSYquWjE6+KwSr+xVLGI3SsrBBZd8pcr2TLiN
i+d6arkfMcyqyyOHko223riqKCWan37WIk4b4zE6S/ByGSbznebPwyRkES6dyBgV
JTA5+YQSfoi9JYk9PPbMUcUBRhMpfIdQEgwm3PWFzhcL0uYkLj7PvWwTAZX7a4pu
oIpg/uzLPPa4Jyp1veSQXaCbPG4+EfPrcePzSJjDR1iT0BRz4s8dPOogs0uILD9Z
Xi+gJ1toGgJieDAmfxpOuMdzfFBHU8svpUcn+Z3VBkdiqAOWQFybKqlbc00Hu3E=
=51Ur
-----END PGP SIGNATURE-----