07-07-2020 07:24 AM
I am installing Alfresco community version 6.0.7 on Ubuntu 18.04 LTS with alfresco-search-services.
While installing alfresco-search-services in ubuntu 18.04 LTS when i am running the command:-
./solr start -a "-Dcreate.alfresco.defaults=alfresco,archive"
I am getting the error described below:-
Exception in thread "main" java.nio.file.AccessDeniedException: /home/dms/acs/alfresco-search-services/solr/server/../../logs/archived
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:3889)
at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:3872)
at org.apache.solr.util.SolrCLI.main(SolrCLI.java:257)
Failed archiving old GC logs
Exception in thread "main" java.nio.file.AccessDeniedException: /home/dms/acs/alfresco-search-services/solr/server/../../logs/archived
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:3918)
at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:3875)
at org.apache.solr.util.SolrCLI.main(SolrCLI.java:257)
Failed archiving old console logs
ERROR: Logs directory ../../logs is not writable. Exiting
What is the error.
07-10-2020 04:24 AM
I solved the issue instead running the command :
07-10-2020 12:07 PM
Hi @akash251998,
On your Ubunto box you should be able to connect to the database from the cmd prompt like so:
psql DBNAME USERNAME
This should show whether postgres is running correctly.
HTH,
Explore our Alfresco products with the links below. Use labels to filter content by product module.