28/06/2015, 18:10
(Questo messaggio è stato modificato l'ultima volta il: 29/06/2015, 16:18 da Ivan.
Motivo modifica: inserito tag code
)
Ecco, lo sapevo: mi sono incastrato per colpa del MySql. Lo avevo già installato e (forse) avevo cambiato anche la pw di root. Ora in fase di installazione ottengo questo errore:
Cosa devo fare per portare a termine l'installazione?
per la precisione: un' errore si era verificato anche sopra. quindi lo stack degli errori completo è questo:
Codice:
/usr/bin/chef-solo:24:in `<main>'
[2015-06-28T18:37:51+02:00] ERROR: Running exception handlers
[2015-06-28T18:37:51+02:00] ERROR: Exception handlers complete
[2015-06-28T18:37:51+02:00] FATAL: Stacktrace dumped to /home/pi/rpirrigate-chef/chef-stacktrace.out
[2015-06-28T18:37:51+02:00] FATAL: Mysql::Error: ruby_block[Database Set-up] (rpirrigate::default line 76) had an error: Mysql::Error: Access denied for user 'root'@'localhost' (using password: NO)
Cosa devo fare per portare a termine l'installazione?
per la precisione: un' errore si era verificato anche sopra. quindi lo stack degli errori completo è questo:
Codice:
[2015-06-28T18:37:51+02:00] INFO: Processing ruby_block[Database Set-up] action create (rpirrigate::default line 76)
[2015-06-28T18:37:51+02:00] ERROR: ruby_block[Database Set-up] (rpirrigate::default line 76) has had an error
[2015-06-28T18:37:51+02:00] ERROR: ruby_block[Database Set-up] (/home/pi/rpirrigate-chef/rpirrigate/recipes/default.rb:76:in `from_file') had an error:
ruby_block[Database Set-up] (rpirrigate::default line 76) had an error: Mysql::Error: Access denied for user 'root'@'localhost' (using password: NO)
/home/pi/rpirrigate-chef/rpirrigate/recipes/default.rb:83:in `new'
/home/pi/rpirrigate-chef/rpirrigate/recipes/default.rb:83:in `block (2 levels) in from_file'
/usr/lib/ruby/vendor_ruby/chef/provider/ruby_block.rb:28:in `call'
/usr/lib/ruby/vendor_ruby/chef/provider/ruby_block.rb:28:in `action_create'
/usr/lib/ruby/vendor_ruby/chef/resource.rb:472:in `run_action'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:49:in `run_action'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `block (2 levels) in converge'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `each'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `block in converge'
/usr/lib/ruby/vendor_ruby/chef/resource_collection.rb:94:in `block in execute_each_resource'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/lib/ruby/vendor_ruby/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:80:in `converge'
/usr/lib/ruby/vendor_ruby/chef/client.rb:330:in `converge'
/usr/lib/ruby/vendor_ruby/chef/client.rb:163:in `run'
/usr/lib/ruby/vendor_ruby/chef/application/solo.rb:207:in `block in run_application'
/usr/lib/ruby/vendor_ruby/chef/application/solo.rb:195:in `loop'
/usr/lib/ruby/vendor_ruby/chef/application/solo.rb:195:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application.rb:70:in `run'
/usr/bin/chef-solo:24:in `<main>'
[2015-06-28T18:37:51+02:00] ERROR: Running exception handlers
[2015-06-28T18:37:51+02:00] ERROR: Exception handlers complete
[2015-06-28T18:37:51+02:00] FATAL: Stacktrace dumped to /home/pi/rpirrigate-chef/chef-stacktrace.out
[2015-06-28T18:37:51+02:00] FATAL: Mysql::Error: ruby_block[Database Set-up] (rpirrigate::default line 76) had an error: Mysql::Error: Access denied for user 'root'@'localhost' (using password: NO)