Forums / Extensions / eZ Find / Possible solution for "Severe errors in solr configuration"

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

eZ debug

Timing: Jan 18 2025 03:09:25
Script start
Timing: Jan 18 2025 03:09:25
Module start 'content'
Timing: Jan 18 2025 03:09:25
Module end 'content'
Timing: Jan 18 2025 03:09:25
Script end

Main resources:

Total runtime0.0160 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.0156180.7500
Module start 'content' 0.00530.0052 768.765695.0703
Module end 'content' 0.01050.0054 863.835970.6875
Script end 0.0159  934.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002213.7351120.0002
Check MTime0.00116.9691120.0001
Mysql Total
Database connection0.00095.928710.0009
Mysqli_queries0.002113.160540.0005
Looping result0.00000.086620.0000
Template Total0.005031.110.0050
Template load0.00095.472010.0009
Template processing0.004125.631410.0041
Override
Cache load0.00063.667410.0006
General
dbfile0.00053.2823100.0001
String conversion0.00000.123930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs