jexp / neo4j-shell-tools

A bunch of import/export tools for the neo4j-shell
289 stars 55 forks source link

Installation problem on windows server 2008 #27

Open shaimr opened 10 years ago

shaimr commented 10 years ago

Hey,

I'm trying to install neo4j 2.0.1 (community version) and noe4j-shell-tools. The installation path is "C:\Program Files\Neo4j Community", and i unziped the shell tools to "C:\Program Files\Neo4j Community\lib".

I did a restart but the commands "auto-index" and "import-cypher" not work. (not by WebUI and also not by cmd)

what am i missing?

thanks, shai.

cvjones17 commented 10 years ago

I'm having exactly the same issue on an ubuntu install. New to neo4j, but haven't been able to find a solution.

jexp commented 10 years ago

Could either of you describe the exact steps you took?

And also post the logs in data/graph.db/messages.log and data/log/console.log ?

Do you see any exceptions?

cvjones17 commented 10 years ago

Happy to provide. Thanks for the fast response.

Running on ubuntu 12.04. Installed neo4j community 2.0.1. Verified that it worked through the gui and through neo4j-shell.

Installed the version of neo4j-shell-tools compatible with neo4j 2 by executing:

curl http://dist.neo4j.org/jexp/shell/neo4j-shell-tools-2.0.zip -o neo4j-shell-tools.zip unzip neo4j-shell-tools.zip -d lib

./bin/neo4j restart ./bin/neo4j-shell

Here's what I see when I try to run the extensions in neo4j-shell:

neo4j-sh (?)$ cvjones@smokescreen:/site/neo4j/neo4j-community-2.0.1$ bin/neo4j-shell Welcome to the Neo4j Shell! Enter 'help' for a list of commands NOTE: Remote Neo4j graph database service 'shell' at port 1337

neo4j-sh (?)$ auto-index name age title Unknown command 'auto-index' neo4j-sh (?)$

Here's the tail of console.log, showing output during neo4j server startup. I don't see any exceptions.

