Closed yoy123 closed 6 years ago
This error occurs when trying to update pwnix. Need some help
Chef::Exceptions::Service: service[ifplugd] (pwnix_base_cookbook::kali_services line 21) had an error: Chef::Exceptions::Service: /usr/sbin/update-rc.d -n -f ifplugd failed - #<Process::Status: pid 8157 exit 1>
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/mixin/why_run.rb:240:in run' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/mixin/why_run.rb:321:in
block in run'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/mixin/why_run.rb:320:in each' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/mixin/why_run.rb:320:in
run'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider.rb:154:in process_resource_requirements' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider.rb:133:in
run_action'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource.rb:622:in run_action' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:69:in
run_action'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:97:in block (2 levels) in converge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:97:in
each'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:97:in block in converge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/resource_list.rb:94:in
block in execute_each_resource'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/stepable_iterator.rb:114:in call_iterator_block' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/stepable_iterator.rb:85:in
step'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/stepable_iterator.rb:103:in iterate' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/stepable_iterator.rb:55:in
each_with_index'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/resource_list.rb:92:in execute_each_resource' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:96:in
converge'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:715:in block in converge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:710:in
catch'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:710:in converge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:749:in
converge_and_save'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:286:in run' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:295:in
block in fork_chef_client'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:283:in fork' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:283:in
fork_chef_client'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:248:in block in run_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/local_mode.rb:44:in
with_server_connectivity'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:236:in run_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:464:in
sleep_then_run_chef_client'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:451:in block in interval_run_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:450:in
loop'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:450:in interval_run_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:434:in
run_application'
/var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:59:in run' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/solo.rb:226:in
run'
/var/lib/gems/2.3.0/gems/chef-12.21.4/bin/chef-solo:25:in <top (required)>' /usr/local/bin/chef-solo:22:in
load'
/usr/local/bin/chef-solo:22:in `
Caused by Chef::Exceptions::Service: /usr/sbin/update-rc.d -n -f ifplugd failed - #<Process::Status: pid 8157 exit 1> /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/mixin/why_run.rb:240:in
run' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/mixin/why_run.rb:321:in
block in run' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/mixin/why_run.rb:320:ineach' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/mixin/why_run.rb:320:in
run' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider.rb:154:inprocess_resource_requirements' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/provider.rb:133:in
run_action' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource.rb:622:inrun_action' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:69:in
run_action' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:97:inblock (2 levels) in converge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:97:in
each' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:97:inblock in converge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/resource_list.rb:94:in
block in execute_each_resource' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/stepable_iterator.rb:114:incall_iterator_block' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/stepable_iterator.rb:85:in
step' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/stepable_iterator.rb:103:initerate' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/stepable_iterator.rb:55:in
each_with_index' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/resource_collection/resource_list.rb:92:inexecute_each_resource' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/runner.rb:96:in
converge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:715:inblock in converge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:710:in
catch' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:710:inconverge' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:749:in
converge_and_save' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/client.rb:286:inrun' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:295:in
block in fork_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:283:infork' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:283:in
fork_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:248:inblock in run_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/local_mode.rb:44:in
with_server_connectivity' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:236:inrun_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:464:in
sleep_then_run_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:451:inblock in interval_run_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:450:in
loop' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:450:ininterval_run_chef_client' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/client.rb:434:in
run_application' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application.rb:59:inrun' /var/lib/gems/2.3.0/gems/chef-12.21.4/lib/chef/application/solo.rb:226:in
run' /var/lib/gems/2.3.0/gems/chef-12.21.4/bin/chef-solo:25:in<top (required)>' /usr/local/bin/chef-solo:22:in
load' /usr/local/bin/chef-solo:22:in `'
found a solution?
From the Pwnie Express Team:
During the update process, it is not unexpected to see events involving "Error" reflected during the update. This is because we use the same Pwnix Release across multiple products and for some products, like the "mobile line", certain things are not applicable. What does matter is if you see events involving FATAL or CRITICAL in the update process, or if the device fails to update to the next revision.
After the update has finished and you are returned to the # prompt, type cat /etc/motd and press Enter. If the update succeeded, you will see Pwnix Release 1.9.8 installed. If you do not see 1.9.8 installed, then please provide the /var/log/pwnix/update.log to me for review.
Solved
I'm having a problem with the update it's saying rake requires Ruby -v 2.0.0 line 520 with status code 1
Any help would be nice thanks
Error executing action ‘enable’ on resource ‘service[ifplugd]’
/usr/sbin/update-rc.d -n -f ifplugd failed - #<Process : :Status: pid 25676 exit 1>