I've got neo4j installed on my arch linux setup, and am able to start the server manually (sudo neo4j start
). However, when I try to start it using systemctl start neo4j
, I get
Job for neo4j.service failed. See 'systemctl status neo4j.service' and
'journalctl -xn' for details.
Neither of the suggestions in the error message give anything helpful. I have /usr/lib/systemd/system/neo4j.service:
[Unit]
Description=Neo4j
[Service]
User=root
Type=forking
ExecStart=/usr/bin/neo4j start
ExecStop=/usr/bin/neo4j stop
PIDFile=/run/neo4j/neo4j-service.pid
#LimitNOFILE=40000
[Install]
WantedBy=multi-user.target
I've tried changing the User between neo4j and root, and I originally had LimitNOFILE not commented out, before I tried setting the limits in security/limits.conf (which got rid of the file number error when starting it normally). This setup is mentioned in the AUR, but I just can't get it working. Any help is appreciated!
journalctl
? Or in/var/log/syslog
? (Or elsewhere depending on how syslog is configured.) Do you see anything in Neo4j's own logs? Their location will depend on how you have installed Neo4j, typically under<neo4j-root>/data
. – Ben Butler-Cole Oct 16 '14 at 9:10