views:

20

answers:

1

Has anyone gotten amazon's elastic load balancing command: elb-create-lb-listeners to work?

Is this the right site for ec2 questions: would serverfault be better? Amazon's forums seem slow...

I get:

PROMPT:~ acct$ elb-create-lb-listeners <MYLBNAME> --listener "protocol=http,lb-port=80,instance-port=80"
Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
elb-create-lb-listeners:  Malformed input-Unknown command: 'CreateLoadBalancerListeners'.
Use '--help' to see a list of valid commands.

...sup with that? Do I need to download something else? My ELB cli is 1.0.10.0, and AWS_ELB_HOME is set correctly.

thanks! Colin

A: 

Generally, you're running the latest version and that command should work.

I'd really fix your $JAVA_HOME environment. That can screw things up. Also, did you make sure $AWS_ELB_HOME and $AWS_CREDENTIAL_FILE are set in your environment?

Till