From owner-freebsd-ports@freebsd.org Sun Sep 11 08:14:33 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A037BBD532E for ; Sun, 11 Sep 2016 08:14:33 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50A3F7A5 for ; Sun, 11 Sep 2016 08:14:33 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-185-17-205-243.dynamic.mnet-online.de [185.17.205.243]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 9E2DC60EA25; Sun, 11 Sep 2016 10:14:21 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 9E2DC60EA25 Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1473581661; bh=a10n0L3lf5ldMOj3GZHqv2Z+5V7MpLLRWJzPp3ZI8zg=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=tpl3QQMXRQi0R5iK8tvyV4ksqe7m5IB07ouNSABpK+2PiqJieVrJpgylU8j0LiQRj JyThSatqktLo/X1RISceOZrwkoMbOOcpfbueB5N87cSXwCw75pw8yoi0/s26bxSdoc VN3d1t+yREgfk/0Ro6h3JM0VODVNC2bqeg5HSsGE= Received: from [192.168.0.151] (aftr-185-17-205-243.dynamic.mnet-online.de [185.17.205.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id B2A91597F16; Sun, 11 Sep 2016 10:14:20 +0200 (CEST) Subject: Re: apache-solr PR: 201455 (I think 212104 blocks usage of apache-solr) To: Kurt Jaeger 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> Cc: freebsd-ports@freebsd.org From: Matthias Fechner Message-ID: <8d90b1f0-2e15-2ffd-bc6c-645e355c7b28@fechner.net> Date: Sun, 11 Sep 2016 10:14:08 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20160911074115.GD93158@home.opsec.eu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 08:14:33 -0000 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