我正在尝试在 Mac Lion 上使用自制的 neo4j 将小型 neo4j db 连接到前端 Web 界面 Linkurious。该图最初工作正常,可以从网络服务器访问,但在将其连接到 Linkurious 的过程中,出现了问题。
当我尝试启动 neo4j 时,服务器现在挂起,我得到以下输出:
Starting Neo4j Server...19:31:30,507 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
19:31:30,507 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
19:31:30,508 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/usr/local/Cellar/neo4j/community-1.8.1-unix/libexec/system/lib/neo4j-server-1.8.1.jar!/logback.xml]
19:31:30,536 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@33d6f122 - URL [jar:file:/usr/local/Cellar/neo4j/community-1.8.1-unix/libexec/system/lib/neo4j-server-1.8.1.jar!/logback.xml] is not of type file
19:31:30,632 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
19:31:30,646 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
19:31:30,650 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
19:31:30,670 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
19:31:30,737 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
19:31:30,737 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
19:31:30,740 |-ERROR in ch.qos.logback.core.joran.action.IncludeAction - Could not find resource corresponding to [custom-logback.xml]
19:31:30,742 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@647109c4 - Registering current configuration as safe fallback point
WARNING: not changing user
process [2350]... waiting for server to be ready...... OK.
Go to http://localhost:7475/webadmin/ for administration interface.
localhost:7475 然后继续挂断。我认为这是路径的问题,所以我将 NEO4J_HOME 附加到 neo4j 文件中,如下所示:https ://groups.google.com/forum/#!msg/neo4j/NMVHoflUrHo/warnQUInGCgJ (Bhargava 的解决方案)。
尽管如此,问题仍然存在。想法?我不知道日志文件的作用以及为什么需要它们。