Related
I've configured Apache Ignite 1.8.0 programmatically and can start a server with a single node, but when another node joins, they cannot communicate and I receive many of the following two messages in the logs. These continue until the other node is stopped.
ERROR 12:52:39,187-0800 [*Initialization*] util.nio.GridDirectParser: Failed to read message [msg=null, buf=java.nio.DirectByteBuffer[pos=5 lim=420 cap=32768], reader=null, ses=GridSelectorNioSessionImpl [selectorIdx=0, queueSize=1, writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], readBuf=java.nio.DirectByteBuffer[pos=5 lim=420 cap=32768], recovery=null, super=GridNioSessionImpl [locAddr=/10.97.184.106:5702, rmtAddr=/10.97.189.92:58788, createTime=1484945559174, closeTime=0, bytesSent=0, bytesRcvd=420, sndSchedTime=1484945559174, lastSndTime=1484945559174, lastRcvTime=1484945559185, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=o.a.i.i.util.nio.GridDirectParser#21e93eaf, directMode=true], GridConnectionBytesVerifyFilter], accepted=true]]]
class org.apache.ignite.IgniteException: Invalid message type: -84
at org.apache.ignite.internal.managers.communication.GridIoMessageFactory.create(GridIoMessageFactory.java:805)
at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$5.create(TcpCommunicationSpi.java:1631)
at org.apache.ignite.internal.util.nio.GridDirectParser.decode(GridDirectParser.java:76)
at org.apache.ignite.internal.util.nio.GridNioCodecFilter.onMessageReceived(GridNioCodecFilter.java:104)
at org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:107)
at org.apache.ignite.internal.util.nio.GridConnectionBytesVerifyFilter.onMessageReceived(GridConnectionBytesVerifyFilter.java:113)
at org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:107)
at org.apache.ignite.internal.util.nio.GridNioServer$HeadFilter.onMessageReceived(GridNioServer.java:2332)
at org.apache.ignite.internal.util.nio.GridNioFilterChain.onMessageReceived(GridNioFilterChain.java:173)
at org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker.processRead(GridNioServer.java:918)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:1583)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1516)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1289)
at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
at java.lang.Thread.run(Thread.java:745)
WARN 12:52:39,188-0800 [*Initialization*] communication.tcp.TcpCommunicationSpi: Failed to process selector key (will close): GridSelectorNioSessionImpl [selectorIdx=0, queueSize=1, writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], readBuf=java.nio.DirectByteBuffer[pos=5 lim=420 cap=32768], recovery=null, super=GridNioSessionImpl [locAddr=/10.97.184.106:5702, rmtAddr=/10.97.189.92:58788, createTime=1484945559174, closeTime=0, bytesSent=0, bytesRcvd=420, sndSchedTime=1484945559174, lastSndTime=1484945559174, lastRcvTime=1484945559185, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=o.a.i.i.util.nio.GridDirectParser#21e93eaf, directMode=true], GridConnectionBytesVerifyFilter], accepted=true]]
ERROR 12:52:39,189-0800 [*Initialization*] communication.tcp.TcpCommunicationSpi: Closing NIO session because of unhandled exception.
class org.apache.ignite.internal.util.nio.GridNioException: Invalid message type: -84
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:1595)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1516)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1289)
at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.IgniteException: Invalid message type: -84
at org.apache.ignite.internal.managers.communication.GridIoMessageFactory.create(GridIoMessageFactory.java:805)
at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$5.create(TcpCommunicationSpi.java:1631)
at org.apache.ignite.internal.util.nio.GridDirectParser.decode(GridDirectParser.java:76)
at org.apache.ignite.internal.util.nio.GridNioCodecFilter.onMessageReceived(GridNioCodecFilter.java:104)
at org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:107)
at org.apache.ignite.internal.util.nio.GridConnectionBytesVerifyFilter.onMessageReceived(GridConnectionBytesVerifyFilter.java:113)
at org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:107)
at org.apache.ignite.internal.util.nio.GridNioServer$HeadFilter.onMessageReceived(GridNioServer.java:2332)
at org.apache.ignite.internal.util.nio.GridNioFilterChain.onMessageReceived(GridNioFilterChain.java:173)
at org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker.processRead(GridNioServer.java:918)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:1583)
... 4 more
Version information.
>>> +----------------------------------------------------------------------+
>>> Ignite ver. 1.8.0#20161205-sha1:9ca40dbeb7d559fcb299bdb6f5c90cdf8ce7e533
>>> +----------------------------------------------------------------------+
>>> OS name: Windows Server 2012 R2 6.3 amd64
>>> CPU(s): 2
>>> Heap: 3.6GB
>>> VM name: 13752#host
>>> Grid name: T-XXX
>>> Local node [ID=983EC5A0-2D9A-40C9-B4C3-3D59739BDDB9, order=1, clientMode=false]
>>> Local node addresses: [hostname.example.com/0:0:0:0:0:0:0:1, /10.97.184.106, /127.0.0.1]
>>> Local ports: TCP:5702 TCP:5703 TCP:5705
One of the similar issues I've found in my research is that it is recommended to disable the shared memory feature (setSharedMemoryPort -1) as a first step in removing a problem like this.
The server is running on Windows and the other server joining the cache is on OSX.
INFO 12:50:17,569-0800 [*Initialization*] ignite.internal.IgniteKernal%T-XXX: OS: Windows Server 2012 R2 6.3 amd64
How do I prevent these errors? Have I configured the cluster poorly or is there an incompatibility between the two machines I am using?
Very likely it's a misconfiguration issue. This can happen if discovery SPI on one node tries to connect to communication SPI on another node. See this post: http://apache-ignite-users.70518.x6.nabble.com/Invalid-message-type-84-error-td9869.html
This the program that I am running
package IgniteCache.IgniteCache1;
import org.apache.ignite.Ignite;
import org.apache.ignite.Ignition;
import org.junit.Test;
public class HelloWorldCompute
{
public static void main(String[] args) throws InterruptedException
{
{
try(Ignite ignite=Ignition.start())
{
ignite.compute().broadcast(()->System.out.println("Hello World"));
}
}
}
}
I am running the above code in my eclipse. after creating two nodes for apache ignite I am getting the following error in eclipse after running
[16:41:16] (wrn) Default Spring XML file not found (is IGNITE_HOME set?):
config/default-config.xml
Oct 24, 2016 4:41:16 PM java.util.logging.LogManager$RootLogger log
SEVERE: Failed to resolve default logging config file:
config/java.util.logging.properties
[16:41:16] __________ ________________
[16:41:16] / _/ ___/ |/ / _/_ __/ __/
[16:41:16] _/ // (7 7 // / / / / _/
[16:41:16] /___/\___/_/|_/___/ /_/ /___/
[16:41:16]
[16:41:16] ver. 1.5.0-b1#20151202-sha1:062d440c
[16:41:16] 2015 Copyright(C) Apache Software Foundation
[16:41:16]
[16:41:16] Ignite documentation: http://ignite.apache.org
[16:41:16]
[16:41:16] Quiet mode.
[16:41:16] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[16:41:16]
[16:41:16] OS: Windows 8.1 6.3 amd64
[16:41:16] VM information: Java(TM) SE Runtime Environment 1.8.0_92-b14 Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.92-b14
[16:41:16] Initial heap size is 128MB (should be no less than 512MB, use - Xms512m -Xmx512m).
[16:41:17] Configured plugins:
[16:41:17] ^-- None
[16:41:17]
[16:41:17] Security status [authentication=off, tls/ssl=off]
Oct 24, 2016 4:41:18 PM org.apache.ignite.logger.java.JavaLogger error
SEVERE: Failed to start manager: GridManagerAdapter [enabled=true, name=o.a.i.i.managers.discovery.GridDiscoveryManager]
class org.apache.ignite.IgniteCheckedException: Failed to start SPI: TcpDiscoverySpi [addrRslvr=null, sockTimeout=5000, ackTimeout=5000, reconCnt=10, maxAckTimeout=600000, forceSrvMode=false, clientReconnectDisabled=false]
at org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:255)
at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDis coveryManager.java:660)
at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1500)
at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:915)
at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1618)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx
.java:1485)
at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:965)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:494)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:470)
at org.apache.ignite.Ignition.start(Ignition.java:303)
IgniteCache.IgniteCache1.HelloWorldCompute.main
(HelloWorldCompute.java:12)
Caused by: class org.apache.ignite.spi.IgniteSpiException: Local node and remote node have different version numbers (node will not join, Ignite
does not support rolling updates, so versions must be exactly the same) [locBuildVer=1.7.0, rmtBuildVer=1.5.0-b1, locNodeAddrs=[gopi/0:0:0:0:0:0:0:1, 2001:0:9d38:6ab8:1455:823d:82c1:2a3d/127.0.0.1, /172.17.7.70, /2001:0:9d38:6ab8:1455:823d:82c1:2a3d], rmtNodeAddrs=[gopi/0:0:0:0:0:0:0:1,
gopi/127.0.0.1, /172.17.7.70,
/2001:0:9d38:6ab8:1455:823d:82c1:2a3d], locNodeId=10922b26-14b0-4151-a503-
dca273e]
While in the command prompt I am getting the below error
C:\apache-ignite-fabric-1.7.0-bin\bin>ignite.bat
[17:57:10] __________ ________________
[17:57:10] / _/ ___/ |/ / _/_ __/ __/
[17:57:10] _/ // (7 7 // / / / / _/
[17:57:10] /___/\___/_/|_/___/ /_/ /___/
[17:57:10]
[17:57:10] ver. 1.7.0#20160801-sha1:383273e3
[17:57:10] 2016 Copyright(C) Apache Software Foundation
[17:57:10]
[17:57:10] Ignite documentation: http://ignite.apache.org
[17:57:10]
[17:57:10] Quiet mode.
[17:57:10] ^-- Logging to file 'C:\apache-ignite-fabric-1.7.0- bin\work\log\ig
ite-3f8aa05c.0.log'
[17:57:10] ^-- To see **FULL** console log here add -
DIGNITE_QUIET=false or "
v" to ignite.{sh|bat}
[17:57:10]
[17:57:10] OS: Windows 8.1 6.3 amd64
[17:57:10] VM information: Java(TM) SE Runtime Environment 1.8.0_92-b14
Oracle
orporation Java HotSpot(TM)
64-Bit Server VM 25.92-b14
[17:57:10] Configured plugins:
[17:57:10] ^-- None
[17:57:10]
[17:57:10] Security status [authentication=off, tls/ssl=off]
[17:57:13] To start Console Management & Monitoring run ignitevisorcmd.
{sh|bat}
[17:57:13]
[17:57:13] Ignite node started OK (id=3f8aa05c)
[17:57:13] Topology snapshot [ver=1, servers=1, clients=0, CPUs=4,
heap=1.0GB]
[17:57:42] Topology snapshot [ver=2, servers=2, clients=0, CPUs=4,
heap=2.0GB]
[18:03:16,345][SEVERE][tcp-disco-multicast-addr-rcvr-#23%null%]
[TcpDiscoveryMul
icastIpFinder] Failed to request nodes addresses.
java.net.SocketException: bad argument for IP_MULTICAST_IF: address not
bound t
any interface
at java.net.TwoStacksPlainDatagramSocketImpl.socketNativeSetOption(Nati
e Method)
at
java.net.TwoStacksPlainDatagramSocketImpl.socketSetOption(TwoStacksP
ainDatagramSocketImpl.java:146)
at java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainData
ramSocketImpl.java:309)
at java.net.MulticastSocket.setInterface(MulticastSocket.java:471)
at org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryM
lticastIpFinder.requestAddresses(TcpDiscoveryMulticastIpFinder
.java:547)
at org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryM
lticastIpFinder.access$700(TcpDiscoveryMulticastIpFinder.java:80)
at org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryM
lticastIpFinder$AddressReceiver.body
(TcpDiscoveryMulticastIpFinder.java:758)
at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.checkFailedError
(TcpDiscoverySpi.java:1627)
at org.apache.ignite.spi.discovery.tcp.ServerImpl.joinTopology
(ServerImpl.java:879)
at org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart
(ServerImpl.java:328)
at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart
(TcpDiscoverySpi.java:1815)
at org.apache.ignite.internal.managers.GridManagerAdapter
.startSpi(GridManagerAdapter.java:252)
... 10 more
Oct 24, 2016 4:41:18 PM org.apache.ignite.logger.java.JavaLogger error
SEVERE: 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.discovery
.GridDiscoveryManager]
at org.apache.ignite.internal.IgniteKernal.startManager
(IgniteKernal.java:1505)
at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:915)
at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.
start0(IgnitionEx.java:1618)
at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start
(IgnitionEx.java:1485)
at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:965)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:494)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:470)
at org.apache.ignite.Ignition.start(Ignition.java:303)
at IgniteCache.IgniteCache1.HelloWorldCompute
.main(HelloWorldCompute.java:12)
Caused by: class org.apache.ignite.IgniteCheckedException:
Failed to start SPI: TcpDiscoverySpi [addrRslvr=null, sockTimeout=5000,
ackTimeout=5000, reconCnt=10, maxAckTimeout=600000,
forceSrvMode=false, clientReconnectDisabled=false]
at org.apache.ignite.internal.managers.GridManagerAdapter
.startSpi(GridManagerAdapter.java:255)
at org.apache.ignite.internal.managers.discovery.
GridDiscoveryManager.start
(GridDiscoveryManager.java:660)
at org.apache.ignite.internal.IgniteKernal.startManager
(IgniteKernal.java:1500)
... 8 more
Caused by: class org.apache.ignite.spi.IgniteSpiException
: Local node and remote node have different version numbers (node will not
join, Ignite does not support rolling updates, so versions
must be exactly the same) [locBuildVer=1.7.0, rmtBuildVer=1.5.0-b1,
locNodeAddrs=[gopi/0:0:0:0:0:0:0:1,
2001:0:9d38:6ab8:1455:823d:82c1:2a3d/127.0.0.1,
/172.17.7.70, /2001:0:9d38:6ab8:1455:823d:82c1:2a3d], rmtNodeAddrs=
[gopi/0:0:0:0:0:0:0:1, gopi/127.0.0.1, /172.17.7.70,
/2001:0:9d38:6ab8:1455:823d:82c1:2a3d], locNodeId=10922b26-14b0-4151-a503-
75e83c241278, rmtNodeId=edfc9197-3d0b-4d19-bd8a-94a93dca273e]
I am using windows 8.1 and my firewall is off no antivirus..
1)Because ignite services are running with different configuration files in same server(it may be one reason)
#
service 1) [stp#ril-srv-sp4 bin]$ ./ignite.sh "/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/examples/config/example-cache.xml"
service 2) [stp#ril-srv-sp4 bin]$ ./ignite.sh "/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/examples/config/example-ignite.xml"
#
#terminal 1
[stp#ril-srv-sp4 bin]$ ./ignite.sh "/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/examples/config/example-cache.xml"
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[15:17:55] __________ ________________
[15:17:55] / _/ ___/ |/ / _/_ __/ __/
[15:17:55] _/ // (7 7 // / / / / _/
[15:17:55] /___/\___/_/|_/___/ /_/ /___/
[15:17:55]
[15:17:55] ver. 1.5.0-b1#20151202-sha1:062d440c
[15:17:55] 2015 Copyright(C) Apache Software Foundation
[15:17:55]
[15:17:55] Ignite documentation: http://ignite.apache.org
[15:17:55]
[15:17:55] Quiet mode.
[15:17:55] ^-- Logging to file '/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/work/log/ignite-5fa97ab6.0.log'
[15:17:55] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[15:17:55]
[15:17:55] OS: Linux 3.10.0-327.el7.x86_64 amd64
[15:17:55] VM information: OpenJDK Runtime Environment 1.8.0_102-b14 Oracle Corporation OpenJDK 64-Bit Server VM 25.102-b14
[15:17:55] Configured plugins:
[15:17:55] ^-- None
[15:17:55]
[15:17:55] Security status [authentication=off, tls/ssl=off]
[15:17:57] Performance suggestions for grid (fix if possible)
[15:17:57] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[15:17:57] ^-- Decrease number of backups (set 'keyBackups' to 0)
[15:17:57]
[15:17:57] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[15:17:57]
[15:17:57] Ignite node started OK (id=5fa97ab6)
[15:17:57] Topology snapshot [ver=1, servers=1, clients=0, CPUs=4, heap=1.0GB]
[15:18:06] New version is available at ignite.apache.org: 1.7.0
[15:18:10] Topology snapshot [ver=2, servers=2, clients=0, CPUs=4, heap=2.0GB]
[15:18:11] Topology snapshot [ver=3, servers=1, clients=0, CPUs=4, heap=1.0GB]
########################terminal 2
#
[stp#ril-srv-sp4 bin]$ ./ignite.sh "/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/examples/config/example-ignite.xml"
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[15:18:08] __________ ________________
[15:18:08] / _/ ___/ |/ / _/_ __/ __/
[15:18:08] _/ // (7 7 // / / / / _/
[15:18:08] /___/\___/_/|_/___/ /_/ /___/
[15:18:08]
[15:18:08] ver. 1.5.0-b1#20151202-sha1:062d440c
[15:18:08] 2015 Copyright(C) Apache Software Foundation
[15:18:08]
[15:18:08] Ignite documentation: http://ignite.apache.org
[15:18:08]
[15:18:08] Quiet mode.
[15:18:08] ^-- Logging to file '/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/work/log/ignite-feae7ff1.0.log'
[15:18:08] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[15:18:08]
[15:18:08] OS: Linux 3.10.0-327.el7.x86_64 amd64
[15:18:08] VM information: OpenJDK Runtime Environment 1.8.0_102-b14 Oracle Corporation OpenJDK 64-Bit Server VM 25.102-b14
[15:18:08] Configured plugins:
[15:18:08] ^-- None
[15:18:08]
[15:18:09] Security status [authentication=off, tls/ssl=off]
[15:18:10,964][SEVERE][main][IgniteKernal] Failed to start manager: GridManagerAdapter [enabled=true, name=o.a.i.i.managers.discovery.GridDiscoveryManager]
class org.apache.ignite.IgniteCheckedException: Remote node has peer class loading enabled flag different from local [locId8=feae7ff1, locPeerClassLoading=true, rmtId8=5fa97ab6, rmtPeerClassLoading=false, rmtAddrs=[ril-srv-sp4/0:0:0:0:0:0:0:1%lo, /127.0.0.1, /192.168.1.14]]
2)
Exception getting in second Service ,if we use common config files for two services it will work
service 1) [stp#ril-srv-sp4 bin]$ ./ignite.sh "/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/examples/config/example-cache.xml"
service 2) [stp#ril-srv-sp4 bin]$ ./ignite.sh "/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/examples/config/example-cache.xml"
###########################terminal 1
[stp#ril-srv-sp4 bin]$ ./ignite.sh "/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/examples/config/example-cache.xml"
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[15:25:41] __________ ________________
[15:25:41] / _/ ___/ |/ / _/_ __/ __/
[15:25:41] _/ // (7 7 // / / / / _/
[15:25:41] /___/\___/_/|_/___/ /_/ /___/
[15:25:41]
[15:25:41] ver. 1.5.0-b1#20151202-sha1:062d440c
[15:25:41] 2015 Copyright(C) Apache Software Foundation
[15:25:41]
[15:25:41] Ignite documentation: http://ignite.apache.org
[15:25:41]
[15:25:41] Quiet mode.
[15:25:41] ^-- Logging to file '/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/work/log/ignite-ed543f4a.0.log'
[15:25:41] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[15:25:41]
[15:25:41] OS: Linux 3.10.0-327.el7.x86_64 amd64
[15:25:41] VM information: OpenJDK Runtime Environment 1.8.0_102-b14 Oracle Corporation OpenJDK 64-Bit Server VM 25.102-b14
[15:25:41] Configured plugins:
[15:25:41] ^-- None
[15:25:41]
[15:25:41] Security status [authentication=off, tls/ssl=off]
[15:25:43] Performance suggestions for grid (fix if possible)
[15:25:43] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[15:25:43] ^-- Decrease number of backups (set 'keyBackups' to 0)
[15:25:43]
[15:25:43] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[15:25:43]
[15:25:43] Ignite node started OK (id=ed543f4a)
[15:25:43] Topology snapshot [ver=1, servers=1, clients=0, CPUs=4, heap=1.0GB]
[15:25:52] New version is available at ignite.apache.org: 1.7.0
[15:25:58] Topology snapshot [ver=2, servers=2, clients=0, CPUs=4, heap=2.0GB]
###########################termainal 2
[stp#ril-srv-sp4 bin]$ ./ignite.sh "/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/examples/config/example-cache.xml"
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[15:25:56] __________ ________________
[15:25:56] / _/ ___/ |/ / _/_ __/ __/
[15:25:56] _/ // (7 7 // / / / / _/
[15:25:56] /___/\___/_/|_/___/ /_/ /___/
[15:25:56]
[15:25:56] ver. 1.5.0-b1#20151202-sha1:062d440c
[15:25:56] 2015 Copyright(C) Apache Software Foundation
[15:25:56]
[15:25:56] Ignite documentation: http://ignite.apache.org
[15:25:56]
[15:25:56] Quiet mode.
[15:25:56] ^-- Logging to file '/home/stp/ignite/apache-ignite-fabric-1.5.0-b1-bin/work/log/ignite-169dab96.0.log'
[15:25:56] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[15:25:56]
[15:25:56] OS: Linux 3.10.0-327.el7.x86_64 amd64
[15:25:56] VM information: OpenJDK Runtime Environment 1.8.0_102-b14 Oracle Corporation OpenJDK 64-Bit Server VM 25.102-b14
[15:25:56] Configured plugins:
[15:25:56] ^-- None
[15:25:56]
[15:25:56] Security status [authentication=off, tls/ssl=off]
[15:25:59] Performance suggestions for grid (fix if possible)
[15:25:59] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[15:25:59] ^-- Decrease number of backups (set 'keyBackups' to 0)
[15:25:59]
[15:25:59] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[15:25:59]
[15:25:59] Ignite node started OK (id=169dab96)
[15:25:59] Topology snapshot [ver=2, servers=2, clients=0, CPUs=4, heap=2.0GB]
[15:26:06] New version is available at ignite.apache.org: 1.7.0
[15:27:13] Topology snapshot [ver=3, servers=1, clients=0, CPUs=4, heap=1.0GB]
I'm using WindowsServer2008 and MySql 5.6.31. I wanted to upgrade
SonarQube from version 5.2 to 5.6. After starting SonarQube the
log-file shows the below lines. Everything should be finde, except the WebServer doesn't become operational:
INFO ce[o.s.c.a.WebServerWatcherImpl] Waiting for Web Server to be operational...
INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
When I try to reach the WebServer in the browser, I get the message from ApacheTomcat:
HTTP Status 404 - /sessions/new
type Status report
message /sessions/new
description The requested resource is not available.
Apache Tomcat/8.0.30
Does anyone know why the WebServer doesn't become operational?
Wrapper Manager: JVM #1 Running a 64-bit JVM. Wrapper Manager:
Registering shutdown hook Wrapper Manager: Using wrapper Load native
library. One or more attempts may fail if platform specific libraries
do not exist. Loading native library failed:
wrapper-windows-x86-64.dll Cause: java.lang.UnsatisfiedLinkError: no
wrapper-windows-x86-64 in java.library.path Loaded native library:
wrapper.dll Calling native initialization method. Initializing
WrapperManager native library. Java Executable:
C:\ProgramData\Oracle\Java\javapath\java.exe Windows version: 6.1.7601
Java Version : 1.8.0_91-b15 Java HotSpot(TM) 64-Bit Server VM Java
VM Vendor : Oracle Corporation
Control event monitor thread started. Startup runner thread started.
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp#38af3868,
args[]) called by thread: main Communications runner thread started.
Open socket to wrapper...Wrapper-Connection Opened Socket from 31000
to 32000 Send a packet KEY : fnnZL60VqJstVqYQ
handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
Received a packet LOW_LOG_LEVEL : 1 Wrapper Manager: LowLogLevel from
Wrapper is 1 Received a packet PING_TIMEOUT : 200 PingTimeout from
Wrapper is 200000 Received a packet PROPERTIES : (Property Values)
Received a packet START : start calling WrapperListener.start()
Waiting for WrapperListener.start runner thread to complete.
WrapperListener.start runner thread started. WrapperSimpleApp:
start(args) Will wait up to 2 seconds for the main method to complete.
WrapperSimpleApp: invoking main method
2016.07.28 13:48:38 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory D:\SonarQube\sonarqube-5.6\temp
2016.07.28 13:48:38 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[es]: C:\Program Files\Java\jre1.8.0_91\bin\java
-Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=D:\SonarQube\sonarqube-5.6\temp -javaagent:C:\Program Files\Java\jre1.8.0_91\lib\management-agent.jar -cp
./lib/common/;./lib/search/ org.sonar.search.SearchServer
D:\SonarQube\sonarqube-5.6\temp\sq-process6103713257744114100properties
Send a packet START_PENDING : 5000 Send a packet START_PENDING : 5000
WrapperSimpleApp: start(args) end. Main Completed=false,
exitCode=null WrapperListener.start runner thread stopped. returned
from WrapperListener.start() Send a packet STARTED : Startup runner
thread stopped. Received a packet PING : ping Send a packet PING : ok
2016.07.28 13:48:41 INFO es[o.s.p.ProcessEntryPoint] Starting es
2016.07.28 13:48:41 INFO es[o.s.s.EsSettings] Elasticsearch listening on 127.0.0.1:9001
2016.07.28 13:48:42 INFO es[o.elasticsearch.node] [sonar-1469706518062] version[1.7.5], pid[3788],
build[00f95f4/2016-02-02T09:55:30Z]
2016.07.28 13:48:42 INFO es[o.elasticsearch.node] [sonar-1469706518062] initializing ...
2016.07.28 13:48:42 INFO es[o.e.plugins] [sonar-1469706518062] loaded [], sites []
2016.07.28 13:48:43 INFO es[o.elasticsearch.env] [sonar-1469706518062] using [1] data paths, mounts [[Data (D:)]], net
usable_space [29.5gb], net total_space [249.9gb], types [NTFS]
Received a packet PING : ping Send a packet PING : ok
2016.07.28 13:48:46 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled.
2016.07.28 13:48:47 INFO es[o.elasticsearch.node] [sonar-1469706518062] initialized
2016.07.28 13:48:47 INFO es[o.elasticsearch.node] [sonar-1469706518062] starting ...
2016.07.28 13:48:47 INFO es[o.e.transport] [sonar-1469706518062] bound_address {inet[/127.0.0.1:9001]}, publish_address
{inet[/127.0.0.1:9001]}
2016.07.28 13:48:47 INFO es[o.e.discovery] [sonar-1469706518062] sonarqube/NDLYofdsQU6dCANZLN0p9w Received a packet PING : ping Send a
packet PING : ok
2016.07.28 13:48:50 INFO es[o.e.cluster.service] [sonar-1469706518062] new_master
[sonar-1469706518062][NDLYofdsQU6dCANZLN0p9w][DEERLA7LRUD10A][inet[/127.0.0.1:9001]]{rack_id=sonar-1469706518062},
reason: zen-disco-join (elected_as_master)
2016.07.28 13:48:50 INFO es[o.elasticsearch.node] [sonar-1469706518062] started
2016.07.28 13:48:50 INFO es[o.e.gateway] [sonar-1469706518062] recovered [0] indices into cluster_state
2016.07.28 13:48:51 INFO app[o.s.p.m.Monitor] Process[es] is up
2016.07.28 13:48:51 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Program Files\Java\jre1.8.0_91\bin\java
-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\SonarQube\sonarqube-5.6\temp -javaagent:C:\Program Files\Java\jre1.8.0_91\lib\management-agent.jar -cp
./lib/common/;./lib/server/;D:\SonarQube\sonarqube-5.6\lib\jdbc\mysql\mysql-connector-java-5.1.35.jar
org.sonar.server.app.WebServer
D:\SonarQube\sonarqube-5.6\temp\sq-process200048299209178132properties
Received a packet PING : ping Send a packet PING : ok
2016.07.28 13:48:55 TRACE web[o.s.p.Lifecycle] tryToMoveTo from INIT to STARTING => true
2016.07.28 13:48:55 INFO web[o.s.p.ProcessEntryPoint] Starting web
2016.07.28 13:48:56 INFO web[o.s.s.a.TomcatContexts] Webapp directory: D:\SonarQube\sonarqube-5.6\web
2016.07.28 13:48:56 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-xxx.xxx.x.xxx-xxxx"]
2016.07.28 13:48:56 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read Received a packet PING : ping
Send a packet PING : ok
2016.07.28 13:48:57 INFO web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-xxx.xxx.x.xxx-xxxx"]
2016.07.28 13:48:57 INFO web[o.s.s.a.TomcatAccessLog] Web server is started
2016.07.28 13:48:57 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2016.07.28 13:48:57 TRACE web[o.s.p.Lifecycle] tryToMoveTo from STARTING to STARTED => true
2016.07.28 13:48:58 INFO app[o.s.p.m.Monitor] Process[web] is up
2016.07.28 13:48:58 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[ce]: C:\Program Files\Java\jre1.8.0_91\bin\java
-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\SonarQube\sonarqube-5.6\temp -javaagent:C:\Program Files\Java\jre1.8.0_91\lib\management-agent.jar -cp
./lib/common/;./lib/server/;./lib/ce/*;D:\SonarQube\sonarqube-5.6\lib\jdbc\mysql\mysql-connector-java-5.1.35.jar
org.sonar.ce.app.CeServer
D:\SonarQube\sonarqube-5.6\temp\sq-process346661778793077863properties
2016.07.28 13:48:59 TRACE ce[o.s.p.Lifecycle] tryToMoveTo from INIT to STARTING => true
2016.07.28 13:48:59 INFO ce[o.s.p.ProcessEntryPoint] Starting ce
2016.07.28 13:48:59 INFO ce[o.s.c.a.WebServerWatcherImpl] Waiting for Web Server to be operational...
2016.07.28 13:49:00 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer... Received a packet PING : ping Send a packet
PING : ok
2016.07.28 13:49:02 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer... Received a packet PING : ping Send a packet
PING : ok
There should be a line on the log like this
2017.01.08 23:12:11 WARN web[o.s.s.p.DatabaseServerCompatibility] Database must be upgraded. Please backup database and browse /setup
The server is waiting the user to go to the /setup page to upgrade the DB before continue.
As per below log line
WARN web[o.s.s.p.DatabaseServerCompatibility] Database must be upgraded. Please backup database and browse /setup
Go to http://<sonar-host>:9000/<context path>/setup
and click on Migrate button.
After successful migration, your server will ready to use.
I am using Linux Mint 17.3 . i want to configure JBOSS server in my system. whenever i command sh.standalone.sh it is showing following screen but doesnot starting server.
indra#Jarvis ~/jboss-as-7.1.1.Final/bin $ sh standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/indra/jboss-as-7.1.1.Final
JAVA: /usr/lib/jvm/java-8-oracle/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
=========================================================================
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
09:45:02,152 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
09:45:02,517 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
09:45:02,629 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
^C09:47:05,537 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 1ms
i wait for 15 min but it is not starting .
please someone guide me.
JBoss AS 7.1.1.Final does not work with Java 8, https://developer.jboss.org/message/926279#926279. You consider migrating to WildFly 10 as it requires Java 8.
I meet a problem when booting rabbitmq which is driving me crazy...
Env:redhat4
erlang version:R16B03 installed from source code
rabbitmq version:rabbitmq-server-3.6.1 from source code
when I ran 'rabbitmq-server start' command, it gave me some error
information, then I ran that again it showed:
RabbitMQ 3.6.1. Copyright (C) 2007-2016 Pivotal Software, Inc.
## ## Licensed under the MPL. See http://www.rabbitmq.com/
## ##
########## Logs: /var/log/rabbitmq/rabbit#bogon.log
###### ## /var/log/rabbitmq/rabbit#bogon-sasl.log
##########
Starting broker...
And it stucked there, I thought may be it had started, so I ran './rabbitmq-plugins enable rabbitmq_management' to enable web plugins, but I got:
The following plugins have been enabled:
mochiweb
webmachine
rabbitmq_web_dispatch
amqp_client
rabbitmq_management_agent
rabbitmq_management
Applying plugin configuration to rabbit#bogon... failed.
Error: {undef,[{crypto,module_info,[attributes],[]},
{rabbit_misc,module_attributes,1,
[{file,"src/rabbit_misc.erl"},{line,805}]},
{rabbit_misc,'-all_module_attributes/1-fun-0-',3,
[{file,"src/rabbit_misc.erl"},{line,825}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
{rabbit_boot_steps,find_steps,1,
[{file,"src/rabbit_boot_steps.erl"},
{line,40}]},
{rabbit_boot_steps,run_boot_steps,1,
[{file,"src/rabbit_boot_steps.erl"},
{line,26}]},
{rabbit,start_apps,1,[{file,"src/rabbit.erl"},{line,343}]},
{rabbit_plugins,ensure,1,
[{file,"src/rabbit_plugins.erl"},{line,52}]}]}
I don't know why... so I stopped the rabbitmq server and started it again, and it gave me this:
RabbitMQ 3.6.1. Copyright (C) 2007-2016 Pivotal Software, Inc.
## ## Licensed under the MPL. See http://www.rabbitmq.com/
## ##
########## Logs: /var/log/rabbitmq/rabbit#bogon.log
###### ## /var/log/rabbitmq/rabbit#bogon-sasl.log
##########
Starting broker...
BOOT FAILED
===========
Error description:
{could_not_start,rabbit,
{undef,
[{crypto,module_info,[attributes],[]},
{rabbit_misc,module_attributes,1,
[{file,"src/rabbit_misc.erl"},{line,805}]},
{rabbit_misc,'-all_module_attributes/1-fun-0-',3,
[{file,"src/rabbit_misc.erl"},{line,825}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
{rabbit_boot_steps,find_steps,1,
[{file,"src/rabbit_boot_steps.erl"},{line,40}]},
{rabbit_boot_steps,run_boot_steps,1,
[{file,"src/rabbit_boot_steps.erl"},{line,26}]},
{rabbit,start,2,[{file,"src/rabbit.erl"},{line,477}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,269}]}]}}
Log files (may contain more information):
/var/log/rabbitmq/rabbit#bogon.log
/var/log/rabbitmq/rabbit#bogon-sasl.log
{"init terminating in do_boot",{could_not_start,rabbit,{undef,[{crypto,module_info,[attributes],[]},{rabbit_misc,module_attributes,1,[{file,"src/rabbit_misc.erl"},{line,805}]},{rabbit_misc,'-all_module_attributes/1-fun-0-',3,[{file,"src/rabbit_misc.erl"},{line,825}]},{lists,foldl,3,[{file,"lists.erl"},{line,1248}]},{rabbit_boot_steps,find_steps,1,[{file,"src/rabbit_boot_steps.erl"},{line,40}]},{rabbit_boot_steps,run_boot_steps,1,[{file,"src/rabbit_boot_steps.erl"},{line,26}]},{rabbit,start,2,[{file,"src/rabbit.erl"},{line,477}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,269}]}]}}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
I don't understand... Why there are a lot of issues? Is there any procedure that was not correct?
{could_not_start,rabbit,{undef,[{crypto,module_info,[attributes]
means that you need the crypto Erlang.
Check this https://www.rabbitmq.com/which-erlang.html.
use SSL/TLS reliably 17.0
you need the version >= 17.0
I got same issue because of mismatch of RabbitMQ version installed on 3rd node other than two nodes. Install same versions on all nodes of cluster.