Neo4j StartService失败1053 [英] Neo4j StartService Failed 1053
问题描述
最近我遇到了有关Neo4j的问题. 当我启动Neo4j Server时,它已成功安装,但是当我启动该服务时,错误来了,它报告: [SC] StartService失败:1053 该服务未及时响应启动或控制请求.
recentely I met a problem about Neo4j. As I start Neo4j Server,it was installed successfully,but when i start the service,error comes,it reports: [SC]StartService FAILED:1053 The service did not respond to the start or control request in a timely fashion.
然后我使用:Neo4j.bat控制台,它运行良好,但是我仍然无法访问localhost:7474
Then I use : Neo4j.bat console ,it works well,but i still can't access localhost:7474
我的开发环境是:Neo4j-community-1.9.M01,操作系统是Win7 64bit
my dev env is: Neo4j-community-1.9.M01 and the os is Win7 64bit
有人知道原因吗? 非常感谢
Anyone knows the reason? Many Thanks
推荐答案
启动powershell并转到Neo4j捆绑包中的/bin目录.运行以下命令:
Fire up powershell and head to the /bin directory in your Neo4j bundle. Run the following command:
PS .. \ neo4j-community-1.9.M03 \ bin> ./Neo4j.bat控制台
PS ..\neo4j-community-1.9.M03\bin> ./Neo4j.bat console
如果出现类似无法访问jarfile C:\ PROGRA〜1 \ NEO4J-〜1.1 \ bin \ windows-service-wrapper-*.jar"的错误,则打开一个快速修复程序/bin/base.bat与任何文本编辑器(可能是记事本),然后更改此行:
If you get an error that says something like, "Unable to access jarfile C:\PROGRA~1\NEO4J-~1.1\bin\windows-service-wrapper-*.jar," then a quick fix is to open /bin/base.bat with any text editor (probably notepad) and then change this line:
设置wrapperJarFilename = windows-service-wrapper-*.jar
set wrapperJarFilename=windows-service-wrapper-*.jar
此行:
设置wrapperJarFilename = windows-service-wrapper-4.jar
set wrapperJarFilename=windows-service-wrapper-4.jar
我不确定通配符为什么不起作用,但这使我可以安装Neo4j.我在这里找到了解决方案: https://github.com/neo4j/neo4j/issues/391
I'm not sure why the wildcard isn't working, but this allowed me to install Neo4j. I found the solution here: https://github.com/neo4j/neo4j/issues/391
这篇关于Neo4j StartService失败1053的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!