Hello! Got a problem with the creation of a core using a fresh installation.
# ll insgesamt 16 drwxr-x--- 2 solr users 4096 22. Mai 13:54 data -rw-r----- 1 solr users 977 22. Mai 13:37 log4j.properties drwxr-x--- 2 solr users 4096 22. Mai 13:54 logs -rw-r--r-- 1 solr users 6 22. Mai 13:54 solr-8983.pid # ps aux |grep solr solr 10121 2.0 9.6 2510148 198112 ? Sl 13:54 0:12 /usr/lib64/jvm/jre/bin/java -server -Xms512m -Xmx512m -XX:NewRatio=3 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 -XX:+CMSScavengeBeforeRemark -XX:PretenureSizeThreshold=64m -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=50 -XX:CMSMaxAbortablePrecleanTime=6000 -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -Xloggc:/var/solr/logs/solr_gc.log -Djetty.port=8983 -DSTOP.PORT=7983 -DSTOP.KEY=solrrocks -Duser.timezone=UTC -Djetty.home=/opt/solr/server -Dsolr.solr.home=/var/solr/data -Dsolr.install.dir=/opt/solr -Dlog4j.configuration=file:/var/solr/log4j.properties -Xss256k -XX:OnOutOfMemoryError=/opt/solr/bin/oom_solr.sh 8983 /var/solr/logs -jar start.jar --module=http # bin/solr create -c xxx Copying configuration to new core instance directory: /var/solr/data/xxx Creating new core 'xxx' using command: http://localhost:8983/solr/admin/cores?action=CREATE&name=xxx&instanceDir=xxx ERROR: Error CREATEing SolrCore 'xxx': Unable to create core [xxx] Caused by: /var/solr/data/xxx/data and again # bin/solr create -c xxx ERROR: Core 'xxx' already exists! Checked core existence using Core API command: http://localhost:8983/solr/admin/cores?action=STATUS&core=xxx but the folder xxx is not created. I see this in the logs: So 22 Mai 2016 13:54:26 CEST ERROR null SolrCore :java.nio.file.AccessDeniedException: /var/solr/data/xxx/data So 22 Mai 2016 13:54:26 CEST WARN null SolrCore [xxx] Solr index directory '/var/solr/data/xxx/data/index' doesn't exist. Creating new index... So 22 Mai 2016 13:54:26 CEST ERROR null CoreContainer Error creating core [xxx]: /var/solr/data/xxx/data So 22 Mai 2016 13:54:26 CEST ERROR null RequestHandlerBase org.apache.solr.common.SolrException: Error CREATEing SolrCore 'xxx': Unable to create core [xxx] Caused by: /var/solr/data/xxx/data Whats wrong? Kind regards Andreas