Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-22-2021 10:08 AM
Hello there,
I am facing a problem for a while and I still dont know what
s wrong. Desktop-Version: 1.4.8
I can`t start any DBMS, no matter which version it is. Once it worked perfectly, but than I got the massage "DMBS failed to start: DBMS process terminated, see logs... "
My log.log-File:
The Ports 7474 and 7687 are not in use from other programs, so is there something that I am missing?
The config-file is also on default.
Any recommends please?!
09-23-2021 12:45 AM
Hi @dionisios95 ,
Sorry to hear about that, that's frustrating. There isn't a clear indication from that log file snippet about what might be wrong. The ports refusing connection could either be because the process has failed, or because something is blocking the port access.
What OS are you running on? And what user/admin permissions do you have? Can you think of anything else that might've changed on your system?
Also, could you attach your neo4j.log
? In Desktop, select the DBMS, then click on the three-dots menu, then choose "Logs..." to see a window which shows all the logs. Click on the neo4j.log
-ABK
09-23-2021 02:09 AM
Hello Andreas,
it is working on Windows 10, admin-rights.
The neo4j.log-file:
The mentioned file neo4j-start.ps1:
09-23-2021 04:27 AM
Thank you for the extra detail.
The ClassNotFoundException
looks like the reason for the script failing. When the script runs, it creates a "classpath" to look for Neo4j components. That is failing for some reason, either because the location is wrong or because of a permission problem.
You mention this was previously working, and that now no DBMS will launch. Does it also fail for newly created DBMSes?
-ABK
09-23-2021 04:22 PM
Yes it does. I will get the same error for a new created DBMS, no matter which version (4.2.x or 4.3.x)
My Neo4J_HOME (user & system)-variable is on ...\Local\Neo4j\Relate\Data\dbmss\dbms-1878d38c-984a-43e4-af4f-cc13f8b41102 , which is my main dbms, I am using.
Is this right or does this no matter?
11-18-2021 01:15 AM
We had exactly the same issue for one developer, and the fun thing is that it started quite suddenly. The DB worked perfectly for months, and then it suddenly stopped working when he upgraded his DB version from 4.2.x or 4.3.x to 4.3.6.
We tried uninstall, delete everything, reinstall; compared class files between installations etc. No luck.
In the end @abk's comment about neo4j-start.ps1 setting the classpath brought us to the right idea. The developer had once installed Neo4j 3.5 using the Windows package manager "chocolatey" (we didn't have any experience with Neo4j Desktop back then). After we noticed this only installs 3.5 (and we wanted to start with 4) we switched to Neo4j Desktop.
Unfortunately, the chocolatey package globally sets NEO4J_HOME environment variable to its own installation (c:\tools\neo4j-community or something). Removing that environment variable and removing leftovers from the chocolatey package fixed the problem, the DB started again.
@dionisios95 if you still have the problem, I suggest you check the NEO4J_HOME variable or delete it. My installation doesn't require it to be set in Windows.
My proposal for Neo4j would be to do more logging inside the startup scripts. We could have found this issue a lot sooner if the startup scripts log their actions. The error message "class not found" is not really helpful if I don't know what the classpath is.
11-25-2021 06:12 AM
I'm having this issue. Neo4J was working fine for the last month... then an update notification popped up today so I pressed update. Now I can't open any of my databases....
Have never installed previous versions using anything like Chocolatey... only using the exe installer direct from the website. Current version is 1.4.9
Any help greatly appreciated...
11-26-2021 06:35 PM
Have you upgraded java base version behind the scenes?
Thanking you
-Sameer S G
10-01-2022 03:27 AM
Neo4j Desktop. Windows 10.
I ended up with a very similar situation, where I can't confirm the cause. One minute DB was working fine, next none of mine would start. Errors connecting, vague messages about ports, nothing of note in the logs.
I couldn't actually locate 'NEO4J_HOME' in my system or user variables, but did spot the mark of Chocolatey in both. "ChocolateyLastPathUpdate" + "ChocolateyInstall" so learnt something here.
My (non) resolution to the problem was upgrading my DBMS one tier, and everything now starts again fine. Wish the logs were more verbose.
All the sessions of the conference are now available online