栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

【无标题】neo4j启动失败:Failed to start Neo4j: Starting Neo4j failed: Component ‘org.neo4j.server.database

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

【无标题】neo4j启动失败:Failed to start Neo4j: Starting Neo4j failed: Component ‘org.neo4j.server.database

  1. 系统磁盘满,导致Neo4j启动异常时:

  1. Neo4j启动异常

 

2022-06-16 03:39:20.639+0000 INFO  ======== Neo4j 3.4.9 ========
2022-06-16 03:39:20.689+0000 INFO  Starting...
2022-06-16 03:39:23.493+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@10993713' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs contains entries with prefix 1, and the lowest supported prefix is 5. This indicates that the log files originates from an older version of neo4j, which we don't support migrations from.. At position LogPosition{logVersion=10600, byteOffset=245772293} and entry version null". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@10993713' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs contains entries with prefix 1, and the lowest supported prefix is 5. This indicates that the log files originates from an older version of neo4j, which we don't support migrations from.. At position LogPosition{logVersion=10600, byteOffset=245772293} and entry version null".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@10993713' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs contains entries with prefix 1, and the lowest supported prefix is 5. This indicates that the log files originates from an older version of neo4j, which we don't support migrations from.. At position LogPosition{logVersion=10600, byteOffset=245772293} and entry version null".
	at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
	at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:220)
	at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)
	at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)
	at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@10993713' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs contains entries with prefix 1, and the lowest supported prefix is 5. This indicates that the log files originates from an older version of neo4j, which we don't support migrations from.. At position LogPosition{logVersion=10600, byteOffset=245772293} and entry version null".
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
	at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:212)
	... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /opt/comp/neo4j-community/neo4j-community/data/databases/graph.db
	at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:212)
	at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:125)
	at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:58)
	at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
	... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.NeoStoreDataSource@5b444398' was successfully initialized, but failed to start. Please see the attached cause exception "Transaction logs contains entries with prefix 1, and the lowest supported prefix is 5. This indicates that the log files originates from an older version of neo4j, which we don't support migrations from.. At position LogPosition{logVersion=10600, byteOffset=245772293} and entry version null".
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:466)
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
	at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:100)
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
	at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:208)
	... 9 more
Caused by: java.lang.RuntimeException: Error reading transaction logs, recovery not possible. To force the database to start anyway, you can specify 'unsupported.dbms.tx_log.fail_on_corrupted_log_files=false'. This will try to recover as much as possible and then truncate the corrupt part of the transaction log. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead.
	at org.neo4j.kernel.recovery.Recovery.throwUnableToCleanRecover(Recovery.java:155)
	at org.neo4j.kernel.recovery.LogTailScanner.findLogTail(LogTailScanner.java:147)
	at org.neo4j.kernel.recovery.LogTailScanner.getTailInformation(LogTailScanner.java:260)
	at org.neo4j.kernel.impl.transaction.log.LogVersionUpgradeChecker.check(LogVersionUpgradeChecker.java:48)
	at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:415)
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:445)
	... 14 more
Caused by: org.neo4j.kernel.impl.transaction.log.entry.UnsupportedLogVersionException: Transaction logs contains entries with prefix 1, and the lowest supported prefix is 5. This indicates that the log files originates from an older version of neo4j, which we don't support migrations from.. At position LogPosition{logVersion=10600, byteOffset=245772293} and entry version null
	at org.neo4j.kernel.impl.transaction.log.entry.LogEntryVersion.byVersion(LogEntryVersion.java:169)
	at org.neo4j.kernel.impl.transaction.log.entry.VersionAwareLogEntryReader.readLogEntry(VersionAwareLogEntryReader.java:80)
	at org.neo4j.kernel.impl.transaction.log.LogEntryCursor.next(LogEntryCursor.java:54)
	at org.neo4j.kernel.recovery.LogTailScanner.findLogTail(LogTailScanner.java:99)
	... 18 more
2022-06-16 03:39:23.495+0000 INFO  Neo4j Server shutdown initiated by request

  • Neo报错
  • 处理步骤:
  1. 先清理磁盘空间,
  2. 备份graph.db,(tar  -czvf /home/neo4j_bak.tar.gz  graph.db) 
  3. 然后进入graph.db目录,
  4. rm neostore.transaction.db.*
  5. rm neostore.counts.db.*
  6. 启动Neo4j(bin目录下执行:./neo4j start)
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/978714.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号