Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- KNIFE COMMAND
- knife ec2 server create -r 'role[Virima_EM2]' --image ami-06ad526f --flavor m1.small --identity-file ec2_ssh_keypair -G default -x ubuntu -S ec2_ssh_keypair -Z us-east-1b
- ERROR
- ec2-184-73-110-25.compute-1.amazonaws.com /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:239:in `run_application'
- ec2-184-73-110-25.compute-1.amazonaws.com /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in `loop'
- ec2-184-73-110-25.compute-1.amazonaws.com /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in `run_application'
- ec2-184-73-110-25.compute-1.amazonaws.com /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application.rb:67:in `run'
- ec2-184-73-110-25.compute-1.amazonaws.com /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/chef-client:26
- ec2-184-73-110-25.compute-1.amazonaws.com /usr/bin/chef-client:19:in `load'
- ec2-184-73-110-25.compute-1.amazonaws.com /usr/bin/chef-client:19
- ec2-184-73-110-25.compute-1.amazonaws.com [Wed, 31 Aug 2011 23:45:31 +0000] ERROR: Running exception handlers
- ec2-184-73-110-25.compute-1.amazonaws.com [Wed, 31 Aug 2011 23:45:31 +0000] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
- ec2-184-73-110-25.compute-1.amazonaws.com [Wed, 31 Aug 2011 23:45:31 +0000] ERROR: Exception handlers complete
- ec2-184-73-110-25.compute-1.amazonaws.com [Wed, 31 Aug 2011 23:45:31 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
- ec2-184-73-110-25.compute-1.amazonaws.com [Wed, 31 Aug 2011 23:45:31 +0000] FATAL: Chef::Exceptions::ShellCommandFailed: execute[install-mysql] (mysql::server_ec2 line 27) had an error: Expected process to exit with [0], but received '1'
- ec2-184-73-110-25.compute-1.amazonaws.com ---- Begin output of mv /var/lib/mysql /mnt/mysql ----
- ec2-184-73-110-25.compute-1.amazonaws.com STDOUT:
- ec2-184-73-110-25.compute-1.amazonaws.com STDERR: mv: cannot stat `/var/lib/mysql': No such file or directory
- ec2-184-73-110-25.compute-1.amazonaws.com ---- End output of mv /var/lib/mysql /mnt/mysql ----
- ec2-184-73-110-25.compute-1.amazonaws.com Ran mv /var/lib/mysql /mnt/mysql returned 1
- Instance ID: i-72d93912
- Flavor: m1.small
- Image: ami-06ad526f
- Availability Zone: us-east-1b
- Security Groups: sg-4fb1ec26, default, sg-4fb1ec26, default
- Public DNS Name: ec2-184-73-110-25.compute-1.amazonaws.com
- Public IP Address: 184.73.110.25
- Private DNS Name: domU-12-31-39-00-7C-C3.compute-1.internal
- SSH Key: ec2_ssh_keypair
- Private IP Address: 10.254.131.49
- Root Device Type: ebs
- Root Volume ID: vol-aef54ec4
- Root Device Name: /dev/sda1
- Root Device Delete on Terminate: true
- Environment: _default
- Run List: role[Virima_EM2]
- LOGIN, VERIFYING /MNT DIRECTORY
- ssh -i ec2_ssh_keypair ubuntu@ec2-184-73-110-25.compute-1.amazonaws.comWelcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-virtual i686)
- * Documentation: https://help.ubuntu.com/
- System information as of Wed Aug 31 23:48:09 UTC 2011
- System load: 0.07 Processes: 59
- Usage of /: 10.1% of 7.87GB Users logged in: 0
- Memory usage: 9% IP address for eth0: 10.254.131.49
- Swap usage: 0%
- Graph this data and manage this system at https://landscape.canonical.com/
- ---------------------------------------------------------------------
- At the moment, only the core of the system is installed. To tune the
- system to your needs, you can choose to install one or more
- predefined collections of software by running the following
- command:
- sudo tasksel --section server
- ---------------------------------------------------------------------
- Last login: Wed Aug 31 23:41:32 2011 from adsl-068-209-118-112.sip.asm.bellsouth.net
- ubuntu@domU-12-31-39-00-7C-C3:~$ df -h
- Filesystem Size Used Avail Use% Mounted on
- /dev/xvda1 7.9G 817M 6.7G 11% /
- none 828M 116K 828M 1% /dev
- none 833M 0 833M 0% /dev/shm
- none 833M 40K 833M 1% /var/run
- none 833M 0 833M 0% /var/lock
- /dev/xvda2 147G 188M 140G 1% /mnt
- ubuntu@domU-12-31-39-00-7C-C3:~$
- STACKTRACE.OUT FILE
- Generated at Wed Aug 31 23:45:31 +0000 2011
- Chef::Exceptions::ShellCommandFailed: execute[install-mysql] (mysql::server_ec2 line 27) had an error: Expected process to exit with [0], but received '1'
- ---- Begin output of mv /var/lib/mysql /mnt/mysql ----
- STDOUT:
- STDERR: mv: cannot stat `/var/lib/mysql': No such file or directory
- ---- End output of mv /var/lib/mysql /mnt/mysql ----
- Ran mv /var/lib/mysql /mnt/mysql returned 1
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/shell_out.rb:207:in `invalid!'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/shell_out.rb:193:in `error!'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/shell_out.rb:36:in `shell_out!'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/provider/execute.rb:58:in `action_run'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource.rb:437:in `send'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource.rb:437:in `run_action'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:45:in `run_action'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:81:in `converge'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:81:in `each'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:81:in `converge'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/runner.rb:76:in `converge'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:312:in `converge'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:160:in `run'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:239:in `run_application'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in `loop'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in `run_application'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application.rb:67:in `run'
- /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/chef-client:26
- /usr/bin/chef-client:19:in `load'
- /usr/bin/chef-client:19
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement