Reputation: 689
I can't get the Neo4j service to start on Ubuntu 16.04. A while ago I was running a Ubuntu 14 and I was able to install Neo4j just fine. But then I removed it and time passed and I've upgraded to Ubuntu 16 and now I want to check out Neo4j again and it's not installing. I have java and anything it asks me. I'm little aware that that Ubuntu changed the service launcher and I think that might be it but I don't know enough in either Ubuntu or Neo4j to know where to start debugging to figure out how to make this work.
Can someone point me to logs to look at or can they fill in any holes in my knowledge to help me?
UPDATE
michael@Acer:~$ systemctl status neo4j
● neo4j.service - LSB: Neo4j Graph Database server
Loaded: loaded (/etc/init.d/neo4j; bad; vendor preset: enabled)
Active: active (running) since Tue 2016-09-27 13:56:05 MDT; 3 days ago
Docs: man:systemd-sysv-generator(8)
Tasks: 37
Memory: 120.3M
CPU: 46min 31.410s
CGroup: /system.slice/neo4j.service
└─17663 /usr/bin/java -cp /var/lib/neo4j/plugins:/etc/neo4j:/usr/share/neo4j/lib/*:/var/lib/neo4j/plugins/ * -server -XX:+UseG1GC -XX:-OmitStackTraceInFastThr
Oct 01 11:44:53 Acer systemd[1]: Started LSB: Neo4j Graph Database server.
Oct 01 11:45:00 Acer systemd[1]: Started LSB: Neo4j Graph Database server.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
lines 1-13/13 (END)
Here is the info from the firewall:
netstat -ntlp | grep 17663
tcp6 0 0 127.0.0.1:7473 :::* LISTEN 17663/java
tcp6 0 0 127.0.0.1:7474 :::* LISTEN 17663/java
tcp6 0 0 127.0.0.1:1337 :::* LISTEN 17663/java
tcp6 0 0 :::42787 :::* LISTEN 17663/java
tcp6 0 0 127.0.0.1:7687 :::* LISTEN 17663/java
Upvotes: 4
Views: 2937
Reputation: 689
I figured it out! I had to allow non-local access to Neo4j.
In the previous versions of Neo4j, the default installation would allow remote connections. Since I've always installed this on a headless server, I just assumed this was how it is. In the new Neo4j 3.0, this is turned off by default and you have to go into neo4j.config and uncomment the appropriate lines in the networking section to allow connections. Made the config changes and reboot the machine just for good measure and everything started to work.
Upvotes: 2