ERROR Failed to start Neo Server - ruby-on-rails

I have to use neo4j for my rails application.
So I started installing the neo4j server.I followed steps to install here on linux.
But when I run
./bin/neo4j console
It gives
ERROR Failed to start Neo Server on port [unknown port] Bad value 'conf/neo4j-http-logging.xml' for setting 'org.neo4j.server.http.log.config': HTTP log directory [/opt/neo4j-community-2.3.2/data/log] is not writeable.
org.neo4j.graphdb.config.InvalidSettingException: Bad value 'conf/neo4j-http-logging.xml' for setting 'org.neo4j.server.http.log.config': HTTP log directory [/opt/neo4j-community-2.3.2/data/log] is not writeable.
I am unable to start the neo4j server.Help me how to resolve it.
Thanks in advance.

The error message very clearly mentions the root cause:
HTTP log directory [/opt/neo4j-community-2.3.2/data/log] is not writeable.
So check file permissions and fix them so the user running neo4j can write to that directory.

Related

Check for system requirements failed

I tried to install Cytoscape on Win10 64bit. After I ran the windows.bat file, I get the following lines in the message:
find: 'TTL=': No such file or directory
Problem: The "app" store at apps.cytoscape.org is not reachable with a timeout of 30000ms
Summary
Your system has some issues.
Please fix those and re-run this script again:
- App store at apps.cytoscape.org is not reachable
There is no problem for me to access the website of apps.cytoscape.org using a browser. So what is the problem? Thank you!
It seems that running the windows.bat file as an Administrator solved the "find: 'TTL=': No such file or directory" problem

JRuby / OpenSSL error when attempting to start Rails server:

When I attempt to start my Rails server, I receive an error that reads:
OpenSSL::X509::StoreError: setting default path failed: Invalid keystore format
I suspect that my machine's keystore has somehow become corrupted. Does anyone know how I might go about resolving this issue?

Exception with running Neo4j version 3 communitiy edition

I unpacked the tar file of Neo4j linux version.
When running the server (./bin start) it seems like the server is up, but I cant access the browser (although I get a message it is ready).
Running the console (./bin console) - returns an error: "Error: Could not find or load main class org.neo4j.server.CommunityEntryPoint"
Did anyone also encountered this issue? How can I solve this?
Thank you
How did you run ./bin console? I'm curious since such a thing does not exist.
To start up the database you use bin/neo4j start - then you point your browser to localhost:7474.
For command line based access use bin/neo4j-shell.

neo4j update old graph.db not cleanly shutdown

I am receiving a "not cleanly shutdown" log message when attempting to open a 2 year old Neo4j database posted on github at https://github.com/IGS/disease-ontology/tree/master/database/neo4j. How do I open/update this database?
Here's how I got it initialized: Downloaded the graph_db.tgz to my local win7-64 machine (neo4j-community-1.9.RC2), extracted the graph.db file to the data subfolder, renamed it graph_ontology.db, and edited the server config file to point to it as follows:
org.neo4j.server.database.location=data/graph_ontology.db
When starting Neo4j, the last entry in the log file is:
2013-05-21 17:23:33.418+0000 INFO [o.n.k.EmbeddedGraphDatabase]: Startup failed: Component 'org.neo4j.kernel.impl.transaction.XaDataSourceManager#1f91d41b' was successfully initialized, but failed to start. Please see attached cause exception.: Component 'org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource#b86527e' was successfully initialized, but failed to start. Please see attached cause exception.: Mismatching store version found (Uknown while expecting v0.A.0) and the store is not cleanly shutdown. Recover the database with the previous database version and then attempt to upgrade
Thanks,
Jeff
Look at the messages.log of the database to determine which neo4j version it was started with last.
In this case it is 1.4
You can get it from here: http://dist.neo4j.org/neo4j-community-1.4.2-windows.zip
You can easily just point the neo4j-shell to it:
create an upgrade.properties that contains: allow_store_upgrade=true
and then use: bin/neo4j-shell -path graph_ontology.db -config upgrade.properties
Here is the converted db for 1.9.GA: https://dl.dropboxusercontent.com/u/14493611/disease_ontology_graphdb-1.9.tgz

Windows service setup: Error 1001

I am getting the following error when I try to install my service installer on my machine:
Error 1001. The source was not found, but some or all event logs could be searched. Inaccessible logs: Security.
Error 1001. An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete. --> The source was not found, but some or all event logs could be searched. Inaccessible logs: Security.
I have created the window service as specified in the link: http://support.microsoft.com/kb/816169
Any help on this is much appreciated.
Please note: I dont have admin rights in this machine.

Resources