-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msfconsole throwing error after installing #6766
Comments
You probably installed Metasploit on a system without enough memory. Create some swap space and try running msfconsole again. He's using a DO droplet, but the steps to create swap space are the same. Follow the steps from this point "First Attempt at Running MSF (FAIL)". |
@AliBawazeEer Nice report, but @p5i is correct - the stacktrace indicates your environment has run out of memory, so you will need to change that on your end. This doesn't look like a bug in Framework, so I will go ahead and close this ticket. But if for some reason that's not the case, feel free to ping me and I will be more than happy to reopen. Thanks. |
Hi all , |
i have this error after install msf console |
how can i fix |
Please don't comment on closed tickets. If you read the first response above, I believe that will help find an answer for the ENOMEM your installation hit, @vicky121998. |
aynı hata bende de oldu yardım edebilecek var mı? |
Probleme: not enough swap space free ## to check your swap space |
Steps to reproduce
How'd you do it?
This section should also tell us any relevant information about the
environment; for example, if an exploit that used to work is failing,
tell us the victim operating system and service versions.
Expected behavior
What should happen?
root@debian-pentest:~# msfconsole
Metasploit Park, System Security Interface
Version 4.0.5, Alpha E
Ready...
/opt/metasploit-framework/embedded/lib/ruby/gems/2.1.0/gems/activesupport-4.0.13/lib/active_support/core_ext/kernel/agnostics.rb:7:in
'': Cannot allocate memory - infocmp (Errno::ENOMEM) from /opt/metasploit-framework/embedded/lib/ruby/gems/2.1.0/gems/activesupport-4.0.13/lib/active_support/core_ext/kernel/agnostics.rb:7:in
'from /opt/metasploit-framework/embedded/lib/ruby/gems/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:1815:in
get_term_capabilities' from /opt/metasploit-framework/embedded/lib/ruby/gems/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:2027:in
_rl_init_terminal_io'from /opt/metasploit-framework/embedded/lib/ruby/gems/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:2519:in
readline_initialize_everything' from /opt/metasploit-framework/embedded/lib/ruby/gems/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:3804:in
rl_initialize'from /opt/metasploit-framework/embedded/lib/ruby/gems/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:4823:in
readline' from /opt/metasploit-framework/embedded/framework/lib/rex/ui/text/input/readline.rb:132:in
readline_with_output'from /opt/metasploit-framework/embedded/framework/lib/rex/ui/text/input/readline.rb:86:in
pgets' from /opt/metasploit-framework/embedded/framework/lib/rex/ui/text/shell.rb:187:in
run'from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:48:in
start' from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/base.rb:82:in
start'from /opt/metasploit-framework/bin/../embedded/framework/msfconsole:48:in `
Current behavior
What happens instead?
You might also want to check the last ~1k lines of
/opt/metasploit/apps/pro/engine/config/logs/framework.log
or~/.msf4/logs/framework.log
for relevant stack tracesSystem stuff
Metasploit version
Get this with the
version
command in msfconsole (orgit log -1 --pretty=oneline
for a source install).I installed Metasploit with:
OS
What OS are you running Metasploit on?
ubuntu 14
The text was updated successfully, but these errors were encountered: