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
>

Reply via email to