Metasploit mailing list archives
RbReadline Error: Errno::ENOMEM
From: änthräX ƨƨəʅɯɩɐȞ əɥɨ <anthr6x () gmail com>
Date: Wed, 20 Jun 2012 15:19:05 +0100
Hi All, I'm trying to install the framework on an ARM platform with 256MB of physical memory. I followed the instruction at https://community.rapid7.com/docs/DOC-1293 and ruby -rrubygems -rreadline -ropenssl -rirb -rdl -riconv -e 'p :OK' returned OK with the following warning. "<home>/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead." When I run the msfconsole, it gives me following error continuously. [-] RbReadline Error: Errno::ENOMEM Cannot allocate memory - infocmp -C ["/opt/metasploit3/msf3/lib/gemcache/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``'", "/opt/metasploit3/msf3/lib/gemcache/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``'", "/opt/metasploit3/msf3/lib/rbreadline.rb:1835:in `get_term_capabilities'", "/opt/metasploit3/msf3/lib/rbreadline.rb:2044:in `_rl_init_terminal_io'", "/opt/metasploit3/msf3/lib/rbreadline.rb:2545:in `readline_initialize_everything'", "/opt/metasploit3/msf3/lib/rbreadline.rb:3791:in `rl_initialize'", "/opt/metasploit3/msf3/lib/rbreadline.rb:4804:in `readline'", "/opt/metasploit3/msf3/lib/readline_compatible.rb:77:in `readline'", "/opt/metasploit3/msf3/lib/rex/ui/text/input/readline.rb:89:in `pgets'", "/opt/metasploit3/msf3/lib/rex/ui/text/shell.rb:183:in `run'", "/opt/metasploit3/msf3/msfconsole:140:in `<main>'"] But when I check available memory with "free -m", there's about 100mb free. Any Idea why is this happening and how to fix this? P.S. I use rvm to install ruby 1.9.3-p194 and installed ruby gems version is the latest. So I didn't compile the ruby gems manually. could this be an issue? regards -- änthräX http://blog.en.hacker.lk/
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- RbReadline Error: Errno::ENOMEM änthräX ƨƨəʅɯɩɐȞ əɥɨ (Jun 20)
- Re: RbReadline Error: Errno::ENOMEM Marc Wickenden (Jun 20)