Error executing action install on resource 'package[php-xml]'
Chef::Exceptions::Exec
returned 1, expected 0
Resource Declaration:
In /var/lib/aws/opsworks/cache.stage2/cookbooks/mod_php5_apache2/recipes/default.rb
4: package pkg do
5: action :install
6: ignore_failure(pkg.to_s.match(/^php-pear-/) ? true : false) # some pear packages come from EPEL which is not always available
7: end
8: end
Compiled Resource:
Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/mod_php5_apache2/recipes/default.rb:4:in `block in from_file'
package("php-xml") do
action [:install]
retries 0
retry_delay 2
package_name "php-xml"
version "5.3.29-1.7.amzn1"
cookbook_name "mod_php5_apache2"
recipe_name "default"
end
[2015-05-13T10:53:45+00:00] INFO: Running queued delayed notifications before re-raising exception
[2015-05-13T10:53:45+00:00] INFO: bash[logdir_existence_and_restart_apache2] sending restart action to serviceapache2
[2015-05-13T10:53:45+00:00] INFO: Processing service[apache2] action restart (apache2::default line 32)
[2015-05-13T10:53:49+00:00] INFO: service[apache2] restarted
[2015-05-13T10:53:49+00:00] ERROR: Running exception handlers
[2015-05-13T10:53:49+00:00] ERROR: Exception handlers complete
[2015-05-13T10:53:49+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out
[2015-05-13T10:53:49+00:00] ERROR: package[php-xml](mod_php5_apache2::default line 4) had an error: Chef::Exceptions::Exec: returned 1, expected 0
[2015-05-13T10:53:49+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Hi.
We have this error after we added php55
Error executing action
install
on resource 'package[php-xml]'Chef::Exceptions::Exec
returned 1, expected 0
Resource Declaration:
In /var/lib/aws/opsworks/cache.stage2/cookbooks/mod_php5_apache2/recipes/default.rb
4: package pkg do 5: action :install 6: ignore_failure(pkg.to_s.match(/^php-pear-/) ? true : false) # some pear packages come from EPEL which is not always available 7: end 8: end
Compiled Resource:
Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/mod_php5_apache2/recipes/default.rb:4:in `block in from_file'
package("php-xml") do action [:install] retries 0 retry_delay 2 package_name "php-xml" version "5.3.29-1.7.amzn1" cookbook_name "mod_php5_apache2" recipe_name "default" end
[2015-05-13T10:53:45+00:00] INFO: Running queued delayed notifications before re-raising exception [2015-05-13T10:53:45+00:00] INFO: bash[logdir_existence_and_restart_apache2] sending restart action to serviceapache2 [2015-05-13T10:53:45+00:00] INFO: Processing service[apache2] action restart (apache2::default line 32) [2015-05-13T10:53:49+00:00] INFO: service[apache2] restarted [2015-05-13T10:53:49+00:00] ERROR: Running exception handlers [2015-05-13T10:53:49+00:00] ERROR: Exception handlers complete [2015-05-13T10:53:49+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out [2015-05-13T10:53:49+00:00] ERROR: package[php-xml](mod_php5_apache2::default line 4) had an error: Chef::Exceptions::Exec: returned 1, expected 0 [2015-05-13T10:53:49+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Does it relate ?
Thanks for your time