β05-19-2020 11:42 AM
When pressing CTRL+C, the server used to stop: Everything fine.
All of a sudden, I don't get any messages when starting, and the server keeps running after CTRL+C. (Return to shell prompt, nothing happens.) I can still run queries via localhost:7474, and I can still run cypher-shell. (There is no neo4j service running. (neo4j status negative))
I seem to have to leave Windows to stop the server. I'm completely at a loss...
Any ideas?
Thanks in advance,
Michael
With verbose:
PS C:\users\hafnerm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5\bin> .\neo4j console -Verbose
AUSFΓHRLICH: Neo4j Root is 'C:\users\hafnerm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5'
AUSFΓHRLICH: Neo4j Server Type is 'Community'
AUSFΓHRLICH: Neo4j Version is '3.5.5'
AUSFΓHRLICH: Neo4j Database Mode is ''
AUSFΓHRLICH: Console command specified
AUSFΓHRLICH: Java detected at 'C:\Program Files\Java\jre1.8.0_212\bin\java.exe'
AUSFΓHRLICH: Invoking "C:\Program Files\Java\jre1.8.0_212\bin\java.exe" -version 2>&1
AUSFΓHRLICH: Command returned with exit code 0
AUSFΓHRLICH: Java version response: java version "1.8.0_212"
Java(TM) SE Runtime Environment (build 1.8.0_212-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)
AUSFΓHRLICH: Java Version detected as 1.8.0_212
AUSFΓHRLICH: Starting Neo4j as a console with command line C:\Program Files\Java\jre1.8.0_212\bin\java.exe -cp "C:\users\hafn
erm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5/lib/;C:\users\hafnerm\OneDrive - Deutsche Welle\daten\w
eb\htdocs\neo4j-community-3.5.5/plugins/" -server -Dlog4j.configuration=file:conf/log4j.properties -Dneo4j.ext.udc.source=zi
p-powershell -Dorg.neo4j.cluster.logdirectory=data/log -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+U
nlockExperimentalVMOptions -XX:+TrustFinalNonStaticFields -XX:+DisableExplicitGC -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.
rejectClientInitiatedRenegotiation=true -Dunsupported.dbms.udc.source=zip -Dfile.encoding=UTF-8 org.neo4j.server.CommunityEnt
ryPoint --config-dir="C:\users\hafnerm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5\conf" --home-dir="C:
users\hafnerm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5"
AUSFΓHRLICH: Returned exit code 1
β05-20-2020 09:32 AM
Hi
Have you checked if Ctrl-C stops/breaks other commands at the prompt? Try running a ping:
ping -t google.com
and see if Ctrl-C stops it. Are you in an Admin window? There might be something that changed in the defaults of the cmd windows too... in the menu if you click on the icon in the top left corner of the cmd window.
β05-21-2020 01:01 AM
Hi Oleg!
Thanks for the tip! CTRL+C works fine (e.g. with ping (Working with powershell as admin)).
On first start (after start of Windows session), neo4j starts w/o the usual messages...
2020-02-04 16:31:52.634+0000 INFO Starting...
2020-02-04 16:32:03.438+0000 INFO Bolt enabled on 127.0.0.1:7687.
Strange, but it starts. When starting verbose, it tells me:
AUSFΓHRLICH: Neo4j Root is 'C:\users\hafnerm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5'
AUSFΓHRLICH: Neo4j Server Type is 'Community'
AUSFΓHRLICH: Neo4j Version is '3.5.5'
AUSFΓHRLICH: Neo4j Database Mode is ''
AUSFΓHRLICH: Console command specified
AUSFΓHRLICH: Java detected at 'C:\Program Files\Java\jre1.8.0_212\bin\java.exe'
AUSFΓHRLICH: Invoking "C:\Program Files\Java\jre1.8.0_212\bin\java.exe" -version 2>&1
AUSFΓHRLICH: Command returned with exit code 0
AUSFΓHRLICH: Java version response: java version "1.8.0_212"
Java(TM) SE Runtime Environment (build 1.8.0_212-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)
AUSFΓHRLICH: Java Version detected as 1.8.0_212
AUSFΓHRLICH: Starting Neo4j as a console with command line C:\Program Files\Java\jre1.8.0_212\bin\java.exe -cp "C:\users\hafn
erm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5/lib/;C:\users\hafnerm\OneDrive - Deutsche Welle\daten\w
eb\htdocs\neo4j-community-3.5.5/plugins/" -server -Dlog4j.configuration=file:conf/log4j.properties -Dneo4j.ext.udc.source=zi
p-powershell -Dorg.neo4j.cluster.logdirectory=data/log -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+U
nlockExperimentalVMOptions -XX:+TrustFinalNonStaticFields -XX:+DisableExplicitGC -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.
rejectClientInitiatedRenegotiation=true -Dunsupported.dbms.udc.source=zip -Dfile.encoding=UTF-8 org.neo4j.server.CommunityEnt
ryPoint --config-dir="C:\users\hafnerm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5\conf" --home-dir="C:
users\hafnerm\OneDrive - Deutsche Welle\daten\web\htdocs\neo4j-community-3.5.5"
After CTRL+C, powershell returns to prompt; the server keeps running (match(n) return * returns results).
After another .\neo4j console -Verbose, it returns (v.s.) exit code 1. No surprise, if the server's still running, I assume.
Puzzled,
Michael