I'm new to graph database and Neo4j. Just downloaded the Neo4j Desktop v1.5.7 but I can't connect to any local database including the sample Movie DBMS from Neo4j desktop. I keep getting the "DBMS failed to start : DBMS process terminated, see logs.." error.
Desktop log says :
Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474
Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
Didn't work out.. I'm trying to solve the problem for 2 days. Whatever I do, I keep facing this error which I can't understand.
2023-03-22 11:44:37.393+0000 INFO Starting...
2023-03-22 11:44:38.741+0000 ERROR Failed to start Neo4j on localhost:7474.
org.neo4j.cypher.internal.options.InvalidCypherOption: DISABLED is not a valid option for parallelRuntimeSupport. Valid options are: disabled, all
at org.neo4j.cypher.internal.options.CypherOptionCompanion.invalidValueError(CypherOption.scala:146) ~[neo4j-cypher-config-5.3.0.jar:5.3.0]
at org.neo4j.cypher.internal.options.CypherOptionCompanion.$anonfun$fromValue$2(CypherOption.scala:140) ~[neo4j-cypher-config-5.3.0.jar:5.3.0]
at scala.Option.getOrElse(Option.scala:201) ~[scala-library-2.13.10.jar:?]
at
..
..
..
..
I've shared the whole error in my first entry.
Here, it says DISABLED is not a valid option for parallelRuntimeSupport. Valid options are: disabled, all.
Error log points to some files. (like neo4j-cypher-config-5.3.0.jar) But when I check these files with the find command (Ctrl+F), I don't see any "DISABLED". But I see "disabled".
The problem has been identified. Until a new update of Neo4j Desktop is released here is the workaround. Add these values to your DBMS settings. The problem was identified as a language error where the locale has a dotless "i".
The problem is only for a particular database and all other are working fine.
for further clarification which logs should I share?
This is the neo4j.logs:
(Showing last 100 lines...)
Caused by: java.lang.NoSuchFieldError: V_5_1
at org.neo4j.gds.compat._51.Neo4jProxyFactoryImpl.canLoad(Neo4jProxyFactoryImpl.java:32) ~[neo4j-graph-data-science-2.4.6.jar:?]
at org.neo4j.gds.compat.ProxyUtil.lambda$loadProxyInfo$4(ProxyUtil.java:157) ~[graph-data-science-2.6.8.jar:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.ServiceLoader$ProviderSpliterator.tryAdvance(ServiceLoader.java:1499) ~[?:?]
at java.util.Spliterator.forEachRemaining(Spliterator.java:332) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
at org.neo4j.gds.compat.ProxyUtil.loadProxyInfo(ProxyUtil.java:161) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.compat.ProxyUtil.loadAndValidateProxyInfo(ProxyUtil.java:77) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.compat.ProxyUtil.lambda$findProxyInfo$0(ProxyUtil.java:63) ~[graph-data-science-2.6.8.jar:?]
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) ~[?:?]
at org.neo4j.gds.compat.ProxyUtil.findProxyInfo(ProxyUtil.java:61) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.compat.ProxyUtil.findProxy(ProxyUtil.java:52) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.compat.Neo4jProxy.<clinit>(Neo4jProxy.java:93) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.procedure.facade.GraphStoreCatalogProcedureFacadeExtension.newInstance(GraphStoreCatalogProcedureFacadeExtension.java:54) ~[neo4j-graph-data-science-2.4.6.jar:?]
at org.neo4j.gds.procedure.facade.GraphStoreCatalogProcedureFacadeExtension.newInstance(GraphStoreCatalogProcedureFacadeExtension.java:40) ~[neo4j-graph-data-science-2.4.6.jar:?]
at org.neo4j.kernel.extension.AbstractExtensions.newInstance(AbstractExtensions.java:125) ~[neo4j-kernel-5.12.0.jar:5.12.0]
at org.neo4j.kernel.extension.AbstractExtensions.init(AbstractExtensions.java:63) ~[neo4j-kernel-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:318) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:57) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:86) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.12.0.jar:5.12.0]
... 8 more
2024-07-24 15:29:40.155+0000 INFO Neo4j Server shutdown initiated by request
2024-07-24 15:29:40.156+0000 INFO Stopped.
2024-07-24 15:36:46.226+0000 INFO Running in daemon mode, all <Console> appenders will be suppressed:
2024-07-24 15:36:46.234+0000 INFO Removing console appender 'ConsoleAppender' with target 'SYSTEM_OUT'.
2024-07-24 15:36:46.237+0000 INFO Logging config in use: File '/Users/mac/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-66d333e5-a6a9-4c53-a13e-f290ab09aab1/conf/user-logs.xml'
2024-07-24 15:36:46.253+0000 INFO The license agreement was accepted with environment variable NEO4J_ACCEPT_LICENSE_AGREEMENT=yes when the Software was started.
2024-07-24 15:36:46.413+0000 WARN Use of deprecated setting 'dbms.backup.enabled'. It is replaced by 'server.backup.enabled'.
2024-07-24 15:36:46.414+0000 WARN Use of deprecated setting 'dbms.jvm.additional'. It is replaced by 'server.jvm.additional'.
2024-07-24 15:36:46.414+0000 WARN Use of deprecated setting 'dbms.memory.pagecache.size'. It is replaced by 'server.memory.pagecache.size'.
2024-07-24 15:36:46.414+0000 WARN Use of deprecated setting 'dbms.memory.heap.max_size'. It is replaced by 'server.memory.heap.max_size'.
2024-07-24 15:36:46.415+0000 WARN Use of deprecated setting 'dbms.memory.heap.initial_size'. It is replaced by 'server.memory.heap.initial_size'.
2024-07-24 15:36:46.428+0000 INFO Starting...
2024-07-24 15:36:51.019+0000 INFO ======== Neo4j 5.12.0 ========
2024-07-24 15:36:51.056+0000 INFO This instance is ServerId{cadb3586} (cadb3586-7473-4a08-b8fb-4745c175f4b6)
2024-07-24 15:36:51.093+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.RuntimeException: Error starting Neo4j database server at /Users/mac/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-66d333e5-a6a9-4c53-a13e-f290ab09aab1/data/databases
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:272) ~[neo4j-5.12.0.jar:5.12.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:208) ~[neo4j-5.12.0.jar:5.12.0]
at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.12.0.jar:5.12.0]
at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.12.0.jar:5.12.0]
at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.12.0.jar:5.12.0]
at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.12.0.jar:5.12.0]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.12.0.jar:5.12.0]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.12.0.jar:5.12.0]
at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.12.0.jar:5.12.0]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.extension.GlobalExtensions@31133b6e' failed to initialize. Please see the attached cause exception "V_5_1".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:335) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:57) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:86) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.12.0.jar:5.12.0]
... 8 more
Caused by: org.neo4j.kernel.extension.FailedToBuildExtensionException: Failed to build kernel extension Extension:GraphStoreCatalogProcedureFacadeExtension[gds.procedure_facade] because it is compiled with a reference to a class, method, or field, that is not in the class path: 'V_5_1'. The most common cause of this problem, is that Neo4j has been upgraded without also upgrading all installed extensions, such as APOC. Make sure that all of your extensions are build against your specific version of Neo4j.
at org.neo4j.kernel.extension.ExtensionFailureStrategies.wrap(ExtensionFailureStrategies.java:56) ~[neo4j-kernel-5.12.0.jar:5.12.0]
at org.neo4j.kernel.extension.ExtensionFailureStrategies$1.handle(ExtensionFailureStrategies.java:68) ~[neo4j-kernel-5.12.0.jar:5.12.0]
at org.neo4j.kernel.extension.AbstractExtensions.init(AbstractExtensions.java:69) ~[neo4j-kernel-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:318) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:57) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:86) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.12.0.jar:5.12.0]
... 8 more
Caused by: java.lang.NoSuchFieldError: V_5_1
at org.neo4j.gds.compat._51.Neo4jProxyFactoryImpl.canLoad(Neo4jProxyFactoryImpl.java:32) ~[neo4j-graph-data-science-2.4.6.jar:?]
at org.neo4j.gds.compat.ProxyUtil.lambda$loadProxyInfo$4(ProxyUtil.java:157) ~[graph-data-science-2.6.8.jar:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.ServiceLoader$ProviderSpliterator.tryAdvance(ServiceLoader.java:1499) ~[?:?]
at java.util.Spliterator.forEachRemaining(Spliterator.java:332) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
at org.neo4j.gds.compat.ProxyUtil.loadProxyInfo(ProxyUtil.java:161) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.compat.ProxyUtil.loadAndValidateProxyInfo(ProxyUtil.java:77) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.compat.ProxyUtil.lambda$findProxyInfo$0(ProxyUtil.java:63) ~[graph-data-science-2.6.8.jar:?]
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) ~[?:?]
at org.neo4j.gds.compat.ProxyUtil.findProxyInfo(ProxyUtil.java:61) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.compat.ProxyUtil.findProxy(ProxyUtil.java:52) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.compat.Neo4jProxy.<clinit>(Neo4jProxy.java:93) ~[graph-data-science-2.6.8.jar:?]
at org.neo4j.gds.procedure.facade.GraphStoreCatalogProcedureFacadeExtension.newInstance(GraphStoreCatalogProcedureFacadeExtension.java:54) ~[neo4j-graph-data-science-2.4.6.jar:?]
at org.neo4j.gds.procedure.facade.GraphStoreCatalogProcedureFacadeExtension.newInstance(GraphStoreCatalogProcedureFacadeExtension.java:40) ~[neo4j-graph-data-science-2.4.6.jar:?]
at org.neo4j.kernel.extension.AbstractExtensions.newInstance(AbstractExtensions.java:125) ~[neo4j-kernel-5.12.0.jar:5.12.0]
at org.neo4j.kernel.extension.AbstractExtensions.init(AbstractExtensions.java:63) ~[neo4j-kernel-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:318) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:57) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:86) ~[neo4j-common-5.12.0.jar:5.12.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.12.0.jar:5.12.0]
... 8 more
2024-07-24 15:36:51.104+0000 INFO Neo4j Server shutdown initiated by request
2024-07-24 15:36:51.106+0000 INFO Stopped.