1
votes

I'm using Apache SOLR and attempting to update the xml file using the tutorial by Lucene: http://lucene.apache.org/solr/4_5_1/tutorial.html

Within the directory with the XML file, I should be able to input this command into the command line:

java -jar post.jar data.xml

And it updates the SOLR index results.

We are receiving the following error though: FATAL: Solr returned an error #500 Cannot create directory: /var/app/current/apache-solr-3.6.2/example/solr/./data/index java.io.IOException: Cannot create directory /var/app/current/apache-solr-3.6.2/example/solr/./data/index

1
Have you started the Solr server with enough privileges to create the data/index directory? - Kevin
I attempted to add permissions to directories, how do we set privileges for the data/index directory? - rocket_boomerang_19
Investigate chmod and chown. - Kevin

1 Answers

2
votes

If it's not a basic permissions error, is something else trying to access the directory? A running instance of SOLR somewhere maybe?