For what it's worth - after not using it for some time, I just started up my solr system (6.6.0) and made a mistake in the command line. I mistakenly used 'bin/solr start -c -m 1gb' and got precisely the same error message as Bernard did (other than the '.." part).
When I changed it to the correct command ('bin/solr start -c -m 1g') everything worked just fine. Not sure how this fits with Bernard's question, but it's interesting that I got the same error message (so maybe that could in some way be related?) Terry On 5/30/19 3:19 PM, Joe Doupnik wrote: > One day I will learn to type. In the meanwhile the command, as > root, is chown -R solr:users solr. That means creating that username > if it is not present. > Thanks, > Joe D. > > On 30/05/2019 20:12, Joe Doupnik wrote: >> On 30/05/2019 20:04, Bernard T. Higonnet wrote: >>> Hello, >>> >>> I have installed solr from ports under FreeBSD 12.0 and I am trying >>> to run solr as described in the Solr Quick Start tutorial. >>> >>> I keep getting permission errors: >>> >>> /usr/local/solr/example/cloud/node2/solr/../logs could not be >>> created. Exiting >>> >>> Apart from the fact that I find it bizarre that it doesn't put its >>> logs in some 'standard' writable place, the ".." perturbs me. Does >>> it mean there's stuff there which I don't know what it is (but it >>> doesn't want to tell me?). He knows how to write long messages so >>> what's the problem? >>> >>> I have tried making various places writable, but clearly I don't >>> know what the ".." means... >>> >>> Any help appreciated. >>> >>> TIA >>> Bernard Higonnet >> ----------- >> In my own work, now and then I encounter exactly that problem. I >> then recall that the Solr material expects to be owned by user solr, >> and group users on Linux. Thus a chmod -R solr:users solr command >> would take care of the problem. >> Thanks, >> Joe D. >> > >