Neo4j 5.6.0 installing issues in Debian10 Linux on Virtualbox 7 VM
At DBTechNet consortium we have free Debian 10 based sandbox VM
including free editions of databases, tools and programming languages
for students and interested professionals.
The 3.5.8 version of Neo4j Community edition in our sandbox lacks
the latest developments of Neo4j, so we have tried to migrate it to
version 5.6.0, but this far we have not managed to get Neo4j Server running.
Following tests try to capture the current Neo4j 5.6.0 status in our sandbox:
dbtech@debian10:~$ su neo4j
Password:
neo4j@debian10:/home/dbtech$ groups
neo4j adm
neo4j@debian10:/home/dbtech$ neo4j-admin server validate-config
Validating Neo4j configuration: /etc/neo4j/neo4j.conf
No issues found.
Validating server Log4j configuration: /var/lib/neo4j/conf/user-logs.xml
No issues found.
Validating user Log4j configuration: /var/lib/neo4j/conf/server-logs.xml
No issues found.
Validation successful.
neo4j@debian10:/home/dbtech$
neo4j@debian10:/home/dbtech$ neo4j console --verbose
neo4j 5.6.0
VM Name: Java HotSpot(TM) 64-Bit Server VM
VM Vendor: Oracle Corporation
VM Version: 17.0.6+9-LTS-190
JIT compiler: HotSpot 64-Bit Tiered Compilers
VM Arguments: [-Xmx128m, -Dapp.name=neo4j, -Dapp.pid=8136, -Dapp.repo=/usr/share/neo4j/repo, -Dapp.home=/usr/share/neo4j, -Dbasedir=/usr/share/neo4j]
Configuration files used (ordered by priority):
/etc/neo4j/neo4j.conf
Directories in use:
home: /var/lib/neo4j
config: /etc/neo4j
logs: /var/log/neo4j
plugins: /var/lib/neo4j/plugins
import: /var/lib/neo4j/import
data: /var/lib/neo4j/data
certificates: /var/lib/neo4j/certificates
licenses: /var/lib/neo4j/licenses
run: /var/run/neo4j
Starting Neo4j.
Executing command line: /usr/lib/jvm/jdk-17/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 -Djdk.nio.maxCachedBufferSize=1024 -Dio.netty.tryReflectionSetAccessible=true -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.rejectClientInitiatedRenegotiation=true -XX:FlightRecorderOptions=stackdepth=256 -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -Dlog4j2.disable.jmx=true -Dfile.encoding=UTF-8 org.neo4j.server.CommunityEntryPoint --home-dir=/var/lib/neo4j --config-dir=/etc/neo4j --console-mode
2023-04-03 15:57:44.124+0000 INFO Starting...
2023-04-03 15:57:45.236+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.RuntimeException: java.io.EOFException
at org.neo4j.dbms.identity.AbstractIdentityModule.readOrGenerate(AbstractIdentityModule.java:61) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.DefaultIdentityModule.(DefaultIdentityModule.java:40) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.DefaultIdentityModule.(DefaultIdentityModule.java:33) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.graphdb.factory.module.edition.CommunityEditionModule.(CommunityEditionModule.java:134) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:135) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:38) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:171) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:87) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:30) ~[neo4j-5.6.0.jar:5.6.0]
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:273) ~[?:?]
at org.neo4j.io.fs.InputStreamReadableChannel.get(InputStreamReadableChannel.java:35) ~[neo4j-io-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.ServerIdMarshal.unmarshal0(ServerIdMarshal.java:48) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.ServerIdMarshal.unmarshal0(ServerIdMarshal.java:28) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.io.marshal.SafeChannelMarshal.unmarshal(SafeChannelMarshal.java:36) ~[neo4j-io-5.6.0.jar:5.6.0]
at org.neo4j.io.state.SimpleFileStorage.readState(SimpleFileStorage.java:51) ~[neo4j-io-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.AbstractIdentityModule.readOrGenerate(AbstractIdentityModule.java:46) ~[neo4j-5.6.0.jar:5.6.0]
... 8 more
2023-04-03 15:57:45.246+0000 INFO Neo4j Server shutdown initiated by request
2023-04-03 15:57:45.247+0000 INFO Stopped.
org.neo4j.server.startup.BootProcessFailureException: Neo4j web server failed to start. See log for more info.
at org.neo4j.server.startup.ProcessManager.waitUntilSuccessful(ProcessManager.java:76)
at org.neo4j.server.startup.BootloaderOsAbstraction$ConsoleProcess.postStart(BootloaderOsAbstraction.java:98)
at org.neo4j.server.startup.AbstractUnixBootloaderOs$UnixConsoleProcess.postStart(AbstractUnixBootloaderOs.java:95)
at org.neo4j.server.startup.ProcessManager.run(ProcessManager.java:52)
at org.neo4j.server.startup.AbstractUnixBootloaderOs.console(AbstractUnixBootloaderOs.java:84)
at org.neo4j.server.startup.UnixBootloaderOs.console(UnixBootloaderOs.java:53)
at org.neo4j.server.startup.Bootloader$Dbms.console(Bootloader.java:456)
at org.neo4j.server.startup.ConsoleCommand.execute(ConsoleCommand.java:41)
at org.neo4j.cli.AbstractCommand.call(AbstractCommand.java:92)
at org.neo4j.cli.AbstractCommand.call(AbstractCommand.java:37)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at org.neo4j.server.startup.Neo4jAdminCommand.call(Neo4jAdminCommand.java:123)
at org.neo4j.server.startup.Neo4jAdminCommand.call(Neo4jAdminCommand.java:42)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at org.neo4j.server.startup.Neo4jCommand.main(Neo4jCommand.java:41)
at org.neo4j.server.startup.Neo4jBoot.main(Neo4jBoot.java:30)
neo4j@debian10:/home/dbtech$
Listing the neo4j.log file:
neo4j@debian10:/home/dbtech$ cat /var/log/neo4j/neo4j.log
2023-04-03 15:57:44.124+0000 INFO Starting...
2023-04-03 15:57:45.236+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.RuntimeException: java.io.EOFException
at org.neo4j.dbms.identity.AbstractIdentityModule.readOrGenerate(AbstractIdentityModule.java:61) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.DefaultIdentityModule.(DefaultIdentityModule.java:40) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.DefaultIdentityModule.(DefaultIdentityModule.java:33) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.graphdb.factory.module.edition.CommunityEditionModule.(CommunityEditionModule.java:134) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:135) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:38) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:171) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:87) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:30) ~[neo4j-5.6.0.jar:5.6.0]
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:273) ~[?:?]
at org.neo4j.io.fs.InputStreamReadableChannel.get(InputStreamReadableChannel.java:35) ~[neo4j-io-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.ServerIdMarshal.unmarshal0(ServerIdMarshal.java:48) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.ServerIdMarshal.unmarshal0(ServerIdMarshal.java:28) ~[neo4j-5.6.0.jar:5.6.0]
at org.neo4j.io.marshal.SafeChannelMarshal.unmarshal(SafeChannelMarshal.java:36) ~[neo4j-io-5.6.0.jar:5.6.0]
at org.neo4j.io.state.SimpleFileStorage.readState(SimpleFileStorage.java:51) ~[neo4j-io-5.6.0.jar:5.6.0]
at org.neo4j.dbms.identity.AbstractIdentityModule.readOrGenerate(AbstractIdentityModule.java:46) ~[neo4j-5.6.0.jar:5.6.0]
... 8 more
2023-04-03 15:57:45.246+0000 INFO Neo4j Server shutdown initiated by request
2023-04-03 15:57:45.247+0000 INFO Stopped.
neo4j@debian10:/home/dbtech$
So, is there a bug 5.6.0 community edition?