dimanche 8 mars 2015

Installing neo4j on Arch Linux



I've done a fresh install of Arch Linux and am now trying to get neo4j working with the AUR package. Oddly enough I had no problems getting it working on an older install of Arch Linux. I can't see any way to get at a more useful error message other than this stupid timeout message



[earlz@cryptoscout neo4j]$ sudo neo4j start
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=/etc/neo4j/neo4j-server.properties -Djava.util.logging.config.file=/etc/neo4j/logging.properties -Dlog4j.configuration=file:/etc/neo4j/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow
Starting Neo4j Server...cat: /run/neo4j/neo4j-service.pid: No such file or directory
process []... waiting for server to be ready. Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.
rm: cannot remove ‘/run/neo4j/neo4j-service.pid’: No such file or directory
[earlz@cryptoscout neo4j]$ sudo systemctl start neo4j
Job for neo4j.service failed. See "systemctl status neo4j.service" and "journalctl -xe" for details.
[earlz@cryptoscout neo4j]$ systemctl status neo4j.service
● neo4j.service - Neo4j
Loaded: loaded (/usr/lib/systemd/system/neo4j.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/neo4j.service.d
└─java_home.conf
Active: failed (Result: timeout) since Sun 2015-03-08 21:11:54 EDT; 26s ago
Process: 5938 ExecStart=/usr/bin/neo4j start (code=killed, signal=TERM)

Mar 08 21:10:24 cryptoscout neo4j[5938]: Using additional JVM arguments: -server -XX:+Disabl...
Mar 08 21:10:24 cryptoscout neo4j[5938]: Starting Neo4j Server...WARNING: not changing user
Mar 08 21:11:54 cryptoscout systemd[1]: neo4j.service start operation timed out. Terminating.
Mar 08 21:11:54 cryptoscout neo4j[5938]: process [6064]... waiting for server to be ready.......
Mar 08 21:11:54 cryptoscout systemd[1]: Failed to start Neo4j.
Mar 08 21:11:54 cryptoscout systemd[1]: Unit neo4j.service entered failed state.
Mar 08 21:11:54 cryptoscout systemd[1]: neo4j.service failed.
Hint: Some lines were ellipsized, use -l to show in full.


How can I get more info about what's wrong or how to fix this? I've tried using both OpenJDK and Oracle's JRE, as well as doing some other random stuff but nothing seems to get me past this




Aucun commentaire:

Enregistrer un commentaire