这是我得到的错误。
数据库为空,没有graph.db目录。
所有服务器属性文件与2.2.5版本使用的文件相同。
以下是console.log的内容:
15:56:31.972 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
2015-10-26 15:56:33.932+0000 INFO Successfully shutdown Neo4j Server
2015-10-26 15:56:33.934+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.d
atabase.LifecycleManagingDatabase@36a005fb' was successfully initialized, but failed to start. Please see atta
ched cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@36
a005fb' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.Lifecycle
ManagingDatabase@36a005fb' was successfully initialized, but failed to start. Please see attached cause except
ion.
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.ja
va:67)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:234)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:100)
at org.neo4j.server.CommunityBootstrapper.start(CommunityBootstrapper.java:48)
at org.neo4j.server.CommunityBootstrapper.main(CommunityBootstrapper.java:35)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagi
ngDatabase@36a005fb' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:538)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:109)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:194)
... 3 more
Suppressed: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFa
ctory, /var/lib/neo4j/data/graph.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFacto
ry.java:143)
at org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:
43)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFacto
ry.java:108)
at org.neo4j.server.CommunityNeoServer$1.newGraphDatabase(CommunityNeoServer.java:66)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:95
)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:528)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.recovery.Recover
y@2591d7e3' failed to initialize. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:510)
这里有什么问题?
答案 0 :(得分:0)
看起来它更简单了。我不得不更改参数org.neo4j.server.database.location = / home / ubuntu / data / neo4j-data / graph.db,因为安装程序提供的默认位置是错误的。