If you are seeing search-related errors, this document can help you troubleshoot the problems and ensure that search is running effectively for your community.
The first place to look when you receive errors from Solr is in the logs files which are located (for a standard installation) in the Tomcat installation Logs directory (e.g., C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs or 8.0\logs). There are two files of you should review for errors:
...where YYYYMMDD is today's date. Typically you will refer to the Catalina log for Solr errors, whereas the stdout typically logs critical errors.
Solr runs very well out of the box, but as a community grows, you may need to increase the memory allocated to it. The default memory allocated to Solr is 64MB, which for medium-large sized communities is not enough. If you see an error similar to
...you need to give the Java virtual machine (JVM) more memory.
To increase the memory for the JVM:
You can also refer to the OutOfMemoryErrors section located in the SolrPerformance section of the Solr wiki.
You can see how much memory Solr is using within the Java VM by viewing the system info at http://[yourSolrInstance]:8080/solr/admin/system/. Look for the element with a memory attribute:
This section contains some general pointers about troubleshooting various steps in this installation.
If Tomcat does not start:
Open its Logs directory in the Tomcat installation directory.
Look for a file named jakarta_service_YYYYMMDD.log, where YYYY, MM, DD are today's date year, month and day, respectively. Open the file and look for the following error messages:
Missing msvcr71.dll file - Having this file missing is common installation issue for Tomcat. Tomcat does has a dependency on this file, but the Tomcat installer does not include it. To resolve this issue, do the following:
Powered by Telligent Community