Total Pageviews

2018/05/14

[Neo4j] Fail to start Neo4j Server

Problem
As I try to startup neo4j server, I get this error message:
F:\software\neo4j-community-3.3.3\bin>neo4j start
Invoke-Neo4j : 找不到任何服務名稱為 'neo4j' 的服務。
位於 線路:1 字元:213
+ ... community-3.3.3\bin\Neo4j-Management.psd1'; Exit (Invoke-Neo4j start)
+                                                       ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4j

How-To
Try to uninstall service, install service and start again
F:\software\neo4j-community-3.3.3\bin>neo4j uninstall-service
Neo4j uninstalled

F:\software\neo4j-community-3.3.3\bin>neo4j install-service
Neo4j service installed

F:\software\neo4j-community-3.3.3\bin>neo4j start
警告: 正在等候 'Neo4j Graph Database - neo4j (neo4j)' 服務啟動...
Neo4j windows service started

Referance
[1] https://github.com/neo4j/neo4j/issues/9257

No comments: