gpt4 book ai didi

windows - 从 windows 导入 neo4j 数据库到 ubuntu

转载 作者:行者123 更新时间:2023-12-04 18:52:37 25 4
gpt4 key购买 nike

我创建了一个 neo4j我的 Windows 机器上的数据库。
我已将数据库目录的内容转移到我的 linux 机器上。这是因为我的社区版不支持备份功能。

mtt@mttPC:/var/lib/neo4j/data/log$ sudo service neo4j-service start
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
WARNING! You are using an unsupported Java runtime.
* Please use Oracle(R) Java(TM) 7 to run Neo4j Server. Download "Java Platform (JDK) 7" from:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
* Please see http://docs.neo4j.org/ for Neo4j Server installation instructions.
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
Starting Neo4j Server...WARNING: not changing user
process [21498]... waiting for server to be ready..... Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.

文件 messages.log在数据库目录中什么也没说。

任何想法?是windows和linux neo4j兼容吗?谢谢你。

编辑

我在我的 ubuntu 机器上重新安装了 neo4j。

现在我终于得到了一些日志:
2014-05-16 20:01:10.958+0000 ERROR [o.n.k.EmbeddedGraphDatabase]: Startup failed: Component 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@25984c63' was successfully initialized, but failed to start. Please see attached cause exception.: Component 'org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource@3d34dcb' was successfully initialized, but failed to start. Please see attached cause exception.: 'neostore' has a store version number that we cannot upgrade from. Expected 'NeoStore v0.A.0' but file is version 'NeoStore v0.A.2'.
2014-05-16 20:01:10.958+0000 INFO [o.n.k.EmbeddedGraphDatabase]: Shutdown started

我应该与 this 有关但我不确定如何进行。这个问题是否与我复制数据库时,我刚刚从 neo4j 窗口停止了我的 windows 机器上的 neo4j 的事实有关?

最佳答案

Neo4j 数据库没有理由不能在操作系统之间传输。你能提供data/log/console.log的输出吗? ?首先想到的是您可能有权限问题。对于 Neo4j 进程将运行的用户,这些文件应该是读/写的。

关于windows - 从 windows 导入 neo4j 数据库到 ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23695128/

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