Neo4j Error 120 seconds after copying graph.db permission

It is my problem. I copied the graph.db file for backup. Neo4j was launched when I did this.

After that, I deleted graph.db and neo4j launched a new one. Neo4j is working fine, no problem. But when I wanted to copy graph.db (backup) again, I get:

Starting Neo4j Server...WARNING: not changing user waiting for server to be ready... Failed to start within 120 seconds. 

I uninstalled and installed neo4j again and it does not work.

I think this is a permissions problem ... If so, how can I solve this? I tried to change permissions using chmod, but it does not work ... Someone can help me with the code to change permissions or configure neo4j with good permissions.

In the log: this appears several times:

 2014-08-14 15:27:58.102+0000 INFO [API] Setting startup timeout to: 120000ms based on -1 Detected incorrectly shut down database, performing recovery.. 

Any other suggestion? Thank you for your help.

+1
chmod neo4j
source share
2 answers

As commented before the data was corrupted. It was impossible to recover.

The right way to backup: link

  • Never copy files while the database is running.

  • We need to mount the graph.db file and then copy it to another location as a backup.

  • To restore to stop the database, simply delete graph.db recursively and unzip the backup.

Unfortunately, the first data cannot be restored ...

0
source share

Try using

 bin/neo4j start-no-wait 

instead

 bin/neo4j start 
+1
source share

All Articles