On 5/31/2018 7:04 AM, msaunier wrote:
> wget 
> http://apache.mirrors.ovh.net/ftp.apache.org/dist/lucene/solr/6.6.1/solr-6.6.1.tgz
> tar -xzf solr-*.tgz
> /opt/solr-*/bin/install_solr_service.sh /opt/solr-*.tgz
> /etc/init.d/solr stop
> rm -f solr-*.tgz

So you did use the service installer.

> 2.
> cat <<EOF >/etc/default/solr.in.sh
> ZK_HOST=srv-formation-solr.citya.local:2181,srv-formation-solr2.citya.local:2181
> SOLR_PID_DIR=/var/solr
> SOLR_HOME=/var/solr/data
> LOG4J_PROPS=/var/solr/log4j.properties
> SOLR_LOGS_DIR=/var/solr/logs
> SOLR_PORT=8983
> SOLR_HOST=$(ifconfig | grep 'inet 192\.168\.' | sed -e 's/^[^0-9]*\(192[^ 
> ]*\).*/\1/')
> SOLR_JAVA_MEM="-Xms4096m -Xmx4096m -Denable.runtime.lib=true"
> EOF

Unless you have also edited the bin/solr script and/or log4j.properties,
all your logs should be in /var/solr/logs.  If you have edited those
files, then that might have changed the location, and we won't have any
idea where you'll need to look.

FYI -- having two zookeeper servers is actually LESS stable than only
having one.  You need at least three.  Here are links to a couple of
notes in the zookeeper documentation that discuss this requirement:

http://zookeeper.apache.org/doc/r3.4.12/zookeeperStarted.html#sc_RunningReplicatedZooKeeper
http://zookeeper.apache.org/doc/r3.4.12/zookeeperAdmin.html#sc_zkMulitServerSetup

Thanks,
Shawn

Reply via email to