Neo4j 2.2.1 server not starting after db creation via java code

Starts with a new graph.db folder. I am using inline db, java and cypher graph to create nodes. It seems that these nodes have been successfully created. Debugging and checking the result object.

I want to run neo4j server to check nodes in browser. However, it gives the message:

bash -4.2 $. / neo4j-community-2.2.1 / bin / neo4j start

WARNING : Max. 1024 open files allowed, 40,000 minimum recommended. See Neo4j manual. Starting Neo4j Server ...

WARNING : without changing user process [2868] ... waiting for server to be ready ... Failed to start 120 seconds. The Neo4j server may not be running, check the logs.

I have checked console.log and message.log. But there is no mistake. I don't know what to read in the log files to put here for diagnostics. Please advice.

console.log:

2015-04-26 05: 14: 47.278 + 0000 INFO

[API] Setting the startup timeout for: 120,000ms based on 120,000

2015-04-26 05: 14: 49.700 + 0000 INFO

[API] Successfully shutting down the Neo4j server.

2015-04-26 05: 15: 24.684 + 0000 INFO

[API] Set startup timeout to: 120,000ms based on 120,000

2015-04-26 05: 15: 26.477 + 0000 INFO

[API] Successfully shutting down the Neo4j server.

2015-04-26 05: 19: 54.699 + 0000 INFO

[API] Setting the startup timeout for: 120,000ms based on 120,000

2015-04-26 05: 19: 56.521 + 0000 INFO

[API] Successfully shutting down the Neo4j server.

Where else to look for errors? How can I get the neo4j server?

Edit:

Log message checked. The text is below. It looks like it turns off via code:

2015-04-26 10:05:21.169+0000 INFO  [org.neo4j]: --- STARTED diagnostics for KernelDiagnostics:StoreFiles END ---
2015-04-26 10:05:21.356+0000 INFO  [org.neo4j]: Database is now ready
2015-04-26 10:06:05.470+0000 INFO  [org.neo4j]: Index population started: [:PRODUCT(id) [provider: {key=lucene, version=1.0}]]
2015-04-26 10:06:05.653+0000 INFO  [org.neo4j]: Schema state store has been cleared.
2015-04-26 10:06:05.695+0000 INFO  [org.neo4j]: Index population completed. Index is now online: [:PRODUCT(id) [provider: {key=lucene, version=1.0}]]
2015-04-26 10:06:05.764+0000 INFO  [org.neo4j]: Schema state store has been cleared.
2015-04-26 10:06:18.148+0000 INFO  [org.neo4j]: Sampled index :PRODUCT(id) with 2 unique values in sample of avg size 2 taken from index containing 2 entries
2015-04-26 10:06:46.028+0000 INFO  [org.neo4j]: Shutdown started
2015-04-26 10:06:46.031+0000 INFO  [org.neo4j]: Database is now unavailable
2015-04-26 10:06:46.246+0000 INFO  [org.neo4j]: About to rotate counts store at transaction 8 to [/home/dedhiaj/neo4j-community-2.2.1/data/graph.db/neostore.counts.db.b], from [/ho
me/dedhiaj/neo4j-community-2.2.1/data/graph.db/neostore.counts.db.a].
2015-04-26 10:06:46.250+0000 INFO  [org.neo4j]: Successfully rotated counts store at transaction 8 to [/home/dedhiaj/neo4j-community-2.2.1/data/graph.db/neostore.counts.db.b], from
 [/home/dedhiaj/neo4j-community-2.2.1/data/graph.db/neostore.counts.db.a].
2015-04-26 10:06:47.495+0000 INFO  [org.neo4j]: NeoStore closed
2015-04-26 10:06:47.496+0000 INFO  [org.neo4j]: --- STOPPING diagnostics START ---
2015-04-26 10:06:47.497+0000 INFO  [org.neo4j]: --- STOPPING diagnostics END ---

      

0


source to share


1 answer


Also increase the "ulimit" of your Linux OS>



+1


source







All Articles