Hi all, I'm new to this so it seems like a dumb question, but to my surprise, I could resolve it myself so have to ask for help.
Following neo4j guide I created an ec2 instance with neo4j enterprise ami (N.Virginia ami-0caebb418d7e8f3f1).
I guess in order to start the service I need to run sudo ./pre-neo4j.sh. And seems to start the service. However it reports and error:
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Error: Could not find or load main class com.neo4j.server.enterprise.EnterpriseEntryPoint
Caused by: java.lang.ClassNotFoundException: com.neo4j.server.enterprise.EnterpriseEntryPoint
This is a fresh ami with no changes on my part ... Started on t2.micro (free tier)
Assuming this error can be ignored (guess not), I have also installed Bloom on my win laptop and I need to connect it to the remote DB. It fails to connect because it says the server is not running.
Here i was under the impression at some point I will have to enter my enterprise license we got from neo4j when we were accepted to the start-up program. But I couldn't find where...
So to summarize:
-
what do you think about the error using latest enterprise ami from neo4j ( java.lang.ClassNotFoundException mentioned above)?
-
what do i need to do to run a bloom server on an ec2 instance and how do I enter my enterprice license i received from neo4j (we didn't receive any bloom license I saw mentioned in some threads)?
-
Can't open DB via browser because it keeps complaining about security (https) issues and nothing written in the community seems to resolve it (but if Bloom will work, I don't really need the browser so it's lower priority for me)
Thank you in advance!
Update #1
When running on the ec2 instance sudo ./pre-neo4j.sh towards the end it writes used paths:
Directories in use:
home: /var/lib/neo4j
config: /var/lib/neo4j/conf
logs: /var/log/neo4j
plugins: /var/lib/neo4j/plugins
import: /var/lib/neo4j/import
data: /var/lib/neo4j/data
certificates: /var/lib/neo4j/certificates
run: /var/run/neo4j
I noticed that /var/lib/neo4j/conf does not exist. the conf file neo4j.conf is located in other path, at /etc/neo4j. As an experiment i created a link to it sudo ln -s /var/lib/neo4j/conf /etc/neo4j
This made the error of class not found reported earlier disappear, but it seems that it stucks on starting the db... running pre-neo4j.sh now is stuck at:
pre-neo4j.sh: Starting neo4j console...
Directories in use:
home: /var/lib/neo4j
config: /var/lib/neo4j/conf
logs: /var/log/neo4j
plugins: /var/lib/neo4j/plugins
import: /var/lib/neo4j/import
data: /var/lib/neo4j/data
certificates: /var/lib/neo4j/certificates
run: /var/run/neo4j
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
2021-01-13 16:42:21.369+0000 INFO Starting...
Which never ends ... So is for connecting neo4j (remote) desktop. It keeps spinning in starting...
So one error less, looks like a step in the right direction, but still something is missing