2014-02-25 17:56:14.557+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 2014-02-25 17:56:15.342+0000 INFO [API] Successfully started database 2014-02-25 17:56:15.802+0000 INFO [API] Starting HTTP on port :7474 with 80 threads available 2014-02-25 17:56:15.943+0000 INFO [API] Enabling HTTPS on port :7473 2014-02-25 17:56:16.100+0000 INFO [API] Mounted discovery module at [/] 2014-02-25 17:56:16.106+0000 INFO [API] Mounted REST API at [/db/data/] 2014-02-25 17:56:16.108+0000 INFO [API] Mounted management API at [/db/manage/] 2014-02-25 17:56:16.109+0000 INFO [API] Mounted webadmin at [/webadmin] 2014-02-25 17:56:16.110+0000 INFO [API] Mounted Neo4j Browser at [/browser] 2014-02-25 17:56:16.149+0000 INFO [API] Mounting static content at [/webadmin] from [webadmin-html] 2014-02-25 17:56:16.183+0000 INFO [API] Mounting static content at [/browser] from [browser] 09:56:16.184 [main] WARN o.e.j.server.handler.ContextHandler - o.e.j.s.ServletContextHandler@1e5ca0e4{/,null,null} contextPath ends with / 09:56:16.184 [main] WARN o.e.j.server.handler.ContextHandler - Empty contextPath 09:56:16.185 [main] INFO org.eclipse.jetty.server.Server - jetty-9.0.5.v20130815 09:56:16.202 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.MovedContextHandler@7f34840b{/,null,AVAILABLE} 09:56:16.272 [main] INFO o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet 09:56:16.299 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@625dc5ad{/webadmin,jar:file:/site/neo4j/neo4j-community-2.0.1/system/lib/neo4j-server-2.0.1-static-web.jar!/webadmin-html,AVAILABLE} 09:56:16.576 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@7a4f4a8c{/db/manage,null,AVAILABLE} 09:56:16.775 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@2ae8031e{/db/data,null,AVAILABLE} 09:56:16.788 [main] INFO o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /browser, did not find org.apache.jasper.servlet.JspServlet 09:56:16.789 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@4ba5f338{/browser,jar:file:/site/neo4j/neo4j-community-2.0.1/system/lib/neo4j-browser-2.0.1.jar!/browser,AVAILABLE} 09:56:16.851 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@1e5ca0e4{/,null,AVAILABLE} 09:56:16.864 [main] INFO o.e.jetty.server.ServerConnector - Started ServerConnector@6c4e891b{HTTP/1.1}{localhost:7474} 09:56:17.145 [main] INFO o.e.jetty.server.ServerConnector - Started ServerConnector@47f0075f{SSL-HTTP/1.1}{localhost:7473} 2014-02-25 17:56:17.146+0000 INFO [API] Remote interface ready and available at [http://localhost:7474/]

Here's the log file output from neo4j.0.0.log for the same events.

Feb 25, 2014 9:56:14 AM org.neo4j.server.logging.Logger log INFO: Setting startup timeout to: 120000ms based on -1 Feb 25, 2014 9:56:15 AM org.neo4j.server.logging.Logger log INFO: Successfully started database Feb 25, 2014 9:56:15 AM org.neo4j.server.logging.Logger log INFO: Starting HTTP on port :7474 with 80 threads available Feb 25, 2014 9:56:15 AM org.neo4j.server.logging.Logger log INFO: Enabling HTTPS on port :7473 Feb 25, 2014 9:56:16 AM org.neo4j.server.logging.Logger log INFO: Mounted discovery module at [/] Feb 25, 2014 9:56:16 AM org.neo4j.server.logging.Logger log INFO: Mounted REST API at [/db/data/] Feb 25, 2014 9:56:16 AM org.neo4j.server.logging.Logger log INFO: Mounted management API at [/db/manage/] Feb 25, 2014 9:56:16 AM org.neo4j.server.logging.Logger log INFO: Mounted webadmin at [/webadmin] Feb 25, 2014 9:56:16 AM org.neo4j.server.logging.Logger log INFO: Mounted Neo4j Browser at [/browser] Feb 25, 2014 9:56:16 AM org.neo4j.server.logging.Logger log INFO: Mounting static content at [/webadmin] from [webadmin-html] Feb 25, 2014 9:56:16 AM org.neo4j.server.logging.Logger log INFO: Mounting static content at [/browser] from [browser] Feb 25, 2014 9:56:16 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM' Feb 25, 2014 9:56:16 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM' Feb 25, 2014 9:56:16 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM' Feb 25, 2014 9:56:17 AM org.neo4j.server.logging.Logger log INFO: Remote interface ready and available at [http://localhost:7474/]

shaimr commented 10 years ago

hey again,

I unzziped the neo4j-shell-tools-2.0.zip file to new folder I create in "C:\Program Files\Neo4j Community" and named it "lib".

I run cmd and enter the command: java -cp "C:\Program Files\Neo4j Community\bin\neo4j-desktop-2.0.1.jar" org.neo4j.shell.StartClient

and it open the neo4j-shell prompt, but it not rocognize any neo4j-shell-tools command.

there is no exception at message.log and no such a file as data/log/console.log.

As you can understand, I'm new to neo4j...

Thanks,

Shai.

jexp commented 10 years ago

@shaimr You have to add the files in lib to your classpath too, separated with a semicolon (on windows). If the other jar files are in bin it's probably better to put the shell tools jars there as well.

jexp commented 10 years ago

@cvjones17 I didn't publish a version for 2.0.1 yet, just saw that there are breaking changes which probably prevent loading but the errors are swallowed it seems.

cvjones17 commented 10 years ago

Ok, thanks for such fast response. Looking forward to seeing the version for 2.0.1

Sent from my iPhone

On Feb 26, 2014, at 12:43 AM, Michael Hunger notifications@github.com wrote:

@cvjones17 I didn't publish a version for 2.0.1 yet, just saw that there are breaking changes which probably prevent loading but the errors are swallowed it seems.

— Reply to this email directly or view it on GitHub.

sheymann commented 10 years ago

Hello, any update on this?

jpalbuja commented 10 years ago

I guess that this also do not works with version 2.1.5, right?

Dazzid commented 9 years ago

I'm trying to install in Mac 10.10.2 but at the beginning: curl http://dist.neo4j.org/jexp/shell/neo4j-shell-tools-2.0.zip -o neo4j-shell-tools.zip unzip neo4j-shell-tools.zip -d lib

it says 0curl: (7) Failed to connect to dist.neo4j.org port 80: Operation timed out

Is related to my network? I'm new here, thanks for the help