Giter Site home page Giter Site logo

Comments (4)

henry74 avatar henry74 commented on September 2, 2024

If you installed neo4j through the deb repository, it should already be running as a service. Try typing:

ps aux|grep neo4j

If you do not see anything, try typing:

sudo service neo4j-service start

from neography.

ekremkaraca avatar ekremkaraca commented on September 2, 2024

Here are outputs of command Henry described -Thanks him for his directions-:

~$: ps aux|grep neo4j
neo4j     3306 16.8  5.2 802920 102128 ?       Sl   09:38   0:06 /usr/bin/java -cp /var/lib/neo4j/lib/geronimo-jta_1.1_spec-1.1.1.jar:/var/lib/neo4j/lib/lucene-core-3.5.0.jar:/var/lib/neo4j/lib/neo4j-cypher-1.8.1.jar:/var/lib/neo4j/lib/neo4j-graph-algo-1.8.1.jar:/var/lib/neo4j/lib/neo4j-graph-matching-1.8.1.jar:/var/lib/neo4j/lib/neo4j-jmx-1.8.1.jar:/var/lib/neo4j/lib/neo4j-kernel-1.8.1.jar:/var/lib/neo4j/lib/neo4j-lucene-index-1.8.1.jar:/var/lib/neo4j/lib/neo4j-shell-1.8.1.jar:/var/lib/neo4j/lib/neo4j-udc-1.8.1.jar:/var/lib/neo4j/lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar:/var/lib/neo4j/lib/scala-library-2.9.1-1.jar:/var/lib/neo4j/lib/server-api-1.8.1.jar:/var/lib/neo4j/system/lib/antlr-2.7.7.jar:/var/lib/neo4j/system/lib/asm-3.1.jar:/var/lib/neo4j/system/lib/asm-analysis-3.2.jar:/var/lib/neo4j/system/lib/asm-commons-3.2.jar:/var/lib/neo4j/system/lib/asm-tree-3.2.jar:/var/lib/neo4j/system/lib/asm-util-3.2.jar:/var/lib/neo4j/system/lib/bcprov-jdk16-140.jar:/var/lib/neo4j/system/lib/blueprints-core-1.2.jar:/var/lib/neo4j/system/lib/blueprints-neo4j-graph-1.2.jar:/var/lib/neo4j/system/lib/commons-beanutils-1.8.0.jar:/var/lib/neo4j/system/lib/commons-beanutils-core-1.8.0.jar:/var/lib/neo4j/system/lib/commons-collections-3.2.1.jar:/var/lib/neo4j/system/lib/commons-configuration-1.6.jar:/var/lib/neo4j/system/lib/commons-digester-1.8.1.jar:/var/lib/neo4j/system/lib/commons-io-1.4.jar:/var/lib/neo4j/system/lib/commons-lang-2.4.jar:/var/lib/neo4j/system/lib/commons-logging-1.1.1.jar:/var/lib/neo4j/system/lib/concurrentlinkedhashmap-lru-1.3.1.jar:/var/lib/neo4j/system/lib/gremlin-groovy-1.5.jar:/var/lib/neo4j/system/lib/gremlin-java-1.5.jar:/var/lib/neo4j/system/lib/groovy-1.8.5.jar:/var/lib/neo4j/system/lib/jackson-core-asl-1.9.7.jar:/var/lib/neo4j/system/lib/jackson-jaxrs-1.9.7.jar:/var/lib/neo4j/system/lib/jackson-mapper-asl-1.9.7.jar:/var/lib/neo4j/system/lib/janino-2.5.10.jar:/var/lib/neo4j/system/lib/jansi-1.5.jar:/var/lib/neo4j/system/lib/jcl-over-slf4j-1.6.1.jar:/var/lib/neo4j/system/lib/jersey-core-1.9.jar:/var/lib/neo4j/system/lib/jersey-multipart-1.9.jar:/var/lib/neo4j/system/lib/jersey-server-1.9.jar:/var/lib/neo4j/system/lib/jettison-1.3.jar:/var/lib/neo4j/system/lib/jetty-6.1.25.jar:/var/lib/neo4j/system/lib/jetty-util-6.1.25.jar:/var/lib/neo4j/system/lib/jsr311-api-1.1.2.r612.jar:/var/lib/neo4j/system/lib/logback-access-0.9.30.jar:/var/lib/neo4j/system/lib/logback-classic-0.9.30.jar:/var/lib/neo4j/system/lib/logback-core-0.9.30.jar:/var/lib/neo4j/system/lib/mimepull-1.6.jar:/var/lib/neo4j/system/lib/neo4j-cypher-plugin-1.8.1.jar:/var/lib/neo4j/system/lib/neo4j-gremlin-plugin-1.8.1.jar:/var/lib/neo4j/system/lib/neo4j-server-1.8.1-static-web.jar:/var/lib/neo4j/system/lib/neo4j-server-1.8.1.jar:/var/lib/neo4j/system/lib/pipes-1.0.jar:/var/lib/neo4j/system/lib/rrd4j-2.0.7.jar:/var/lib/neo4j/system/lib/servlet-api-2.5-20081211.jar:/var/lib/neo4j/system/lib/slf4j-api-1.6.2.jar:/var/lib/neo4j/system/lib/stax-api-1.0.1.jar -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dfile.encoding=UTF-8 -Dlog4j.configuration=file:conf/log4j.properties -Dorg.neo4j.server.properties=/var/lib/neo4j/conf/neo4j-server.properties -Djava.util.logging.config.file=/var/lib/neo4j/conf/logging.properties -Dneo4j.home=/var/lib/neo4j -Dneo4j.instance=/var/lib/neo4j -Dfile.encoding=UTF-8 org.neo4j.server.Bootstrapper ekrem     5296  0.0  0.0   4392   836 pts/3    S+   09:39   0:00 grep --color=auto neo4j

~#: service neo4j-service start
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
WARNING! You are using an unsupported Java runtime. Please use JDK 6.
Another server-process is running with [3306], cannot start a new one. Exiting.

On the other hand, in my ruby app which is located at "~/Desktop/neo4japp":

~/Desktop/neo4japp$ rake neo4j:start
Starting Neo4j...
rake aborted!
No such file or directory - neo4j/bin/neo4j start
/home/ekrem/.rvm/gems/ruby-1.9.3-p374/gems/neography-1.0.6/lib/neography/tasks.rb:64:in ``'
/home/ekrem/.rvm/gems/ruby-1.9.3-p374/gems/neography-1.0.6/lib/neography/tasks.rb:64:in `block (2 levels) in <top (required)>'
/home/ekrem/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `eval'
/home/ekrem/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `<main>'

In my opinion, at last command, it was looking for a location which is relative and its binaries should be under the app I created. So, I should enter exact location at command-line to make it work.

    In addition;
  • neo4j-shell works at port 1337
  • neo4j-service works at port 7474

from neography.

henry74 avatar henry74 commented on September 2, 2024

You don't need to run the rake neo4j:start command. It's already running.

from neography.

ekremkaraca avatar ekremkaraca commented on September 2, 2024

sorry about delaying, it really works and does not need to run install&start commands. thank you Henry:)

from neography.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.