Looks like the zk you're pointing to doesn't contain the path 'data/solr/aman/solr_cloud' that you've specified as the chroot prefix. Can you confirm that your zk contains this path? If it doesn't, can you create this path and then try?
On Mon, Mar 9, 2015 at 8:19 AM, Aman Tandon <amantandon...@gmail.com> wrote: > Hi, > > I tried to start solr with chroot feature, i am using solr 5.0.0 on Centos > 6 and i am getting this error in the logs. Please help. > > *./solr start -c -z localhost:2181,192.168.5.11:2181 > <http://192.168.5.11:2181>,192.168.3.13:2181/home/aman/solrcloud/solr_zoo > <http://192.168.3.13:2181/home/aman/solrcloud/solr_zoo> -p 4567* > > *ERROR - 2015-03-09 12:38:03.394; > org.apache.solr.servlet.SolrDispatchFilter;* > * Could not start Solr. Check solr/home property and the logs* > *ERROR - 2015-03-09 12:38:03.416; org.apache.solr.common.SolrException; > null:* > *org.apache.solr.common.cloud.ZooKeeperException: A chroot was specified in > Z* > *kHost but the znode doesn't exist. 192.168.6.217:2181 > <http://192.168.6.217:2181/>,192.168.5.81:2181 > <http://192.168.5.81:2181/>,192.* > *168.5.236:2181/data/solr/aman/solr_cloud/zoo_solr* > * at > org.apache.solr.core.ZkContainer.initZooKeeper(ZkContainer.java:1* > *31)* > > With Regards > Aman Tandon > -- Anshum Gupta