error running neo4j on the parrot os 5.0.1

– Please Write here your help request –
I have installed neo4j with apt and have also updated and upgraded the OS. But I get an error. I am trying to run neo4j with the “neo4j console” command.


  • ParrotOS iso in use:
    5.0.1 Electro Ara

  • Application used for flashing the iso:

  • Logs/Terminal output (use pastebin or similar services):
    WARNING! You are using an unsupported Java runtime.

  • Please use Oracle(R) Java™ 11, OpenJDK™ 11 to run Neo4j.
  • Please see Neo4j documentation - Neo4j Documentation for Neo4j installation instructions.
    Directories in use:
    home: /usr/share/neo4j
    config: /usr/share/neo4j/conf
    logs: /usr/share/neo4j/logs
    plugins: /usr/share/neo4j/plugins
    import: /usr/share/neo4j/import
    data: /usr/share/neo4j/data
    certificates: /usr/share/neo4j/certificates
    run: /usr/share/neo4j/run
    Starting Neo4j.
    WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
    OpenJDK 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release.
    2022-05-08 15:14:25.097+0000 INFO Starting…
    ERROR StatusLogger RollingFileManager (/usr/share/neo4j/logs/debug.log) java.io.FileNotFoundException: /usr/share/neo4j/logs/debug.log (Permission denied)
    java.io.FileNotFoundException: /usr/share/neo4j/logs/debug.log (Permission denied)
    at java.base/java.io.FileOutputStream.open0(Native Method)
    at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
    at java.base/java.io.FileOutputStream.(FileOutputStream.java:235)
    at java.base/java.io.FileOutputStream.(FileOutputStream.java:155)
    at org.neo4j.logging.shaded.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:671)
    at org.neo4j.logging.shaded.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:641)
    at org.neo4j.logging.shaded.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:113)
    at org.neo4j.logging.shaded.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100)
    at org.neo4j.logging.shaded.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:205)
    at org.neo4j.logging.shaded.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146)
    at org.neo4j.logging.log4j.LogConfig.createRollingFileAppender(LogConfig.java:178)
    at org.neo4j.logging.log4j.LogConfig.getAppender(LogConfig.java:147)
    at org.neo4j.logging.log4j.LogConfig.configureLogging(LogConfig.java:100)
    at org.neo4j.logging.log4j.LogConfig$Builder.build(LogConfig.java:285)
    at org.neo4j.graphdb.factory.module.GlobalModule.createLogService(GlobalModule.java:337)
    at org.neo4j.graphdb.factory.module.GlobalModule.(GlobalModule.java:174)
    at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.createGlobalModule(DatabaseManagementServiceFactory.java:252)
    at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:126)
    at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36)
    at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:134)
    at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:90)
    at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35)
    WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
    2022-05-08 15:14:26.382+0000 ERROR Failed to start Neo4j on dbms.connector.http.listen_address, a socket address. If missing port or hostname it is acquired from dbms.default_listen_address.
    java.lang.IllegalStateException: ManagerFactory [org.neo4j.logging.shaded.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@22295ec4] unable to create manager for [/usr/share/neo4j/logs/debug.log] with data [org.neo4j.logging.shaded.log4j.core.appender.rolling.RollingFileManager$FactoryData@5adb0db3[pattern=/usr/share/neo4j/logs/debug.log.%i, append=true, bufferedIO=true, bufferSize=8192, policy=SizeBasedTriggeringPolicy(size=20971520), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=false), advertiseURI=null, layout=org.neo4j.logging.log4j.Neo4jLogLayout@3f270e0a, filePermissions=null, fileOwner=null]]
    at org.neo4j.logging.shaded.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:115) ~[neo4j-logging-4.2.1.jar:4.2.1]
    at org.neo4j.logging.shaded.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100) ~[neo4j-logging-4.2.1.jar:4.2.1]
    at org.neo4j.logging.shaded.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:205) ~[neo4j-logging-4.2.1.jar:4.2.1]
    at org.neo4j.logging.shaded.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146) ~[neo4j-logging-4.2.1.jar:4.2.1]
    at org.neo4j.logging.log4j.LogConfig.createRollingFileAppender(LogConfig.java:178) ~[neo4j-logging-4.2.1.jar:4.2.1]
    at org.neo4j.logging.log4j.LogConfig.getAppender(LogConfig.java:147) ~[neo4j-logging-4.2.1.jar:4.2.1]
    at org.neo4j.logging.log4j.LogConfig.configureLogging(LogConfig.java:100) ~[neo4j-logging-4.2.1.jar:4.2.1]
    at org.neo4j.logging.log4j.LogConfig$Builder.build(LogConfig.java:285) ~[neo4j-logging-4.2.1.jar:4.2.1]
    at org.neo4j.graphdb.factory.module.GlobalModule.createLogService(GlobalModule.java:337) ~[neo4j-4.2.1.jar:4.2.1]
    at org.neo4j.graphdb.factory.module.GlobalModule.(GlobalModule.java:174) ~[neo4j-4.2.1.jar:4.2.1]
    at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.createGlobalModule(DatabaseManagementServiceFactory.java:252) ~[neo4j-4.2.1.jar:4.2.1]
    at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:126) ~[neo4j-4.2.1.jar:4.2.1]
    at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36) ~[neo4j-4.2.1.jar:4.2.1]
    at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:134) [neo4j-4.2.1.jar:4.2.1]
    at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:90) [neo4j-4.2.1.jar:4.2.1]
    at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35) [neo4j-4.2.1.jar:4.2.1]
    2022-05-08 15:14:26.435+0000 INFO Neo4j Server shutdown initiated by request
    2022-05-08 15:14:26.436+0000 INFO Stopped.
  • Screenshots:

Hi @Stac_Flo

Maybe try: