lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wlee <wle...@hotmail.com>
Subject Problem starting solr 6.5
Date Tue, 04 Apr 2017 02:42:15 GMT
Try to start solr and get this error message.  What is the problem ?


$ bin/solr start

Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/solr-6/solr-6.5.0/server/logs

at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)

at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)

at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)

at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)

at java.nio.file.Files.createDirectory(Files.java:674)

at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)

at java.nio.file.Files.createDirectories(Files.java:767)

at org.apache.solr.util.SolrCLI$UtilsTool.archiveGcLogs(SolrCLI.java:3565)

at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:3548)

at org.apache.solr.util.SolrCLI.main(SolrCLI.java:250)

Failed archiving old GC logs

Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/solr-6/solr-6.5.0/server/logs

at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)

at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)

at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)

at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)

at java.nio.file.Files.createDirectory(Files.java:674)

at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)

at java.nio.file.Files.createDirectories(Files.java:767)

at org.apache.solr.util.SolrCLI$UtilsTool.archiveConsoleLogs(SolrCLI.java:3594)

at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:3551)

at org.apache.solr.util.SolrCLI.main(SolrCLI.java:250)

Failed archiving old console logs


ERROR: Logs directory /usr/local/solr-6/solr-6.5.0/server/logs could not be created. Exiting





--
View this message in context: http://lucene.472066.n3.nabble.com/Problem-starting-solr-6-5-tp4328227.html
Sent from the Solr - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message