ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From waterg <jessie.jianwei....@gmail.com>
Subject visor failed to connect to cluster
Date Wed, 12 Apr 2017 22:37:05 GMT
The following error happened when starting visor command line



visor> open -cpath=../config/idreg-server-prod.xml
[18:24:55]    __________  ________________
[18:24:55]   /  _/ ___/ |/ /  _/_  __/ __/
[18:24:55]  _/ // (7 7    // /  / / / _/
[18:24:55] /___/\___/_/|_/___/ /_/ /___/
[18:24:55]
[18:24:55] ver. 1.8.0#20161205-sha1:9ca40dbe
[18:24:55] 2016 Copyright(C) Apache Software Foundation
[18:24:55]
[18:24:55] Ignite documentation: http://ignite.apache.org
[18:24:55]
[18:24:55] Quiet mode.
[18:24:55]   ^-- Logging to file
'/home/postgres_admin_1955/ignite/work/log/ignite-0a3215a4.0.log'
[18:24:55]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
or "-v" to ignite.{sh|bat}
[18:24:55]
[18:24:55] OS: Linux 2.6.32.54-0.29.TDC.1.R.8-default amd64
[18:24:55] VM information: Java(TM) SE Runtime Environment 1.8.0_121-b13
Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.121-b13
[18:24:55] Configured plugins:
[18:24:55]   ^-- None
[18:24:55]
[18:24:55,699][SEVERE][main][IgniteKernal] Failed to start manager:
GridManagerAdapter [enabled=true,
name=o.a.i.i.managers.communication.GridIoManager]
class org.apache.ignite.IgniteCheckedException: Failed to get SPI
attributes.
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:249)
        at
org.apache.ignite.internal.managers.communication.GridIoManager.start(GridIoManager.java:231)
        at
org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1584)
        at
org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:857)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1794)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1598)
        at
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1041)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:568)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:515)
        at org.apache.ignite.Ignition.start(Ignition.java:322)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand.open(VisorOpenCommand.scala:251)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand.open(VisorOpenCommand.scala:219)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand$$anonfun$2.apply(VisorOpenCommand.scala:306)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand$$anonfun$2.apply(VisorOpenCommand.scala:306)
        at
org.apache.ignite.visor.commands.VisorConsole.mainLoop(VisorConsole.scala:218)
        at
org.apache.ignite.visor.commands.VisorConsole$.delayedEndpoint$org$apache$ignite$visor$commands$VisorConsole$1(VisorConsole.scala:330)
        at
org.apache.ignite.visor.commands.VisorConsole$delayedInit$body.apply(VisorConsole.scala:319)
        at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
        at
scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.collection.immutable.List.foreach(List.scala:381)
        at
scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
        at scala.App$class.main(App.scala:76)
        at
org.apache.ignite.visor.commands.VisorConsole$.main(VisorConsole.scala:319)
        at
org.apache.ignite.visor.commands.VisorConsole.main(VisorConsole.scala)
Caused by: class org.apache.ignite.spi.IgniteSpiException: Failed to
initialize TCP server: 0.0.0.0/0.0.0.0
        at
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.getNodeAttributes(TcpCommunicationSpi.java:1481)
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:232)
        ... 25 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to bind to
any port within range [startPort=49100, portRange=100,
locHost=0.0.0.0/0.0.0.0]
        at
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.resetNioServer(TcpCommunicationSpi.java:1762)
        at
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.getNodeAttributes(TcpCommunicationSpi.java:1478)
        ... 26 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
initialize NIO selector.
        at
org.apache.ignite.internal.util.nio.GridNioServer.createSelector(GridNioServer.java:670)
        at
org.apache.ignite.internal.util.nio.GridNioServer.<init>(GridNioServer.java:289)
        at
org.apache.ignite.internal.util.nio.GridNioServer.<init>(GridNioServer.java:88)
        at
org.apache.ignite.internal.util.nio.GridNioServer$Builder.build(GridNioServer.java:2439)
        at
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.resetNioServer(TcpCommunicationSpi.java:1711)
        ... 27 more
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at
org.apache.ignite.internal.util.nio.GridNioServer.createSelector(GridNioServer.java:654)
        ... 31 more
