ruby-on-rails - 错误无法启动 Neo Server

标签 ruby-on-rails database neo4j

我的 Rails 应用程序必须使用 Neo4j。 所以我开始安装 neo4j 服务器。我按照步骤安装 here在 Linux 上。

但是当我运行的时候

./bin/neo4j console

它给了

ERROR Failed to start Neo Server on port [unknown port] Bad value 'conf/neo4j-http-logging.xml' for setting 'org.neo4j.server.http.log.config': HTTP log directory [/opt/neo4j-community-2.3.2/data/log] is not writeable.

org.neo4j.graphdb.config.InvalidSettingException: Bad value 'conf/neo4j-http-logging.xml' for setting 'org.neo4j.server.http.log.config': HTTP log directory [/opt/neo4j-community-2.3.2/data/log] is not writeable.

我无法启动 neo4j 服务器。请帮我解决一下。 提前致谢。

最佳答案

错误消息非常清楚地提到了根本原因:

HTTP log directory [/opt/neo4j-community-2.3.2/data/log] is not writeable.

因此检查文件权限并修复它们,以便运行 neo4j 的用户可以写入该目录。

关于ruby-on-rails - 错误无法启动 Neo Server,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34918167/

相关文章:

MySQL 查询单个表以查找多行

database - 多对多关系 - 大表的查询性能

neo4j - 如何通过一次查询返回多种关系类型的计数?

database - 将用户的图像存储在 Web 应用程序中

neo4j - 如何在neo4j中使用纬度和经度搜索特定半径内的所有节点

Neo4j Spatial 版本与 Neo4j 1.8.2 一起使用

javascript - 基本react-rails组件中的语法错误

javascript - 从所选选项的模型中获取属性

ruby-on-rails - 基本模型,了解类的基础知识(Ruby on Rails)

ruby-on-rails - 获取 Rspec View 规范以呈现应用程序布局