Possible solution for "Severe errors in solr configuration"

Author Message

Peter Keung

Thursday 16 December 2010 6:18:13 pm

We had a trouble call from a new client whose eZ Find install suddenly stopped working. Error was:

"<body><h2>HTTP ERROR: 500</h2><pre>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:
&lt;abortOnConfigurationError&gt;false&lt;/abortOnConfigurationError&gt;"
in solr.xml"
... and so on.
From the command line, Solr seemed to start fine. Polling Solr directly didn't work.
Seemed like a rather common error with a useful error message, but no one had changed any configuration files from the default. Re-indexing with the --clean flag did not help.
Somehow the index had gotten corrupted -- for what reason, we don't know. Maybe it was a half-pushed data change that resulted in a fatal error on edit. Either way, the fix was to manually clear extension/ezfind/java/solr/data/index and then re-index. (Thankfully this was a small, one-site index.) eZ Find works again!

So if you're on a small site with a similar error, the "just clear the index manually" (after backing it up) method might be the right time-sensitive solution.

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Robin Muilwijk

Friday 17 December 2010 6:28:03 am

Thanks for sharing this experience and solution Peter!

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:20:32
Script start
Timing: Jan 18 2025 10:20:32
Module start 'layout'
Timing: Jan 18 2025 10:20:32
Module start 'content'
Timing: Jan 18 2025 10:20:32
Module end 'content'
Timing: Jan 18 2025 10:20:32
Script end

Main resources:

Total runtime0.4311 sec
Peak memory usage4,096.0000 KB
Database Queries56

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.2031152.6563
Module start 'layout' 0.00570.0036 740.859439.5313
Module start 'content' 0.00930.4205 780.3906542.5391
Module end 'content' 0.42970.0013 1,322.929712.0859
Script end 0.4311  1,335.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.7764160.0002
Check MTime0.00140.3155160.0001
Mysql Total
Database connection0.00110.251710.0011
Mysqli_queries0.385389.3811560.0069
Looping result0.00050.1206540.0000
Template Total0.400292.820.2001
Template load0.00230.533320.0011
Template processing0.397992.289720.1989
Template load and register function0.00010.020210.0001
states
state_id_array0.00080.194010.0008
state_identifier_array0.00070.166820.0004
Override
Cache load0.00190.4450190.0001
Sytem overhead
Fetch class attribute can translate value0.00040.093720.0002
Fetch class attribute name0.00110.252940.0003
XML
Image XML parsing0.00100.234520.0005
class_abstraction
Instantiating content class attribute0.00000.001840.0000
General
dbfile0.00170.4044250.0001
String conversion0.00000.002440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs