Not sure whether or not this is a Webmin issue…
I am running the Amazon EC2 instance preloaded with Webmin and Virtualmin. Everything is great, but this morning I keep getting the following message :
Broadcast message from root (Wed May 7 12:18:22 2008) :
EC2 instance installation failed!!! Please review /var/log/install
This is my /var/log/install file :
Wed May 7 12:14:12 BST 2008
Fetching EC2 Meta-Data
Fetching EC2 User-Data
curl: (22) The requested URL returned error: 404
User data empty
Setting Up Mirrors
Switching centos repo to mirror.rightscale.com
Adding rubygems repo http://mirror.rightscale.com
Binary file /usr/lib/ruby/gems/1.8/source_cache matches
Already added
Running boot RightScripts
Wed May 7 12:14:12 BST 2008
>>>>> Now logging to /var/log/install.1210158853.31598 for <RunRightScripts starting to boot>
RunRightScripts starting to boot
Wed May 07 12:14:13 +0100 2008
***** RunRightScripts starting to boot at Wed May 07 12:14:13 +0100 2008 *****
** No RS_token in instance user data thus no RightScripts to process
***** RUN RIGHTSCRIPTS took 0.0 minutes
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
***** Notifying RightScale: entering operational state *****
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned “302 Temporarily Moved” – something is wrong with thewarning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
Exception: #<RuntimeError: Server returned "302 Temporarily Moved" – something is wrong with the request: <PUT /ec2_instances_api/i-1419db7d;state>> – retrying
!!! ERROR PROCESSING RIGHTSCRIPTS:
!!! Failed to get response from server for <PUT /ec2_instances_api/i-1419db7d;state>
/opt/rightscale/bin/runrightscripts.rb:108:in `http_request’
/opt/rightscale/bin/runrightscripts.rb:128:in `http_put’
/opt/rightscale/bin/runrightscripts.rb:410:in `state_transition’
/opt/rightscale/bin/runrightscripts.rb:621
/opt/rightscale/bin/runrightscripts.rb:394:in `reopen’: can’t convert nil into String (TypeError)
from /opt/rightscale/bin/runrightscripts.rb:394:in `stop’
from /opt/rightscale/bin/runrightscripts.rb:380:in `finish’
from /opt/rightscale/bin/runrightscripts.rb:633
EC2 instance installation failed!!!
Started at Wed May 7 12:14:12 BST 2008
Ended at Wed May 7 12:18:22 BST 2008
My instance seems to be having trouble with various services - httpd and pop3 for example, meaning that suddenly loads of my web sites are down.
I haven’t done anything that could have affected this - All I did was reboot the instance.
Can you point me in the right direction?
Lewis