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.


Reply via email to