cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Pause, resolving how to handle anonymous content

Hello community, I am new to Neo4j. I just installed Neo4j desktop and am facing some errors. Could you please help me out?

I just installed Neo4j desktop from here .In the default project 'My Project' I created a new Local Graph. I got the following error when I clicked on the start button on the graph. I haven't installed Neo 4j server, or drivers. Am i supposed to?
Any help would be appreciated. Thanks in advance.

2019-07-17 08:58:48.797+0000 INFO ======== Neo4j 3.5.6 ========
2019-07-17 08:58:48.806+0000 INFO Starting...
2019-07-17 08:58:50.634+0000 INFO Initiating metrics...
2019-07-17 08:58:53.150+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@369c9bb' was successfully initialized, but failed to start. Please see the attached cause exception "Invalid argument: socket". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@369c9bb' was successfully initialized, but failed to start. Please see the attached cause exception "Invalid argument: socket".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@369c9bb' was successfully initialized, but failed to start. Please see the attached cause exception "Invalid argument: socket".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:45)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:187)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:124)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:91)
at com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntryPoint.java:22)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@369c9bb' was successfully initialized, but failed to start. Please see the attached cause exception "Invalid argument: socket".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:473)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:180)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory, H:\neo 4j\neo4jDatabases\database-71a806fa-ac4c-42c1-bb46-6350e68a5a31\installation-3.5.6\data\databases
at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:230)
at com.neo4j.commercial.edition.CommercialGraphDatabase.(CommercialGraphDatabase.java:20)
at com.neo4j.server.database.CommercialGraphFactory.newGraphDatabase(CommercialGraphFactory.java:40)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:90)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.NeoStoreDataSource@5b4d25e7' was successfully initialized, but failed to start. Please see the attached cause exception "Invalid argument: socket".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:473)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:116)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:225)
... 9 more
Caused by: java.lang.RuntimeException: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.backup.OnlineBackupKernelExtension@1e6dad8' was successfully initialized, but failed to start. Please see the attached cause exception "Invalid argument: socket".
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:460)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
... 14 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.backup.OnlineBackupKernelExtension@1e6dad8' was successfully initialized, but failed to start. Please see the attached cause exception "Invalid argument: socket".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:473)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
at org.neo4j.kernel.extension.AbstractKernelExtensions.start(AbstractKernelExtensions.java:82)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:444)
... 15 more
Caused by: java.lang.RuntimeException: org.jboss.netty.channel.ChannelException: Failed to create a selector.
at org.neo4j.backup.OnlineBackupKernelExtension.start(OnlineBackupKernelExtension.java:127)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
... 22 more
Suppressed: org.neo4j.kernel.lifecycle.LifecycleException: Exception during graceful attempt to stop partially started component. Please use non suppressed exception to see original component failure.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:464)
... 22 more
Caused by: java.lang.NullPointerException
at org.neo4j.com.Server.stop(Server.java:196)
at org.neo4j.backup.OnlineBackupKernelExtension.stop(OnlineBackupKernelExtension.java:137)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:460)
... 22 more
Caused by: org.jboss.netty.channel.ChannelException: Failed to create a selector.
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:362)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.(AbstractNioSelector.java:100)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.(AbstractNioWorker.java:52)
at org.jboss.netty.channel.socket.nio.NioWorker.(NioWorker.java:45)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:45)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:28)
at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.newWorker(AbstractNioWorkerPool.java:142)
at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.init(AbstractNioWorkerPool.java:80)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.(NioWorkerPool.java:39)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.(NioWorkerPool.java:33)
at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.(NioServerSocketChannelFactory.java:149)
at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.(NioServerSocketChannelFactory.java:131)
at org.neo4j.com.Server.start(Server.java:164)
at org.neo4j.backup.OnlineBackupKernelExtension.start(OnlineBackupKernelExtension.java:108)
... 23 more
Caused by: java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.(PipeImpl.java:171)
at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
at java.nio.channels.Pipe.open(Pipe.java:155)
at sun.nio.ch.WindowsSelectorImpl.(WindowsSelectorImpl.java:127)
at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
at java.nio.channels.Selector.open(Selector.java:227)
at org.jboss.netty.channel.socket.nio.SelectorUtil.open(SelectorUtil.java:63)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:360)
... 36 more
Caused by: java.net.SocketException: Invalid argument: socket
at sun.nio.ch.Net.socket0(Native Method)
at sun.nio.ch.Net.serverSocket(Net.java:415)
at sun.nio.ch.ServerSocketChannelImpl.(ServerSocketChannelImpl.java:88)
at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(SelectorProviderImpl.java:56)
at java.nio.channels.ServerSocketChannel.open(ServerSocketChannel.java:108)
at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:120)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76)
... 46 more

2 REPLIES 2

Hello Krishna and welcome to our community!

From this stack trace, it looks like there is a port contention issue. Did you try restarting your system to see if that cleared it up?

Elaine

Hey Elaine,
The issue was resolved after I changed the data path.
Thanks

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online