rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
34.17k stars 13.98k forks source link

Error installing metasploit pro #8633

Closed xtx0x8 closed 7 years ago

xtx0x8 commented 7 years ago

Metasploit version

4.14.28

I installed Metasploit with:

OS and Ruby:

Arch Linux. RVM with ruby 2.3.1

Metasploit pro install error:

Problem running post-install step. Installation may not complete correctly
 Error running /opt/metasploit-pro/apps/pro/engine/scripts/ctl.sh start: /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find nokogiri-1.8.0 in any of the sources (Bundler::GemNotFound)
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/spec_set.rb:81:in `map!'
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/spec_set.rb:81:in `materialize'
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/definition.rb:159:in `specs'
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/definition.rb:218:in `specs_for'
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/definition.rb:207:in `requested_specs'
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/runtime.rb:109:in `block in definition_method'
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/runtime.rb:21:in `setup'
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler.rb:101:in `setup'
    from /root/.rvm/gems/ruby-2.3.1/gems/bundler-1.15.1/lib/bundler/setup.rb:20:in `<top (required)>'
    from /opt/metasploit-pro/ruby/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:128:in `require'
    from /opt/metasploit-pro/ruby/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
    from /opt/metasploit-pro/ruby/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:39:in `require'

Msfpro start error(framework.log):

(eval):328:in `esnecil_registered?'
(eval):357:in `esnecil_invalid?'
/opt/metasploit-pro/apps/pro/plugins/pro.rb:1071:in `initialize'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/core/plugin.rb:32:in `new'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/core/plugin.rb:32:in `create'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/core/plugin_manager.rb:76:in `load'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/base/simple/framework.rb:36:in `load'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/ui/console/command_dispatcher/core.rb:773:in `load_plugin'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/ui/console/command_dispatcher/core.rb:793:in `cmd_load'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/rex/ui/text/dispatcher_shell.rb:430:in `run_command'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/rex/ui/text/dispatcher_shell.rb:392:in `block in run_single'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/rex/ui/text/dispatcher_shell.rb:386:in `each'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/rex/ui/text/dispatcher_shell.rb:386:in `run_single'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/ui/console/driver.rb:562:in `block in on_startup'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/ui/console/driver.rb:561:in `each'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/ui/console/driver.rb:561:in `on_startup'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/msf/ui/console/driver.rb:232:in `initialize'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/metasploit/framework/command/console.rb:62:in `new'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/metasploit/framework/command/console.rb:62:in `driver'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/metasploit/framework/command/console.rb:48:in `start'
/opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/lib/metasploit/framework/command/base.rb:82:in `start'
/opt/metasploit-pro/apps/pro/engine/lib/metasploit/pro/engine/command/console.rb:38:in `start_local'
/opt/metasploit-pro/apps/pro/engine/lib/metasploit/pro/engine/command/console.rb:19:in `start'
/opt/metasploit-pro/apps/pro/engine/lib/metasploit/pro/engine/command/base.rb:66:in `start'
/opt/metasploit-pro/apps/pro/engine/msfpro:17:in `<main>'
[06/23/2017 21:14:13] [d(0)] core: Already established connection to postgresql, so reusing active connection.
[06/23/2017 21:14:19] [e(0)] core: Unable to load module /opt/metasploit-pro/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.26/modules/exploits/linux/smtp/haraka.py NoMethodError undefined method `match?' for #<String:0x00000010f21718>
Did you mean?  match
[06/23/2017 21:14:20] [e(0)] core: Error loading plugin /opt/metasploit-pro/apps/pro/plugins/pro: undefined method `[]' for nil:NilClass
busterb commented 7 years ago

I don't think Arch is in the list of supported platforms for Metasploit Pro. Also looks like you might have an invalid license key. Please reach out to customer support, github issues are for the open source project: https://www.rapid7.com/for-customers/

xtx0x8 commented 7 years ago

Thank you 👍