mkevo commented on pull request #5669: URL: https://github.com/apache/geode/pull/5669#issuecomment-773868694
@echobravopapa , I don't have a test, but these are manually steps: 1. change your machine to use ipv6 address. Steps for Ubuntu: - in /etc/hosts file change ipv4 to ipv6 address(you can find ipv6 address if you type _ifconfig_) 2. Create locator dir from where you will run the following command: `usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -server -classpath /home/apache-geode-1.14.0-build.0/lib/geode-core-1.14.0-build.0.jar:/home/apache-geode-1.14.0-build.0/lib/geode-dependencies.jar -Djava.net.preferIPv6Addresses=true -DgemfireSecurityPropertyFile=/home/geode-examples/clientSecurity/example_security.properties -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 org.apache.geode.distributed.LocatorLauncher start locator --port=10334` Set your values for java, jars and security file path. 3. Open gfsh from another window and run offline status command: `status locator --dir=/home/apache-geode-1.14.0-build.0/bin/locatorssl --security-properties-file=/home/geode-examples/clientSecurity/example_security.properties` Output will be: **Locator in /home/apache-geode-1.14.0-build.0/bin/locatorssl on mkevo-XPS-15-9570[10334] is currently not responding.** If you try with my proposal to fix it you will got in logs java.lang.IllegalArgumentException and status command will be successful. Without my fix command failed as it not handling this exception. If you have any question, please feel free to contact me. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
