lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasufumi Mizoguchi <yasufumi0...@gmail.com>
Subject Re: Problem starting solr 6.5
Date Tue, 04 Apr 2017 06:27:52 GMT
Hi,

I think you should check the permission of 
/usr/local/solr-6/solr-6.5.0/server/log
(maybe, you do not have write permission on the directory)

regards,

Yasufumi

On 2017/04/04 11:42, wlee 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.


Mime
View raw message