Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't load Metasploit after installation

After istallation of Metaploit via darkoperator/MSF-Installer try to start the msfconsole and it return:

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- /usr/local/bin/config/boot (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/local/bin/msfconsole:23:in `<main>'

using:

Linux ubuntu 3.13.0-32-generic 

Have someone an idea?

like image 986
Dario Anguilla Avatar asked Aug 19 '14 20:08

Dario Anguilla


3 Answers

For me it helped following:

sudo chmod o+r /var/lib/gems/1.9.1/gems/robots-0.10.1/lib/robots.rb

after that user is able to run metasploit.

like image 178
user4170357 Avatar answered Oct 19 '22 12:10

user4170357


As user4170357 but with a slight difference due to: Mac OS X 10.9.5

to fix, run:

sudo chmod o+r /Library/Ruby/Gems/2.0.0/gems/robots-0.10.1/lib/robots.rb

(path is a little bit different than original answer)

like image 3
Phil L. Avatar answered Oct 19 '22 13:10

Phil L.


This is a bug in the kernel where file-system becomes read-only or inaccessible randomly. Read more here.

To fix Just reboot and it will be fixed.

like image 2
AK_ Avatar answered Oct 19 '22 13:10

AK_