gpt4 book ai didi

database - Neo4j 重启后无法启动。无法启动 TM,事件 tx 日志文件

转载 作者:搜寻专家 更新时间:2023-10-30 22:11:00 25 4
gpt4 key购买 nike

我正在运行 neo4j v 2.1.6,在维护后,服务器重新启动但 neo4j 没有。

我正在查看 messages.log,发现有一个文件未找到。

2015-03-18 23:52:37.331+0000 INFO  [o.n.k.i.n.s.StoreFactory]: /var/lib/neo4j/data/graph.db/neostore.nodestore.db hit=0 miss=0 switches=0 ooe=0
2015-03-18 23:52:37.336+0000 INFO [o.n.k.i.n.s.StoreFactory]: /var/lib/neo4j/data/graph.db/neostore.schemastore.db hit=0 miss=0 switches=0 ooe=0
2015-03-18 23:52:37.340+0000 INFO [o.n.k.i.n.s.StoreFactory]: /var/lib/neo4j/data/graph.db/neostore.relationshipgroupstore.db hit=0 miss=0 switches=0 ooe=0
2015-03-18 23:52:37.345+0000 INFO [o.n.k.i.n.s.StoreFactory]: /var/lib/neo4j/data/graph.db/neostore hit=0 miss=9 switches=0 ooe=0
2015-03-18 23:52:37.349+0000 INFO [o.n.k.i.n.x.NeoStoreXaDataSource]: NeoStore closed
2015-03-18 23:52:37.349+0000 INFO [o.n.k.i.DiagnosticsManager]: --- STOPPING diagnostics START ---
2015-03-18 23:52:37.349+0000 INFO [o.n.k.i.DiagnosticsManager]: --- STOPPING diagnostics END ---
2015-03-18 23:52:37.349+0000 ERROR [o.n.k.EmbeddedGraphDatabase]: Startup failed: Component 'org.neo4j.kernel.impl.transaction.TxManager@1321ed47' was successfully initialized, but failed to start. Please see attached cause exception.: Unable to start TM, active tx log file[/var/lib/neo4j/data/graph.db/graph.db/index/0000755000015301777760000000000012436452331013171 5] not found.
2015-03-18 23:52:37.349+0000 INFO [o.n.k.EmbeddedGraphDatabase]: Shutdown started
2015-03-18 23:52:37.350+0000 ERROR [o.n.s.d.LifecycleManagingDatabase]: Failed to start database.
java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /var/lib/neo4j/data/graph.db
at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:366) ~[neo4j-kernel-2.1.7.jar:2.1.7]
at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:59) ~[neo4j-kernel-2.1.7.jar:2.1.7]
at org.neo4j.server.database.LifecycleManagingDatabase$1.newGraphDatabase(LifecycleManagingDatabase.java:45) ~[neo4j-server-2.1.7.jar:2.1.7]
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:119) ~[neo4j-server-2.1.7.jar:2.1.7]
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:186) [neo4j-server-2.1.7.jar:2.1.7]
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:109) [neo4j-server-2.1.7.jar:2.1.7]
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:63) [neo4j-server-2.1.7.jar:2.1.7]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.transaction.TxManager@1321ed47' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:513) ~[neo4j-kernel-2.1.7.jar:2.1.7]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115) ~[neo4j-kernel-2.1.7.jar:2.1.7]
at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:343) ~[neo4j-kernel-2.1.7.jar:2.1.7]
... 6 common frames omitted
Caused by: org.neo4j.graphdb.TransactionFailureException: Unable to start TM, active tx log file[/var/lib/neo4j/data/graph.db/graph.db/index/0000755000015301777760000000000012436452331013171 5] not found.

如何恢复数据库?

最佳答案

好的,查看messages.log文件后,[Michael]发现active_tx_log文件有问题,肯定只有11B;所以,我只是替换了 active_tx_log 文件,它现在工作正常。

关于database - Neo4j 重启后无法启动。无法启动 TM,事件 tx 日志文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29134934/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com