[18:24:55,700][SEVERE][main][IgniteKernal] Got exception while starting
(will rollback startup routine).
class org.apache.ignite.IgniteCheckedException: Failed to start manager:
GridManagerAdapter [enabled=true,
name=org.apache.ignite.internal.managers.communication.GridIoManager]
        at
org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1589)
        at
org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:857)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1794)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1598)
        at
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1041)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:568)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:515)
        at org.apache.ignite.Ignition.start(Ignition.java:322)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand.open(VisorOpenCommand.scala:251)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand.open(VisorOpenCommand.scala:219)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand$$anonfun$2.apply(VisorOpenCommand.scala:306)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand$$anonfun$2.apply(VisorOpenCommand.scala:306)
        at
org.apache.ignite.visor.commands.VisorConsole.mainLoop(VisorConsole.scala:218)
        at
org.apache.ignite.visor.commands.VisorConsole$.delayedEndpoint$org$apache$ignite$visor$commands$VisorConsole$1(VisorConsole.scala:330)
        at
org.apache.ignite.visor.commands.VisorConsole$delayedInit$body.apply(VisorConsole.scala:319)
        at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
        at
scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.collection.immutable.List.foreach(List.scala:381)
        at
scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
        at scala.App$class.main(App.scala:76)
        at
org.apache.ignite.visor.commands.VisorConsole$.main(VisorConsole.scala:319)
        at
org.apache.ignite.visor.commands.VisorConsole.main(VisorConsole.scala)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to get SPI
attributes.
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:249)
        at
org.apache.ignite.internal.managers.communication.GridIoManager.start(GridIoManager.java:231)
        at
org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1584)
        ... 23 more
Caused by: class org.apache.ignite.spi.IgniteSpiException: Failed to
initialize TCP server: 0.0.0.0/0.0.0.0
        at
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.getNodeAttributes(TcpCommunicationSpi.java:1481)
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:232)
        ... 25 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to bind to
any port within range [startPort=49100, portRange=100,
locHost=0.0.0.0/0.0.0.0]
        at
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.resetNioServer(TcpCommunicationSpi.java:1762)
        at
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.getNodeAttributes(TcpCommunicationSpi.java:1478)
        ... 26 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
initialize NIO selector.
        at
org.apache.ignite.internal.util.nio.GridNioServer.createSelector(GridNioServer.java:670)
        at
org.apache.ignite.internal.util.nio.GridNioServer.<init>(GridNioServer.java:289)
        at
org.apache.ignite.internal.util.nio.GridNioServer.<init>(GridNioServer.java:88)
        at
org.apache.ignite.internal.util.nio.GridNioServer$Builder.build(GridNioServer.java:2439)
        at
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.resetNioServer(TcpCommunicationSpi.java:1711)
        ... 27 more
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at
org.apache.ignite.internal.util.nio.GridNioServer.createSelector(GridNioServer.java:654)
        ... 31 more
[18:24:55] Ignite node stopped OK [uptime=00:03:21:521]
(wrn) <visor>: Failed to start manager: GridManagerAdapter [enabled=true,
name=org.apache.ignite.internal.managers.communication.GridIoManager]
(wrn) <visor>: Type 'help open' to see how to use this command.


And here's the configuration part. Did we miss something here?
I used to be able to use visor commandline tool to connect to cluster.
Somehow it stopped working suddenly.
Thank you for your help!

  <property name="discoverySpi">
            <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">

                
                <property name="localPort" value="48500"/>

                
                <property name="localPortRange" value="20"/>

                <property name="ipFinder">
                    
                    
                    
                    <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
                        <property name="addresses">
                            <list>
                                
                                <value>153.65.30.150:48500..48520</value>
                                <value>153.65.30.149:48500..48520</value>
                            </list>
                        </property>
                    </bean>
                </property>
            </bean>
        </property>

        
        <property name="communicationSpi">
            <bean
class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi">
                <property name="localPort" value="49100"/>
            </bean>
        </property>

    </bean>



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/visor-failed-to-connect-to-cluster-tp11919.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message