On 9/30/2015 4:34 AM, Porky Pig wrote:
> Hello.
> 
> I managed to compile Solr 3.5.1 from source with the ant compiler.
> 
> I am able to start solr but not much else.
> It appears that it can't find its java libraries. Also the solr-webapp
> subpath doesn't contain anything while other similar path does. I'm
> attaching two log files which I believe are related to the server
> startup and my attempt to connect to it.
> 
> The server can be started as
> 
> solr start
> 
> and then at connection attempt it replies with 'Service unavailable'
> trying the test configuration:
> 
> solr start -e cloud
> 
> results in a missing library error.

Since there was never a 3.5.1 version, and 3.x did not include a start
script, I assume you must mean 5.3.1.

The "ant" packaged with RHEL/CentOS is broken and cannot successfully
compile Solr.  You must download and install ant from ant.apache.org.
The official release is made with ant 1.8.x, but the latest 1.9 version
should work too.

What command did you use to compile solr?  The command you need is "ant
server" while sitting in the solr directory.

Thanks,
Shawn

Reply via email to