gemfire - Can't start locator on Apache Geode on Centos 7 minimal -


i've tried master branch , develop branch, gemfire rpm pivotal. same result :

start locator --name=test starting 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] test 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]" connect gfsh locator.  cluster configuration service , running.  gfsh>connect --locator=centos-72-64-minimal[10334] connecting locator @ [host=centos-72-64-minimal, port=10334] .. exception caused jmx manager startup fail because: 'http service failed start' 

in logs of locator, get:

stopped o.e.j.w.webappcontext@36d5715{/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 not started because http service failed start com.gemstone.gemfire.management.managementexception: http service failed start     @ com.gemstone.gemfire.management.internal.managementagent.starthttpservice(managementagent.java:280)     @ com.gemstone.gemfire.management.internal.managementagent.startagent(managementagent.java:126)     @ com.gemstone.gemfire.management.internal.systemmanagementservice.startmanager(systemmanagementservice.java:476)     @ com.gemstone.gemfire.management.internal.jmxmanagerlocator.findjmxmanager(jmxmanagerlocator.java:104)     @ com.gemstone.gemfire.management.internal.jmxmanagerlocator.processrequest(jmxmanagerlocator.java:57)     @ com.gemstone.gemfire.distributed.internal.internallocator$primaryhandler.processrequest(internallocator.java:1333)     @ com.gemstone.gemfire.distributed.internal.tcpserver.tcpserver$3.run(tcpserver.java:387)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ java.lang.thread.run(thread.java:745) caused by: java.net.bindexception: address in use     @ sun.nio.ch.net.bind0(native method)     @ sun.nio.ch.net.bind(net.java:433)     @ sun.nio.ch.net.bind(net.java:425)     @ sun.nio.ch.serversocketchannelimpl.bind(serversocketchannelimpl.java:223)     @ sun.nio.ch.serversocketadaptor.bind(serversocketadaptor.java:74)     @ org.eclipse.jetty.server.serverconnector.open(serverconnector.java:326)     @ org.eclipse.jetty.server.abstractnetworkconnector.dostart(abstractnetworkconnector.java:80)     @ org.eclipse.jetty.server.serverconnector.dostart(serverconnector.java:244)     @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:68)     @ org.eclipse.jetty.server.server.dostart(server.java:384)     @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:68)     @ com.gemstone.gemfire.management.internal.jettyhelper.startjetty(jettyhelper.java:149)     @ com.gemstone.gemfire.management.internal.managementagent.starthttpservice(managementagent.java:252)     ... 9 more 

i googled no avail. ports fine. idea?

it seems http service port 7070 in use. please try start locator

start locator --name=test --j=-dgemfire.http-service-port=8080 --j=-dgemfire.http-service-bind-address=hostname 

Comments