启动neo4j会给出异常说法"地址127.0.0.1:7687已经在使用,无法绑定到它"

时间:2017-11-15 10:21:34

标签: java neo4j

通过运行./bin/neo4j从Ubuntu终端启动neo4j浏览器时,发生以下错误。我该如何解决这个错误?

  

错误启动Neo4j失败:启动Neo4j失败:组件   ' org.neo4j.server.database.LifecycleManagingDatabase@bdc8014'是   已成功初始化,但未能启动。请参阅附件   导致异常"地址127.0.0.1:7687已在使用中,无法绑定   对它来说。"。启动Neo4j失败:组件   ' org.neo4j.server.database.LifecycleManagingDatabase@bdc8014'是   已成功初始化,但未能启动。请参阅附件   导致异常"地址127.0.0.1:7687已在使用中,无法绑定   对它来说。"。 org.neo4j.server.ServerStartupException:启动Neo4j   失败:组件   ' org.neo4j.server.database.LifecycleManagingDatabase@bdc8014'是   已成功初始化,但未能启动。请参阅附件   导致异常"地址127.0.0.1:7687已在使用中,无法绑定   对它来说。"。在   org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)     在   org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:219)     在   org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:111)     在   org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:79)     在   org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32)   引起:org.neo4j.kernel.lifecycle.LifecycleException:Component   ' org.neo4j.server.database.LifecycleManagingDatabase@bdc8014'是   已成功初始化,但未能启动。请参阅附件   导致异常"地址127.0.0.1:7687已在使用中,无法绑定   对它来说。"。在   org.neo4j.kernel.lifecycle.LifeSupport $ LifecycleInstance.start(LifeSupport.java:466)     在org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)     在   org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211)     ... 3更多引起:java.lang.RuntimeException:启动时出错   org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory,   /home/app42admin/neo4jcommunityedition/neo4j-community-3.4.0-alpha01/data/databases/graph.db     在   org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:211)     在   org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:126)     在   org.neo4j.server.CommunityNeoServer.lambda $静态$ 0(CommunityNeoServer.java:58)     在   org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:88)     在   org.neo4j.kernel.lifecycle.LifeSupport $ LifecycleInstance.start(LifeSupport.java:445)     ... 5更多引起:org.neo4j.kernel.lifecycle.LifecycleException:   组件' org.neo4j.bolt.transport.NettyServer@3e850122'是   已成功初始化,但未能启动。请参阅附件   导致异常"地址127.0.0.1:7687已在使用中,无法绑定   对它来说。"。在   org.neo4j.kernel.lifecycle.LifeSupport $ LifecycleInstance.start(LifeSupport.java:466)     在org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)     在   org.neo4j.kernel.lifecycle.LifeSupport $ LifecycleInstance.start(LifeSupport.java:445)     在org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)     在   org.neo4j.kernel.extension.KernelExtensions.start(KernelExtensions.java:84)     在   org.neo4j.kernel.lifecycle.LifeSupport $ LifecycleInstance.start(LifeSupport.java:445)     在org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)     在   org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:207)     ... 9更多引起:org.neo4j.helpers.PortBindException:地址   127.0.0.1:7687已经在使用中,无法绑定到它。在io.netty.channel.unix.Errors.newIOException(Errors.java:117)at at   io.netty.channel.unix.Socket.bind(Socket.java:285)at   io.netty.channel.epoll.AbstractEpollChannel.doBind(AbstractEpollChannel.java:696)     在   io.netty.channel.epoll.EpollServerSocketChannel.doBind(EpollServerSocketChannel.java:70)     在   io.netty.channel.AbstractChannel $ AbstractUnsafe.bind(AbstractChannel.java:558)     在   io.netty.channel.DefaultChannelPipeline $ HeadContext.bind(DefaultChannelPipeline.java:1283)     在   io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501)     在   io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486)     在   io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:989)     at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254)     在   io.netty.bootstrap.AbstractBootstrap $ 2.run(AbstractBootstrap.java:365)     在   io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)GT;在   io.netty.util.concurrent.SingleThreadEventExecutor.runAllTask​​s(SingleThreadEventExecutor.java:403)     在io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:309)     在   io.netty.util.concurrent.SingleThreadEventExecutor $ 5.run(SingleThreadEventExecutor.java:858)     在java.lang.Thread.run(Thread.java:748)2017-11-15 09:54:42.077 + 0000   由请求

启动的INFO Neo4j服务器关闭

1 个答案:

答案 0 :(得分:0)

根错误为Address 127.0.0.1:7687 is already in use, cannot bind to it

因此,您的计算机上已有使用端口7687的内容。

你有另一个正在运行的Neo4j实例吗? 或者你有一个我使用端口7687的其他服务器?