cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

"Unable to register procedure, because the name `apoc.static.get` is already in use

tideon
Graph Buddy

Dear Everyone,

###### UPDATE

I uninstalled the APOC 4.1.0.6 and tried again and the database started.
Does this help in fixing the issue / conflict?

######## UPDATE END

My database is starting any of the databases in a project. When I create a new project and database to see if it would start a test database, it starts it normally.

Here is the error given and the cause is also stated, but i don't understand what it is trying to tell me to fix:

at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:198)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:158)
at com.neo4j.server.enterprise.EnterpriseManagementServiceFactory.createManagementService(EnterpriseManagementServiceFactory.java:38)
at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:20)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:117)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:87)
at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:25)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@138aa3cc' was successfully initialized, but failed to start. Please see the attached cause exception "Unable to register procedure, because the name apoc.static.get is already in use.".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:463)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:189)
... 6 more
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: Unable to register procedure, because the name apoc.static.get is already in use.
at org.neo4j.procedure.impl.ProcedureRegistry.register(ProcedureRegistry.java:87)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.register(GlobalProceduresRegistry.java:143)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.register(GlobalProceduresRegistry.java:93)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:345)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442)

4 REPLIES 4

This error probably means that you have two copies of APOC in your plugins directory - one that was auto-installed by Desktop, and the other you may have installed yourself.

Use Desktop to open the terminal into the right directory, go into the plugins sub-directory and look for 2 APOC jar files. If you find 2, delete whichever one you don't want.

The error literally means that the database loaded a copy of APOC (which provided apoc.static.get) and then failed to load the second copy, which wanted to register a different process under the same name (which can't work)

Hello David,

Thank you for making this clear to me. The information is so cryptic, I would have never guest what you just explained. I looked into the directory in the fashion you explained, but there was only one APOC jar file there, none the less, I deleted it, and clicked the install.

Sidenote, even while I had already clicked uninstall from the GUI, it still remained there.

Update
I deleted the apoc that I found in the directory ( Even though there was only 1 in the directory ), then clicked the install button, where then a new file was pulled from the internet, and now it started with no issue.

There is also a second issue I am dealing with, that you may understand.

When I open Neo4j and then just start a database and let it just sit there idle ( 2-6 ) hours as I just did to test what is going on. It just consumed over 5.7 GB of hard-disk space on my boot drive. A didn't open the started /active database. I did nothing. I just keeps growing if I just leave it alone.

I just shut it down a few minutes ago and now the full 5.7 GB is back after about 10 min post shutdown.

The place where I have all ( DBMSS directory )the 3 small databases, there are many directories with a total of 20 GB.

Neo4j Desktop Version 1.4.1 (1.4.1.46)
Database version Version 4.1.3
APOC 4.1.0.6

Do you have any idea of why this is happening?

Hello Everyone,

having issue connecting to the local port. Does anyone have any suggestions of how to solve this issue? I have pasted the log below.

[2021-02-01 04:50:55.768] [info] Checking ports
[2021-02-01 04:50:55.887] [info] Starting Neo4j
[2021-02-01 04:50:55.889] [info] Starting db [database-afcc3b50-cb82-4001-92a6-691d67379e4e] 'v4.1.3'
[2021-02-01 04:50:58.188] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:50:58.208] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:50:58.212] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:50:58.230] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:50:59.588] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:50:59.591] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:50:59.593] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:50:59.594] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:00.810] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:00.812] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:00.817] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:00.818] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:02.169] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:02.274] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:02.277] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:02.290] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:03.530] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:03.534] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:03.541] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:03.543] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:04.757] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:04.759] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:04.767] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:04.768] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:06.004] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:06.009] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:06.019] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:06.020] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:07.245] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:07.247] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:07.273] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:07.274] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:08.489] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:08.491] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:08.496] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:08.497] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:09.772] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:09.774] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:09.790] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:09.794] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:11.059] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:11.061] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:11.063] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:11.065] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:12.390] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:12.454] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:12.531] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:12.532] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:13.818] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:13.820] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:13.859] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:13.860] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:15.183] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:15.185] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:15.188] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:15.189] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:16.435] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:16.437] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:16.439] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:16.441] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:17.664] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:17.666] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:17.676] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:17.677] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:18.910] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:18.912] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:18.918] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:18.920] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:20.155] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:20.157] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:20.160] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:20.164] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:21.373] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:21.374] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:21.377] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:21.378] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:22.602] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:22.604] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:22.606] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:22.608] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:23.831] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:23.833] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:23.835] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:23.837] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:25.095] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:25.097] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:25.107] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:25.108] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:28.384] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11010 }
[2021-02-01 04:51:28.386] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11011 }
[2021-02-01 04:51:28.408] [info] Neo4j @ 11010 is down. connect ECONNREFUSED 127.0.0.1:11010
[2021-02-01 04:51:28.409] [info] Neo4j @ 11011 is down. connect ECONNREFUSED 127.0.0.1:11011
[2021-02-01 04:51:28.653] [info] [1] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-02-01 04:51:28.807] [info] [1] Online check response: 200 version: 1.4.1

Hello Everyone,

There is also something really off with the log information and the desktop.

In the log above you can clearly see that the log says: Starting db [database-afcc3b50-cb82-4001-92a6-691d67379e4e] , but when I choose that same db on the desktop and choose open folder / DBMS. It opens into directory: dbms-07d1a5fb-af7d-4745-ac25-51fee37ddaa5

Can someone explain what is going on? And also I have three databases in total, but the db directory has over 19 db directories in it with a total of 20GB. And doe clarity, the database has around 1600 nodes per db maximum, and also none of them are able to update or dump.

Sometimes on a restart, the database is able to start and sometimes not.

I get this error often sometimes even with a fresh reboot:

Database BU04 can not be started due to conflicts with external processes.

To fix this problem, let us change these port configurations:

  • bolt : 11010 → 11004
  • http : 11011 → 11005

Also I cannot connect to localhost via https://localhost/
Thanks in advance