aopp / android_device_lge_hammerhead

3 stars 2 forks source link

Error line 505 with status code 1 #9

Closed yoy123 closed 6 years ago

yoy123 commented 6 years ago

Error executing action ‘enable’ on resource ‘service[ifplugd]’

/usr/sbin/update-rc.d -n -f ifplugd failed - #<Process : :Status: pid 25676 exit 1>

yoy123 commented 6 years ago

This error occurs when trying to update pwnix. Need some help

yoy123 commented 6 years ago

update.log

yoy123 commented 6 years ago

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:inblock 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:inrun' /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:inrun_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:inrun_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:ineach' /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:inblock 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:instep' /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:ineach_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:inconverge' /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:incatch' /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:inconverge_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:inblock 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:infork_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:inwith_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:insleep_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:inloop' /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:inrun_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:inrun' /var/lib/gems/2.3.0/gems/chef-12.21.4/bin/chef-solo:25:in <top (required)>' /usr/local/bin/chef-solo:22:inload' /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:inblock 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:inrun' /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:inrun_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:inrun_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:ineach' /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:inblock 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:instep' /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:ineach_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:inconverge' /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:incatch' /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:inconverge_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:inblock 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:infork_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:inwith_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:insleep_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:inloop' /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:inrun_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:inrun' /var/lib/gems/2.3.0/gems/chef-12.21.4/bin/chef-solo:25:in <top (required)>' /usr/local/bin/chef-solo:22:inload' /usr/local/bin/chef-solo:22:in `

'

natzar commented 6 years ago

found a solution?

yoy123 commented 6 years ago

From the Pwnie Express Team:

  1. Open a Root Shell on the Pwn Pad (Pwn Phone).
  2. Type rm /opt/pwnix/chef/latest-version-id and press Enter.
  3. Type apt-get remove ifplugd and press Enter. If prompted to select yes, choose Yes and continue.
  4. Next, type /opt/pwnix/chef/update.sh and press Enter to update the device.

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.

yoy123 commented 6 years ago

Solved

peteguns57 commented 5 years ago

I'm having a problem with the update it's saying rake requires Ruby -v 2.0.0 line 520 with status code 1

peteguns57 commented 5 years ago

Any help would be nice thanks