Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install / start neo4j on mac?

I tried to install neo4j on mac / Maverics in two ways:

1) Download zip from http://www.neo4j.org/ meantime I installed 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) Then I installed it with Homebrew, it was successfull, but when I try to start:

$ 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

What is the problem, how to install / start?

UPDATE

Server with PID 311 was java. So I just killed it, and start it over, now works. It is the normal way handling the issue?

$ 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.
like image 683
János Avatar asked Dec 01 '22 19:12

János


1 Answers

It is easier to use: brew install neo4j

like image 158
Pablo Araya Romero Avatar answered Dec 06 '22 11:12

Pablo Araya Romero