cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo4j server doesnt start

C:\Program Files\Java\neo4j-community-4.0.3\bin>neo4j console
2020-04-01 10:53:55.120+0000 INFO ======== Neo4j 4.0.3 ========
2020-04-01 10:53:55.120+0000 INFO Starting...
2020-04-01 10:53:55.402+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@10aa41f2' was successfully initialized, but failed to start. Please see the attached cause exception "C:\Program Files\Java\neo4j-community-4.0.3\logs\debug.log (Access is denied)". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@10aa41f2' was successfully initialized, but failed to start. Please see the attached cause exception "C:\Program Files\Java\neo4j-community-4.0.3\logs\debug.log (Access is denied)".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@10aa41f2' was successfully initialized, but failed to start. Please see the attached cause exception "C:\Program Files\Java\neo4j-community-4.0.3\logs\debug.log (Access is denied)".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:45)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:164)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:114)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:89)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@10aa41f2' was successfully initialized, but failed to start. Please see the attached cause exception "C:\Program Files\Java\neo4j-community-4.0.3\logs\debug.log (Access is denied)".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:465)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:157)
... 3 more
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Program Files\Java\neo4j-community-4.0.3\logs\debug.log (Access is denied)
at org.neo4j.graphdb.factory.module.GlobalModule.createLogService(GlobalModule.java:349)
at org.neo4j.graphdb.factory.module.GlobalModule.(GlobalModule.java:161)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.createGlobalModule(DatabaseManagementServiceFactory.java:212)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:117)
at org.neo4j.server.database.CommunityGraphFactory.newDatabaseManagementService(CommunityGraphFactory.java:36)
at org.neo4j.server.database.LifecycleManagingDatabaseService.start(LifecycleManagingDatabaseService.java:88)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
... 5 more
Caused by: java.io.FileNotFoundException: C:\Program Files\Java\neo4j-community-4.0.3\logs\debug.log (Access is denied)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:292)
at java.base/java.io.FileOutputStream.(FileOutputStream.java:235)
at org.neo4j.io.fs.DefaultFileSystemAbstraction.openAsOutputStream(DefaultFileSystemAbstraction.java:78)
at org.neo4j.io.fs.FileSystemUtils.createOrOpenAsOutputStream(FileSystemUtils.java:54)
at org.neo4j.logging.RotatingFileOutputStreamSupplier.openOutputFile(RotatingFileOutputStreamSupplier.java:338)
at org.neo4j.logging.RotatingFileOutputStreamSupplier.(RotatingFileOutputStreamSupplier.java:137)
at org.neo4j.logging.RotatingFileOutputStreamSupplier.(RotatingFileOutputStreamSupplier.java:121)
at org.neo4j.logging.internal.StoreLogService.(StoreLogService.java:189)
at org.neo4j.logging.internal.StoreLogService$Builder.build(StoreLogService.java:131)
at org.neo4j.graphdb.factory.module.GlobalModule.createLogService(GlobalModule.java:345)
... 11 more
2020-04-01 10:53:55.417+0000 INFO Neo4j Server shutdown initiated by request

1 REPLY 1

given the stack trace references

Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@10aa41f2' was successfully initialized, but failed to start. Please see the attached cause exception "C:\Program Files\Java\neo4j-community-4.0.3\logs\debug.log (Access is denied)".

i would think you might want to make sure if the path and file C:\Program Files\Java\neo4j-community-4.0.3\logs\debug.log exists and is writeable