[ https://issues.apache.org/jira/browse/GEODE-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15811085#comment-15811085 ]
netroby commented on GEODE-2281: -------------------------------- Add one line to the last fixed the problem --server-port=40405 became {code:bash} gfsh> start server --name=server1 --redis-bind-address=localhost --redis-port=16379 --J=-Dgemfireredis.regiontype=PARTITION_PERSISTENT --server-port=40405 Starting a Geode Server in /home/huzhifeng/workspace/geode-demo/apache-geode-1.0.0-incubating/server1... ....... Server in /home/huzhifeng/workspace/geode-demo/apache-geode-1.0.0-incubating/server1 on 172.17.0.1[40405] as server1 is currently online. Process ID: 40483 Uptime: 8 seconds GemFire Version: 1.0.0-incubating Java Version: 1.8.0_111 Log File: /home/huzhifeng/workspace/geode-demo/apache-geode-1.0.0-incubating/server1/server1.log JVM Arguments: -Dgemfire.default.locators=172.17.0.1[10334] -Dgemfire.use-cluster-configuration=true -Dgemfire.redis-bind-address=localhost -Dgemfire.redis-port=16379 -Dgemfire.http-service-port=8080 -Dgemfire.start-dev-rest-api=false -Dgemfireredis.regiontype=PARTITION_PERSISTENT -Dgemfire.launcher.registerSignalHandlers=true -Djava.awt.headless=true -Dsun.rmi.dgc.server.gcInterval=9223372036854775806 Class-Path: /home/huzhifeng/workspace/geode-demo/apache-geode-1.0.0-incubating/lib/geode-core-1.0.0-incubating.jar:/home/huzhifeng/workspace/geode-demo/apache-geode-1.0.0-incubating/lib/geode-dependencies.jar {code} > can not create redis server as the document describle > ------------------------------------------------------ > > Key: GEODE-2281 > URL: https://issues.apache.org/jira/browse/GEODE-2281 > Project: Geode > Issue Type: Bug > Reporter: netroby > > gfsh> start server --name=server1 --redis-bind-address=localhost > --redis-port=11211 --J=-Dgemfireredis.regiontype=PARTITION_PERSISTENT > Starting a Geode Server in > /home/huzhifeng/workspace/geode-demo/apache-geode-1.0.0-incubating/server1... > The Cache Server process terminated unexpectedly with exit status 1. Please > refer to the log file in > /home/huzhifeng/workspace/geode-demo/apache-geode-1.0.0-incubating/server1 > for full details. > Exception in thread "main" java.lang.RuntimeException: An IO error occurred > while starting a Server in > /home/huzhifeng/workspace/geode-demo/apache-geode-1.0.0-incubating/server1 on > 172.17.0.1[40404]: Network is unreachable; port (40404) is not available on > localhost. > at > org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:735) > at > org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:633) > at > org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:184) > Caused by: java.net.BindException: Network is unreachable; port (40404) is > not available on localhost. > at > org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:127) > at > org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:688) > ... 2 more > http://geode.apache.org/docs/guide/tools_modules/redis_adapter.html > I download the latest geode binary distribute -- This message was sent by Atlassian JIRA (v6.3.4#6332)