I'm running Ubuntu 16.04.4 on our server, with the Neo4j Enterprise Edition, 3.4.0.
We just lost a lot of data, so I'm attempting a restore, following the instructions at https://neo4j.com/docs/operations-manual/current/backup/restoring/:
- If the database is running, shut it down.
- Start up the database.
The problem is that I can't figure out how to shut it down. The example provided uses
neo4j-home> bin/neo4j stop
systemctl cat neo4j indicates that
NEO4J_HOME=/var/lib/neo4j, but it contains no bin directory.
When I run
sudo systemctl stop neo4j, it does add a line
Dec 04 11:40:27 ip-172-31-59-200 systemd: Stopped Neo4j Graph Database.
to the output of
systemctl status neo4j.service. But every time I try to run restore I get:
org.neo4j.commandline.admin.CommandFailed: the database is in use -- stop Neo4j and try again
Any timely information greatly appreciated.