我已经在Debian 8.1上安装了neo4j,这要归功于这些说明:http://debian.neo4j.org/
现在,如果以root用户身份使用neo4j-service启动neo4j,就像这样
service neo4j-service start
有时它会正常工作,但大多数情况下,neo4j服务会超时。但有趣的事实是neo4j确实已经开始,我可以去浏览器并进行一些查询。但neo4j服务告诉我它失败了:
root@ns***:~# service neo4j-service start
Job for neo4j-service.service failed. See 'systemctl status neo4j-service.service' and 'journalctl -xn' for details.
root@ns***:~# systemctl status neo4j-service.service
● neo4j-service.service - LSB: Neo4j Graph Database server
Loaded: loaded (/etc/init.d/neo4j-service)
Active: failed (Result: timeout) since Fri 2015-10-16 19:03:08 CEST; 6min ago
Process: 24556 ExecStop=/etc/init.d/neo4j-service stop (code=exited, status=0/SUCCESS)
Process: 29730 ExecStart=/etc/init.d/neo4j-service start (code=killed, signal=TERM)
Oct 16 18:58:08 ns***.ip-91-***-***.eu neo4j-service[29730]: WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Oct 16 18:58:08 ns***.ip-91-***-***.eu neo4j-service[29730]: Starting Neo4j Server...WARNING: not changing user
Oct 16 19:03:08 ns***.ip-91-***-***.eu systemd[1]: neo4j-service.service start operation timed out. Terminating.
Oct 16 19:03:08 ns***.ip-91-***-***.eu systemd[1]: Failed to start LSB: Neo4j Graph Database server.
Oct 16 19:03:08 ns***.ip-91-***-***.eu systemd[1]: Unit neo4j-service.service entered failed state.
有时它会告诉我服务正常启动但无法阻止它 大多数时候,我必须自己杀死这个过程以正确地“重置一切”。
你知道为什么会这样吗? 您是否了解Debian 8.1上neo4j-service的任何问题?