簡體   English   中英

Neo4j 2.0.1無法啟動

[英]Neo4j 2.0.1 failing to start

我是本科生,正在為我的高級論文項目使用Neo4j。 我在Mac上運行它,幾天前我的筆記本電腦鎖住了,不得不將其關閉。 我不確定這是否引起了我當前的問題,但是從那以后我一直無法啟動Neo4j。 我在控制台中運行./neo4j start ,發生以下錯誤:

./neo4j start console
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 [3403]... waiting for server to be ready....................................................................................................................................................................................................................................................../neo4j: line 152:  3403 Abort trap: 6           "$JAVACMD" -cp "${CLASSPATH}" $JAVA_OPTS -Dneo4j.home="${NEO4J_HOME}" -Dneo4j.instance="${NEO4J_INSTANCE}" -Dfile.encoding=UTF-8 org.neo4j.server.Bootstrapper >> "${CONSOLE_LOG}" 2>&1
 Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.

以下是日志文件的內容:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0xa) at pc=0x0000000103f7fd15, pid=3403, tid=32263
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0xfcd15]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x00007f943c0db000):  JavaThread "Statistics Gatherer[primitives]" [_thread_in_vm, id=32263, stack(0x000000010fbd0000,0x000000010fcd0000)]

siginfo:si_signo=SIGBUS: si_errno=0, si_code=2 (BUS_ADRERR), si_addr=0x0000000110161000

Registers:
RAX=0x000000077bc45ce8, RBX=0x000000011015e97c, RCX=0x0000000110161a44, RDX=0xfffffffffffffeba
RSP=0x000000010fccee68, RBP=0x000000010fcceeb0, RSI=0x000000000000f87f, RDI=0x000000077bc42c20
R8 =0x0000000000000c34, R9 =0x000000011015e97c, R10=0x0000000104a1b66c, R11=0x00000001042f3297
R12=0x000000010fccefa0, R13=0x00007f943c0db000, R14=0x0000000000000000, R15=0x0000000000000010
RIP=0x0000000103f7fd15, EFLAGS=0x0000000000010282, ERR=0x0000000000000006
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x000000010fccee68)
0x000000010fccee68:   0000000104385665 000000010468ef60
0x000000010fccee78:   00007f943c0db000 00007f943c0db000
0x000000010fccee88:   00000007faeeb010 0000000000000000
0x000000010fccee98:   00000007faeeb010 000000010fccefa8
0x000000010fcceea8:   00007f943c0db000 000000010fccef48
0x000000010fcceeb8:   0000000104a1b698 00000000000030d0
0x000000010fcceec8:   000000010412c705 000000010fcceef0
0x000000010fcceed8:   00007f943b0d4a60 00000007fc0776a0
0x000000010fcceee8:   00007f943b0d4a61 000000010fccef40
0x000000010fcceef8:   0000000103d9dcc8 000000010fccef20
0x000000010fccef08:   000000010fccef08 0000000000000000
0x000000010fccef18:   000000010fccefa8 00000007faeedc40
0x000000010fccef28:   0000000000000000 00000007faeeb010
0x000000010fccef38:   0000000000000000 000000010fccef68
0x000000010fccef48:   000000010fcceff0 0000000104a0f058
0x000000010fccef58:   0000000000000000 0000000104a17cd8
0x000000010fccef68:   00000000000030d0 000000010fccefa0
0x000000010fccef78:   000000011015e97c d9d90da3ec34d281
0x000000010fccef88:   0000000000000000 0000000000000010
0x000000010fccef98:   0000000103d9dce0 000000077bc42c10
0x000000010fccefa8:   00000007a499cf40 000000010fccefb0
0x000000010fccefb8:   00000007faf78c2a 000000010fccf060
0x000000010fccefc8:   00000007faf79ab0 0000000000000000
0x000000010fccefd8:   00000007faf78c58 000000010fccef68
0x000000010fccefe8:   000000010fccf020 000000010fccf0a8
0x000000010fcceff8:   0000000104a0f058 00000000000030d0
0x000000010fccf008:   0000000000000000 0000000000000010
0x000000010fccf018:   0000000000000000 00000000000030d0
0x000000010fccf028:   00000000000030d0 000000011015e97c
0x000000010fccf038:   000000077bbd7580 0000000000000000
0x000000010fccf048:   0000000000000000 0000000000000010
0x000000010fccf058:   0000000104a0f1d4 000000077bc42c10 

Instructions: (pc=0x0000000103f7fd15)
0x0000000103f7fcf5:   48 89 74 d1 08 48 83 c2 01 75 f0 49 f7 c0 01 00
0x0000000103f7fd05:   00 00 74 06 8b 70 08 89 71 08 c3 48 8b 74 d0 e8
0x0000000103f7fd15:   48 89 74 d1 e8 48 8b 74 d0 f0 48 89 74 d1 f0 48
0x0000000103f7fd25:   8b 74 d0 f8 48 89 74 d1 f8 48 8b 34 d0 48 89 34 

Register to memory mapping:

RAX=

昨晚我刪除了除了graph.db的Neo4j文件夾,並下載了最新版本,因此我從2.0.0升級到了2.0.1。 但是,啟動錯誤仍然存​​在。

如果有人可以提供幫助,我將非常感激。 時間緊迫我的最后期限! 謝謝。

更新:

這是messages.log文本,很長。

https://gist.github.com/ottoborden/8948642

您列出的日志文件根本沒有提到2.0.1,只有2.0.0。

我會嘗試再次下載Neo4j 2.0.0,然后查看是否可以成功運行。 如果是這樣,請嘗試完全關閉,然后再次開始升級過程。 您之前執行的不干凈關機可能會阻止Neo4j正確升級。

實際上,我還建議您僅使用2.0.0進入工作狀態,假設您不需要使用2.0.1的功能。

您可以上傳graph.db / messages.log嗎?它可能包含某種錯誤消息,可以解釋正在發生的事情。

嘗試使用比創建的Noe4j服務器更舊的版本打開數據庫時,我遇到了一個非常相似的問題。 使用相同的版本就可以了,但是找出問題並不是最明顯的。

就像Mark所建議的那樣,在graph.db / messages.log中查找有助於,因為console.log發出的消息對我來說信息較少,只是說“檢測到錯誤地關閉了數據庫,正在執行恢復。”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM