0
我試過了master branch和develop分支,以及Pivotal的gemfire rpm。同樣的結果:無法在Centos 7上的Apache Geode上啓動定位器最小
start locator --name=test
Starting a GemFire Locator in /root/incubator-geode/gemfire-assembly/build/install/test...
.....Locator in /root/incubator-geode/gemfire-assembly/build/install/test on CentOS-72-64-minimal[10334] as test is currently online.
Process ID: 786
Uptime: 2 seconds
GemFire Version: 1.0.0-incubating-SNAPSHOT
Java Version: 1.8.0_72
Log File: /root/incubator-geode/gemfire-assembly/build/install/test/test.log
JVM Arguments: -Dgemfire.enable-cluster-configuration=true -Dgemfire.load-cluster-configuration-from-dir=false -Dgemfire.launcher.registerSignalHandlers=true -Djava.awt.headless=true -Dsun.rmi.dgc.server.gcInterval=9223372036854775806
Class-Path: /root/incubator-geode/gemfire-assembly/build/install/apache-geode/lib/gemfire-core-1.0.0-incubating-SNAPSHOT.jar:/root/incubator-geode/gemfire-assembly/build/install/apache-geode/lib/gemfire-core-dependencies.jar
Please use "connect --locator=CentOS-72-64-minimal[10334]" to connect Gfsh to the locator.
Cluster configuration service is up and running.
gfsh>connect --locator=CentOS-72-64-minimal[10334]
Connecting to Locator at [host=CentOS-72-64-minimal, port=10334] ..
Exception caused JMX Manager startup to fail because: 'HTTP service failed to start'
在定位的日誌,這是我得到:
Stopped [email protected]{/gemfire,null,UNAVAILABLE}{/root/incubator-geode/gemfire-assembly/build/install/apache-geode/tools/Extensions/gemfire-web-1.0.0-incubating-SNAPSHOT.war}
[error 2016/01/29 11:11:58.538 CET test <locator request thread[1]> tid=0x23] Jmx manager could not be started because HTTP service failed to start
com.gemstone.gemfire.management.ManagementException: HTTP service failed to start
at com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:280)
at com.gemstone.gemfire.management.internal.ManagementAgent.startAgent(ManagementAgent.java:126)
at com.gemstone.gemfire.management.internal.SystemManagementService.startManager(SystemManagementService.java:476)
at com.gemstone.gemfire.management.internal.JmxManagerLocator.findJmxManager(JmxManagerLocator.java:104)
at com.gemstone.gemfire.management.internal.JmxManagerLocator.processRequest(JmxManagerLocator.java:57)
at com.gemstone.gemfire.distributed.internal.InternalLocator$PrimaryHandler.processRequest(InternalLocator.java:1333)
at com.gemstone.gemfire.distributed.internal.tcpserver.TcpServer$3.run(TcpServer.java:387)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:326)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:384)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.gemstone.gemfire.management.internal.JettyHelper.startJetty(JettyHelper.java:149)
at com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:252)
... 9 more
我GOOGLE無濟於事。我的港口很好。任何想法?