Can't start Neo4j server

I followed the official document to install my Neo4j on my Ubuntu 2004 LTS.

After installation, I noticed:

  1. There is a process run by neo4j as below:
neo4j       3698  2.5  1.0 1001632 80892 ?       Ssl  19:54   0:00 mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50

I tried to kill it but it restarts again.

  1. I tried to start my server by sudo neo4j start but it soon dies out. Thus making any of my further attemps to connect via web or Neo4j desktop unsuccessful.
√ ~ % ps aux | grep neo4j
neo4j       3698  0.0  1.0 1001632 80896 ?       Ssl  19:54   0:00 mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50
root        4029  143 12.3 4741176 991296 pts/1  Sl   20:03   0:37 /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /var/lib/neo4j/plugins/*:/etc/neo4j/*:/usr/share/neo4j/lib/* -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+UnlockExperimentalVMOptions -XX:+TrustFinalNonStaticFields -XX:+DisableExplicitGC -XX:MaxInlineLevel=15 -XX:-UseBiasedLocking -Djdk.nio.maxCachedBufferSize=262144 -Dio.netty.tryReflectionSetAccessible=true -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.rejectClientInitiatedRenegotiation=true -XX:FlightRecorderOptions=stackdepth=256 -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -Dlog4j2.disable.jmx=true -Dfile.encoding=UTF-8 com.neo4j.server.enterprise.EnterpriseEntryPoint --home-dir=/var/lib/neo4j --config-dir=/etc/neo4j
tr          4144  0.0  0.0  11076   708 pts/1    S+   20:03   0:00 grep neo4j
√ ~ % ps aux | grep neo4j
neo4j       3698  0.0  1.0 1001632 80896 ?       Ssl  19:54   0:00 mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50
tr          4149  0.0  0.0  11076   712 pts/1    S+   20:03   0:00 grep neo4j
√ ~ % ps aux | grep neo4j
neo4j       3698  0.0  1.0 1001632 80896 ?       Ssl  19:54   0:00 mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50
tr          4151  0.0  0.0  11076   644 pts/1    S+   20:03   0:00 grep neo4j

Would appreciate your valuable feedback on this.

Thanks.

@taylor.ren

If the problem is still present, can you share the logs/neo4j.log and logs/debug.log files?
Maybe there is something interesting there.

@taylor.ren

  1. how was Neo4j installed? tar file? debian ? or ??

  2. from your ps output

root        4029  143 12.3 4741176 991296 pts/1  Sl   20:03   0:37 /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /var/lib/neo4j/plugins/*:/etc/neo4j/*:/usr/share/neo4j/lib/* -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+UnlockExperimentalVMOptions -XX:+TrustFinalNonStaticFields -XX:+DisableExplicitGC -XX:MaxInlineLevel=15 -XX:-UseBiasedLocking -Djdk.nio.maxCachedBufferSize=262144 -Dio.netty.tryReflectionSetAccessible=true -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.rejectClientInitiatedRenegotiation=true -XX:FlightRecorderOptions=stackdepth=256 -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -Dlog4j2.disable.jmx=true -Dfile.encoding=UTF-8 com.neo4j.server.enterprise.EnterpriseEntryPoint --home-dir=/var/lib/neo4j --config-dir=/etc/neo4j

is more in line with a running Neo4j database.

Ive never seen

neo4j       3698  0.0  1.0 1001632 80896 ?       Ssl  19:54   0:00 mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50

and this process appears to respresent MySQL MySQL :: MySQL 8.0 Reference Manual :: 4.3.1 mysqld — The MySQL Server