Neo4j 2.0.0-RC1无法安装为Windows服务 [英] Neo4j 2.0.0-RC1 unable to install as windows service

查看:475
本文介绍了Neo4j 2.0.0-RC1无法安装为Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用来安装Neo4j 2.0.0-M05作为Windows服务,这工作很好。有了2.0.0-RC1,它就没有了。

I used to install Neo4j 2.0.0-M05 as windows service, this worked great. With 2.0.0-RC1 it doesn't any more.

我可以下载安装程序。看来这个安装程序没有安装Neo4j作为服务的选项。它也不允许你设置一些目录(我喜欢的一切C:\apache\\\
eo4j);一些东西正存储在我的用户目录中。它不记得数据库的位置。所以,让zip只是真正的替代品,虽然zip文件只有一个版本,而安装程序进来的32位和64位?
现在尝试使用zip包我必须像以前一样运行一个.bat文件(我习惯了这个)。但是当我尝试安装,我得到:

With 2.0.0-RC1 I can download an installer. Seems that this installer does not have an option to install Neo4j as service. Also it doesn't let you set some directories (I like everything in C:\apache\neo4j); some stuff is being stored in my user directory. And it doesn't remember the location of the database. So that leaves the zip as only real alternative, though the zip file comes in only one version while the installer comes in 32bits and 64bits?? Anyway now trying with the zip package I have to run a .bat file just as before (i'm used to this). But when i try install, i get:

C:\apache\neo4j\bin>Neo4jInstaller.bat install
"WARNING: this installer is deprecated and may not be the optimal way to install Neo4j on your system."
"Please see the Neo4j Manual for up to date information on installing Neo4j."
Press any key to continue

两件事很奇怪。


  1. 这是唯一可以安装neo4j作为服务的选项,那么如何弃用呢?

  2. 按任意键只能继续响应到输入键。



问题



继续真正的问题:

Problem

Continuing on the the real problem:

Press any key to continue
[SC] CreateService SUCCESS
[SC] StartService FAILED 87:

The parameter is incorrect.



解决方法



我删除了.bat文件从2.0.0-RC1并将2.0.0-M05 bat文件复制到新版本。似乎开始新版本没有问题。

Workaround

I removed the .bat files from 2.0.0-RC1 and copied the 2.0.0-M05 bat files over to the new version. It seems to start the new version without a problem.

推荐答案

感谢您的反馈。有很多相关的开放github问题,我们将在去GA之前清理。即使这样,你的结论是正确的,现在安装作为服务需要下载.zip分发。我们将在下载页面中更清楚。

Thanks for the feedback. There are open github issues related to much of this, which we'll clean up before going to GA. Even then, your conclusion is correct, that for now installation as a service requires downloading the .zip distribution. We'll make that more clear in the download page.

通常,安装为Windows服务是我们正在努力改进的。我想和你聊聊你的特定部署场景。请给我一行在andreas@neotechnology.com。

Generally, installation as a windows service is something we're working to improve. I'd love to chat with you a bit about your particular deployment scenario. Please drop me a line at andreas@neotechnology.com.

Best,
Andreas

Best, Andreas

这篇关于Neo4j 2.0.0-RC1无法安装为Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