Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/67.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Neo4j不';我不能再开始了_Neo4j - Fatal编程技术网

Neo4j不';我不能再开始了

Neo4j不';我不能再开始了,neo4j,Neo4j,我的Neo4j数据库不再响应,所以我不得不终止进程,之后它就不再启动了。有人能帮我修一下吗?以下是错误日志: 016-05-16 07:41:05.422+0200 INFO Successfully shutdown Neo4j Server 2016-05-16 07:41:05.423+0200 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.Lifecycl

我的Neo4j数据库不再响应,所以我不得不终止进程,之后它就不再启动了。有人能帮我修一下吗?以下是错误日志:

016-05-16 07:41:05.422+0200 INFO  Successfully shutdown Neo4j Server
2016-05-16 07:41:05.423+0200 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3ae47c3d' was successfully initialized, but failed to start. Please see attached cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3ae47c3d' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3ae47c3d' was successfully initialized, but failed to start. Please see attached cause exception.
        at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:67)
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:235)
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:97)
        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.LifecycleManagingDatabase@3ae47c3d' was successfully initialized, but failed to start. Please see attached cause exception.
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:462)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:195)
        ... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFactory, /tmp/sarah/neo4j-community-2.3.3/data/graph.db
        at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:143)
        at org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:43)
        at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.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:452)
        ... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.StoreLockerLifecycleAdapter@2e964f90' was successfully initialized, but failed to start. Please see attached cause exception.
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:462)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
        at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:139)
        ... 10 more
Caused by: org.neo4j.kernel.StoreLockException: Store and its lock file has been locked by another process: data/graph.db/store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)
        at org.neo4j.kernel.StoreLocker.storeLockException(StoreLocker.java:93)
        at org.neo4j.kernel.StoreLocker.checkLock(StoreLocker.java:79)
        at org.neo4j.kernel.StoreLockerLifecycleAdapter.start(StoreLockerLifecycleAdapter.java:44)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
        ... 12 more
2016-05-16 07:47:13.337+0200 INFO  Successfully shutdown Neo4j Server
2016-05-16 07:47:13.338+0200 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3ae47c3d' was successfully initialized, but failed to start. Please see attached cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3ae47c3d' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3ae47c3d' was successfully initialized, but failed to start. Please see attached cause exception.
        at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:67)
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:235

看起来您仍然有一些neo4j进程在后台运行。看看你是否能找到它,然后杀死它。

今天早上我遇到了同样的错误消息。这是对我有用的东西。我创建了一个新的数据库文件夹,将启动屏幕指向新的位置-启动成功。然后我关闭了这个新实例,并重新指向一个现有的(失败的)db位置,然后按照正常方式启动。我希望它能有所帮助。

我删除了现有的图表并创建了一个新的。这一次,我确保选择了与最新插件(APOC等)库版本相匹配的正确版本的Graph(在我的例子中是3.5.0),并且我的数据库成功启动

Caused by: org.neo4j.kernel.StoreLockException: Store and its lock file has been locked by another process: data/graph.db/store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)