Description of problem: Error with doc example 2.9, "-s" and "-t" command line options Version-Release number of selected component (if applicable): How reproducible: 100% [mfoley@foleymonsterbox1 bin]$ ./rhq-cli.sh -u rhqadmin -p rhqadmin -s 192.168.0.2 -t 16163 RHQ - RHQ Enterprise Remote CLI 4.2.0.JON.3.0.1.GA Login failed: Can not connect http client invoker. No route to host. Usage: login username password [host port [transport]] unconnected$ quit
12/30/2012 BZ triage meeting mfoley, ccrouch, loleary, asantos
Why are you using port 16163? That's the default Agent port. The CLI connects to the Server, so typically the port should be 7080.
same behavior on 7080 [mfoley@foleymonsterbox1 bin]$ ./rhq-cli.sh -u rhqadmin -p rhqadmin -s 192.168.0.2 -t 7080 RHQ - RHQ Enterprise Remote CLI 4.2.0.JON.3.0.1.GA Login failed: Can not connect http client invoker. No route to host. Usage: login username password [host port [transport]] unconnected$
It works for me (using master): [ips@jetengine bin]$ ./rhq-cli.sh -u rhqadmin -p rhqadmin -s 127.0.0.1 -t 7080 Listening for transport dt_socket at address: 9787 RHQ Enterprise Remote CLI 4.3.0-SNAPSHOT Remote server version is: 4.3.0-SNAPSHOT (47aff46) Login successful rhqadmin.0.1:7080$ Are you sure 192.168.0.2 is the correct IP address for the Server?
[mfoley@foleymonsterbox1 bin]$ ./rhq-cli.sh -u rhqadmin -p rhqadmin -s 127.0.0.1 -t 7080 RHQ - RHQ Enterprise Remote CLI 4.2.0.JON.3.0.1.GA Remote server version is: 3.0.1.GA (784c8ce:5cde182) Login successful rhqadmin.0.1:7080$