Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-15-2023 12:29 PM
Hi, I have a neo4j DB running on a Amazon EC2 instance I was attempting to take dump file of it. I SSH into the instance running the DB and used cypher-shell to shut down the DB in order to take the dump file using the following commands
# open cypher-shell
cypher-shell
username - myusername
password - mypassword
# get on system database
:use system
# Stop db from running
STOP DATABASE db_name;
However I accidentally exited from the shell in order to take the dump file (this should have actually been done in a separate window)
When I tried to get back into cypher-shell in order to start the instance again I get the following message:
Unable to get a routing table for database 'mydb' because this database is unavailable
How can I restart this DB preferably from the command line?
I tried to find the log files using journalctl --unit=neo4j but it returns no entries. Any assistance would be greatly appreciated. Thank you!
Solved! Go to Solution.
01-16-2023 09:12 AM
version of Neo4j in play here?
if you connect / start cypher-shell with -
cypher-shell -d system
thus forcing the connection to system does this connect? if not try connecting with -a bolt://<ip address of Neo4j Server>:7687
01-16-2023 09:12 AM
version of Neo4j in play here?
if you connect / start cypher-shell with -
cypher-shell -d system
thus forcing the connection to system does this connect? if not try connecting with -a bolt://<ip address of Neo4j Server>:7687
01-16-2023 01:01 PM
Yes connecting through system then allowed me to start that database. Thank you very much!
All the sessions of the conference are now available online