Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 10:14:08 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: apache-solr PR: 201455 (I think 212104 blocks usage of apache-solr)
Message-ID:  <8d90b1f0-2e15-2ffd-bc6c-645e355c7b28@fechner.net>
In-Reply-To: <20160911074115.GD93158@home.opsec.eu>
References:  <403d02ce-a9be-acc6-2d3e-ca24fb267399@fechner.net> <6af81830-d841-b1fa-e5b2-53ea06403153@fechner.net> <20160901132915.GJ96200@home.opsec.eu> <91a30d2b-ff04-c2a9-280b-ebb51320424b@fechner.net> <404a0b7b-41ea-5843-bb7a-f8c8f85dcb6a@fechner.net> <20160901181128.GK96200@home.opsec.eu> <9a0d27c1-2f43-5a3e-8054-87495b73b12e@fechner.net> <900b9828-7a54-8f85-e4c3-0000d2565b2a@fechner.net> <20160911074115.GD93158@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 11.09.2016 um 09:41 schrieb Kurt Jaeger:
> I've tested the startup.
> Directly after the make install, if one tries to start solr,
> three -dist files need to be copied to allow solr to start:
>
>   /var/db/solr/solr.xml-dist
>   /usr/local/etc/solr.in.sh-dist
>   /var/log/solr/log4j.properties-dist
>
> Can you try to provide those files with the @sample mechanism
> described in
>
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book=
=2Ehtml#plist-config
>
> to avoid these manual steps ?

sure, I already add it to my local version and uploaded the patch to the =
PR.

> As far as I understand, if the -dist files are copied to the
> relevant places, the startup still fails, probably because
> the default values are not valid ?
>
> So what parameters are needed for a simple startup ?
>
you have to create an instance and provide a configuration therefor as
noted in the installation instruction:
For more information how to configure solr check the manual:

http://lucene.apache.org/solr/resources.html#documentation


Maybe you can copy an example to the database folder to test the startup
script:
cp -R /usr/local/solr/example/example-DIH/solr/solr /var/db/solr/
chown -R www /var/db/solr/solr

After this maybe the start will work (I cannot test it, as I have my
package already deployed to all my servers and do not want to disturb
the usage).


Gru=DF
Matthias

--=20

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d90b1f0-2e15-2ffd-bc6c-645e355c7b28>