java怎么拦截某个对象
452
2022-08-25
Store and its lock file has been locked by another process: /var/lib/neo4j/data/databases/graph.db
今天在用neo4j的时候出现了错误,我的命令为:
neo4j console
然后出现了一大波的错误:
ar/lib/neo4j/data/databases/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.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:45) at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:187) at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:124) at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:91) at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32)Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3daf7722' was successfully initialized, but failed to start. Please see the attached cause exception "Store and its lock file has been locked by another process: /var/lib/neo4j/data/databases/store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)".
解决方法
ps aux | grep "org.neo4j.server"
sudo kill -9 neo4j_process_id
参考文献
[1]. Store and its lock file has been locked by another process: /var/lib/neo4j/data/databases/graph.db/store_lock. https://stackoverflow.com/questions/44757181/store-and-its-lock-file-has-been-locked-by-another-process-var-lib-neo4j-data
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~