Metasploit mailing list archives

Problem with MSF on MacOSX 10.8


From: marcus.twain () pobox com
Date: Thu, 29 Sep 2011 08:12:19 -0500

msfconsole (from the latest download of 4.0) seems to be dying before I can start it on MacOSX 10.8 with MSF revision 
13803. I did a clean installation of Mac Ports 2.0.3 and still get the following problem. I've updated MSF with `svn 
update', but that didn't seem to help. Any advice is appreciated. 

$ uname -a
Darwin bob 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011;root:xnu-1504.15.3~1/RELEASE_I386 i386

$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10]

$ cd msf3
$ ./msfconsole
/opt/local/lib/ruby1.9/1.9.1/rubygems.rb:108: warning: already initialized constant VERSION
/opt/local/lib/ruby1.9/1.9.1/rubygems.rb:108: warning: already initialized constant RubyGemsVersion
/opt/local/lib/ruby1.9/1.9.1/rubygems.rb:152: warning: already initialized constant MUTEX
/opt/local/lib/ruby1.9/1.9.1/rubygems.rb:154: warning: already initialized constant RubyGemsPackageVersion
/opt/local/lib/ruby1.9/1.9.1/rubygems.rb:160: warning: already initialized constant WIN_PATTERNS
/opt/local/lib/ruby1.9/1.9.1/rubygems.rb:1023: warning: already initialized constant MARSHAL_SPEC_DIR
/opt/local/lib/ruby1.9/1.9.1/rubygems.rb:1028: warning: already initialized constant YAML_SPEC_DIR
/opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:89:in `read': Permission denied - 
/opt/local/lib/ruby1.9/gems/1.9.1/specifications/mysql-2.8.1.gemspec (Errno::EACCES)
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:89:in `load_specification'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:153:in `block (2 levels) in load_gems_in'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:152:in `each'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:152:in `block in load_gems_in'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:149:in `reverse_each'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:149:in `load_gems_in'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:345:in `refresh!'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:78:in `from_gems_in'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/source_index.rb:58:in `from_installed_gems'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems.rb:866:in `source_index'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/gem_path_searcher.rb:81:in `init_gemspecs'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems/gem_path_searcher.rb:13:in `initialize'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems.rb:824:in `new'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems.rb:824:in `block in searcher'
        from <internal:prelude>:10:in `synchronize'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems.rb:823:in `searcher'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems.rb:1116:in `try_activate'
        from <internal:lib/rubygems/custom_require>:32:in `rescue in require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /opt/local/lib/ruby1.9/1.9.1/rubygems.rb:1096:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /Users/mtwain/tmp/msf3/lib/msf/sanity.rb:34:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /Users/mtwain/tmp/msf3/lib/msf/core.rb:13:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /Users/mtwain/tmp/msf3/lib/msf/ui/console/driver.rb:1:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /Users/mtwain/tmp/msf3/lib/msf/ui/console.rb:10:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /Users/mtwain/tmp/msf3/lib/msf/ui.rb:10:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from ./msfconsole:118:in `<main>'

$ port list installed
bzip2                          @1.0.6          archivers/bzip2
ettercap                       @0.6.b          net/ettercap
gdbm                           @1.9.1          databases/gdbm
gperf                          @3.0.4          devel/gperf
john                           @1.7.6          sysutils/john
libedit                        @20110802-3.0   devel/libedit
libffi                         @3.0.10         devel/libffi
libiconv                       @1.14           textproc/libiconv
libpcap                        @1.1.1          net/libpcap
libyaml                        @0.1.3          devel/libyaml
mysql5                         @5.1.57         databases/mysql5
mysql5-server                  @5.1.57         databases/mysql5-server
ncurses                        @5.9            devel/ncurses
ncursesw                       @5.8            devel/ncursesw
nmap                           @5.51           net/nmap
openssl                        @1.0.0e         devel/openssl
pcre                           @8.12           devel/pcre
readline                       @6.2.000        devel/readline
ruby19                         @1.9.2-p290     lang/ruby19
unrar                          @4.0.7          archivers/unrar
zlib                           @1.2.5          archivers/zlib


_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: