I recently had a similar error when starting neo4j as a service. It turns out that the /var/lib/neo4j folder did not have the correct permissions set
Use this command to check the directory permissions:
ls -l /var/lib/neo4j
You should see the follo...
To merge your Address and Address_2 nodes were they have the same value,
MATCH (a:Address)<-[:physically_located_at]-(c:Company)-[:legally_located_at]->(b:Address_2)
WHERE a.address = b.address
WITH [a,b] as addresses
CALL apoc.refactor.mergeNodes(a...