Macos &引用;launchctl启动错误:错误的文件描述符";尝试启动Neo4j服务器时

Macos &引用;launchctl启动错误:错误的文件描述符";尝试启动Neo4j服务器时,macos,neo4j,Macos,Neo4j,尝试启动服务器后,出现错误“launchctl start error:Bad file descriptor” 我尝试重新启动计算机,并重新安装了Neo4j 我正在mac上运行2.0的M03版本,并有最新更新。我必须将其从launchd中删除,然后它才能正常工作,如下所示: balinjdl-mac:local balinjdl$ neo4j start WARNING! You are using an unsupported version of the Java runtime. Ple

尝试启动服务器后,出现错误“launchctl start error:Bad file descriptor”

我尝试重新启动计算机,并重新安装了Neo4j


我正在mac上运行2.0的M03版本,并有最新更新。

我必须将其从launchd中删除,然后它才能正常工作,如下所示:

balinjdl-mac:local balinjdl$ neo4j start
WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
Using additional JVM arguments:  -server -XX:+DisableExplicitGC Dorg.neo4j.server.properties=conf/neo4j-server.properties Djava.util.logging.config.file=conf/logging.properties Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC XX:+CMSClassUnloadingEnabled -Dneo4j.ext.udc.source=homebrew
Detected installation in launchd, starting it...
launchctl start error: Bad file descriptor

balinjdl-mac:local balinjdl$ neo4j remove

balinjdl-mac:local balinjdl$ neo4j start
WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
Using additional JVM arguments:  -server -XX:+DisableExplicitGC Dorg.neo4j.server.properties=conf/neo4j-server.properties Djava.util.logging.config.file=conf/logging.properties Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC XX:+CMSClassUnloadingEnabled -Dneo4j.ext.udc.source=homebrew
Starting Neo4j Server...WARNING: not changing user
process [36824]... waiting for server to be ready......... OK.
Go to http://localhost:7474/webadmin/ for administration interface.
balinjdl-mac:local balinjdl$

希望这有帮助

我必须将它从launchd中删除,然后它才能工作,如下所示:

balinjdl-mac:local balinjdl$ neo4j start
WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
Using additional JVM arguments:  -server -XX:+DisableExplicitGC Dorg.neo4j.server.properties=conf/neo4j-server.properties Djava.util.logging.config.file=conf/logging.properties Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC XX:+CMSClassUnloadingEnabled -Dneo4j.ext.udc.source=homebrew
Detected installation in launchd, starting it...
launchctl start error: Bad file descriptor

balinjdl-mac:local balinjdl$ neo4j remove

balinjdl-mac:local balinjdl$ neo4j start
WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
Using additional JVM arguments:  -server -XX:+DisableExplicitGC Dorg.neo4j.server.properties=conf/neo4j-server.properties Djava.util.logging.config.file=conf/logging.properties Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC XX:+CMSClassUnloadingEnabled -Dneo4j.ext.udc.source=homebrew
Starting Neo4j Server...WARNING: not changing user
process [36824]... waiting for server to be ready......... OK.
Go to http://localhost:7474/webadmin/ for administration interface.
balinjdl-mac:local balinjdl$

希望这有帮助

我有一个与@balinjdl稍有不同的方法(他的方法似乎更流畅,但万一对某人不起作用),我直接将其从launchctl中删除

首先在launchctl中找到条目:

$ launchctl list | grep neo
-       2   org.neo4j.server.7474
下一步删除它:

$ launchctl remove org.neo4j.server.7474
现在,您可以再次安装它,并通过以下方式启动它:

$ neo4j install
我必须使用自制软件从M03到M05进行此操作。鉴于以前的版本对您来说是个问题,我想这可能是您在升级neo4j时需要做的事情


祝你好运

我有一个与@balinjdl稍有不同的方法(他的方法似乎更流畅,但万一对某人不起作用),我直接将其从launchctl中删除

首先在launchctl中找到条目:

$ launchctl list | grep neo
-       2   org.neo4j.server.7474
下一步删除它:

$ launchctl remove org.neo4j.server.7474
现在,您可以再次安装它,并通过以下方式启动它:

$ neo4j install
我必须使用自制软件从M03到M05进行此操作。鉴于以前的版本对您来说是个问题,我想这可能是您在升级neo4j时需要做的事情


祝你好运

你能说出准确的错误吗?这是否仅适用于M03?是否尝试将服务器作为服务启动?只是在我的mac电脑上本地做了,很好。你能公布准确的错误吗?这是否仅适用于M03?是否尝试将服务器作为服务启动?只是在我的mac电脑上本地完成了,一切都很好。