Just for the record, in case anymore is having trouble, the masterUrl should
be: http://url:port/solr/replication (don't forget the /replication/ part!)

On Tue, Mar 29, 2011 at 9:44 AM, Ezequiel Calderara <ezech...@gmail.com>wrote:

> I think that i found the problem:
> The contents of the solrcore.properties were:
>
>> #solrcore.properties
>> data.dir=D:\Solr\data\solr\
>>
>> enable.master=false
>> enable.slave=true
>> masterUrl=http://url:8787/solr/
>> pollInterval=00:00:60
>>
> I found a folder in the D:\ called: SolrDatasolrenable.master=false
> So i researched a little and tested another little more and i found that i
> have to escape the data.dir like this:
>
>> #solrcore.properties
>> data.dir=D:\\Solr\\data\\solr\\
>>
>> enable.master=false
>> enable.slave=true
>> masterUrl=http://url:8787/solr/
>> pollInterval=00:00:60
>>
> And Problem solved, for now at least :P
>
> On Tue, Mar 29, 2011 at 8:37 AM, Ezequiel Calderara <ezech...@gmail.com>wrote:
>
>> Hi Jayendra, this is the content of the files:
>> In the Master:
>>  + SolrConfig.xml : http://pastebin.com/JhvwMTdd
>> In the Slave:
>>  + solrconfig.xml: http://pastebin.com/XPuwAkmW
>>  + solrcore.properties: http://pastebin.com/6HZhQG8z
>>
>> I don't know which other files do you need or could be involved in this.
>>
>> I checked the home environment key in the tomcat instance and its ok too.
>>
>> Any light on this would be appreciated!
>>
>>
>> On Mon, Mar 28, 2011 at 6:26 PM, Jayendra Patil <
>> jayendra.patil....@gmail.com> wrote:
>>
>>> Can you please attach the other files.
>>> It doesn't seem to find the enable.master property, so you may want to
>>> check the properties file exists on the box having issues
>>>
>>> We have the following configuration in the core :-
>>>
>>>        Core -
>>>                - solrconfig.xml - Master & Slave
>>>                        <requestHandler name="/replication"
>>> class="solr.ReplicationHandler" >
>>>                                <lst name="master">
>>>                                         <str
>>> name="enable">${enable.master:false}</str>
>>>                                         <str
>>> name="replicateAfter">commit</str>
>>>                                         <str
>>> name="confFiles">solrcore_slave.properties:solrcore.properties,solrconfig.xml,schema.xml</str>
>>>                                </lst>
>>>                                <lst name="slave">
>>>                                         <str
>>> name="enable">${enable.slave:false}</str>
>>>                                         <str
>>> name="masterUrl">http://master_host:port/solr/corename/replication</str>
>>>                                </lst>
>>>                        </requestHandler>
>>>
>>>                - solrcore.properties - Master
>>>                        enable.master=true
>>>                        enable.slave=false
>>>
>>>                - solrcore_slave.properties - Slave
>>>                        enable.master=false
>>>                        enable.slave=true
>>>
>>> We have the default values and separate properties file for Master and
>>> slave.
>>> Replication is enabled for the solrcore.proerties file.
>>>
>>> Regards,
>>> Jayendra
>>>
>>> On Mon, Mar 28, 2011 at 2:06 PM, Ezequiel Calderara <ezech...@gmail.com>
>>> wrote:
>>> > Hi all, i'm having problems when deploying solr in the production
>>> machines.
>>> >
>>> > I have a master solr, and 3 slaves.
>>> > The master replicates the schema and the solrconfig for the slaves
>>> (this
>>> > file in the master is named like solrconfig_slave.xml).
>>> > The solrconfig of the slaves has for example the ${data.dir} and other
>>> > values in the solrtcore.properties
>>> >
>>> > I think that solr isn't recognizing that file, because i get this
>>> error:
>>> >>
>>> >> HTTP Status 500 - Severe errors in solr configuration. Check your log
>>> >> files for more detailed information on what may be wrong. If you want
>>> solr
>>> >> to continue after configuration errors, change:
>>> >> <abortOnConfigurationError>false</abortOnConfigurationError> in null
>>> >> -------------------------------------------------------------
>>> >> org.apache.solr.common.SolrException: No system property or default
>>> value
>>> >> specified for enable.master at
>>> >>
>>> org.apache.solr.common.util.DOMUtil.substituteProperty(DOMUtil.java:311)
>>> >> ... MORE STACK TRACE INFO...
>>> >
>>> > But here is the thing:
>>> > org.apache.solr.common.SolrException: No system property or default
>>> value
>>> > specified for enable.master
>>> >
>>> > I'm attaching the master schema, the master solr config, the solr
>>> config of
>>> > the slaves and the solrcore.properties.
>>> >
>>> > If anyone has any info on this i would be more than appreciated!...
>>> >
>>> > Thanks
>>> >
>>> >
>>> > --
>>> > ______
>>> > Ezequiel.
>>> >
>>> > Http://www.ironicnet.com
>>> >
>>>
>>
>>
>>
>> --
>> ______
>> Ezequiel.
>>
>> Http://www.ironicnet.com
>>
>
>
>
> --
> ______
> Ezequiel.
>
> Http://www.ironicnet.com
>



-- 
______
Ezequiel.

Http://www.ironicnet.com

Reply via email to