Hello,
I am trying to setup textproc/apache-solr on my server. The package instructions suggest to do the following:
With the above changes I do get a server running on port 8983. However, the webpage gives an error:
I suspect this because the solr process is running as user 'solr' rather than 'www'. How can I change the owner:group of the solr service to www:www?
Thanks
I am trying to setup textproc/apache-solr on my server. The package instructions suggest to do the following:
Code:
To have a working initial config, use:
cp -R /usr/local/solr/example/example-DIH/solr/solr /var/db/solr/
chown -R www /var/db/solr/solr
With the above changes I do get a server running on port 8983. However, the webpage gives an error:
Code:
solr: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: java.nio.file.AccessDeniedException: /var/db/solr/solr/data
I suspect this because the solr process is running as user 'solr' rather than 'www'. How can I change the owner:group of the solr service to www:www?
Thanks