lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Leir <rl...@leirtech.com>
Subject Re: Problem starting solr 6.5
Date Tue, 04 Apr 2017 12:04:50 GMT
Looks like a file permissions problem to me.

On April 3, 2017 10:42:15 PM EDT, wlee <wlee65@hotmail.com> wrote:
>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.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message