我試圖在Mac上安裝/ Maverics Neo4j的方式有兩種:如何在mac上安裝/啓動neo4j?
1)從http://www.neo4j.org/與此同時,我安裝了JDK 8
$ /Users/xx/Downloads/neo4j-community-2.1.2/bin/neo4j-installer install
WARNING: this installer is deprecated and may not be the optimal way to install Neo4j on your system.
Please see the Neo4j Manual for up to date information on installing Neo4j.
Press any key to continue
2)然後,我用自制安裝了下載的zip,它是全成,但是當我嘗試啓動時:
$ neo4j start
Another server-process is running with [311], cannot start a new one. Exiting.
$ neo4j stop
ERROR: Neo4j Server not running
$ neo4j status
Neo4j Server is not running
$ neo4j install
Legacy install now lives in the 'neo4j-installer' script
什麼問題,如何安裝/啓動?
UPDATE
PID 311的服務器是java。所以我就殺了它,然後重新開始,現在起作用了。這是處理問題的正常方式?
$ kill 311
$ /usr/local/Cellar/neo4j/2.1.2/bin/neo4j start
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 -Dneo4j.ext.udc.source=homebrew -Djava.awt.headless=true
Starting Neo4j Server...WARNING: not changing user
process [1748]... waiting for server to be ready....... OK.
http://localhost:7474/ is ready.
「PID爲311的服務器是java」。 「java」是什麼意思? – Rolf
我打開了Monitor並向下滾動到PID 311,並且沒有任何其他信息的進程調用java。 –
嗯,好的。所以,當我回答時,我的猜測是這是完全特定於您的設置,而不是通常必須做的事情。 – Rolf