oliverlloyd / jmeter-ec2

Automates running Apache JMeter on Amazon EC2
GNU General Public License v3.0
464 stars 186 forks source link

Errors on Java install? #2

Closed hlesesne closed 12 years ago

hlesesne commented 12 years ago

First - thank you so much for such an impressive script. It has already saved me hours of work.

I was using this script successfully for days, but started seeing errors when running install.sh... I updated all my scripts to the latest version and found an appropriate ubuntu image for the agents. I'm now getting the following and just wondering if anyone else is experiencing something similar. Thanks again and I'll update this issue as I find out more. Best regards, Hal


   jmeter-ec2 Automation Script - Running myproject.jmx over 2 AWS Instance(s)

requesting 2 instance(s)...success

waiting for instance status checks to pass (this can take several minutes)..... all hosts ready

assigning tags... TAG instance i-8cd856f5 ProjectName myproject TAG instance i-8ed856f7 ProjectName myproject

TAG instance i-8cd856f5 Name jmeter-ec2-myproject TAG instance i-8ed856f7 Name jmeter-ec2-myproject complete copying install.sh to 2 server(s)....complete

Extracting templates from packages: 100% Extracting templates from packages: 100% ..........tar: This does not look like a tar archive

gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now mv: cannot move /tmp/JMeterPlugins.jar' to/tmp/apache-jmeter-2.6/lib/ext/': No such file or directory mv: cannot move /tmp/mysql-connector-java-5.1.16-bin.jar' to/tmp/apache-jmeter-2.6/lib/': No such file or directory .....tar: This does not look like a tar archive

gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now mv: cannot move /tmp/JMeterPlugins.jar' to/tmp/apache-jmeter-2.6/lib/ext/': No such file or directory mv: cannot move /tmp/mysql-connector-java-5.1.16-bin.jar' to/tmp/apache-jmeter-2.6/lib/': No such file or directory .complete

oliverlloyd commented 12 years ago

This was caused by the fact the http://apache.mirror1.spango.com/jmeter/binaries URL died. I've replaced it now with http://archive.apache.org/dist/jmeter/binaries (which sounds like it should, hopefully be around for longer).

You'll need to update the install.sh script with the latest copy.

hlesesne commented 12 years ago

Thanks a ton. I'm updating it now.