Results 1 to 6 of 6

Thread: BackTrack 5: Getting call stack error on metasploit drivers

  1. #1
    Join Date
    Jun 2006
    Posts
    65

    BackTrack 5: Getting call stack error on metasploit drivers

    I have installed BackTrack 5 on the computer of mine. well I am getting an issue when I supposed to create a Database by using MySQl and postgresql. I am getting call stack errors while doing the same. Let me know why I am getting the above mentioned issue on the computer of mine. any help on this particular matter would be highly appreciated. Thanks a lot in advance.

  2. #2
    Join Date
    May 2008
    Posts
    913

    Re: BackTrack 5: Getting call stack error on metasploit drivers

    I let you know that I have already connected with the database after booting the computer. Well I have ran nmap and saved the scan on the x.namp I have ran following piece of the code on the terminal.
    Code:
    root@bt:~# msfconsole
    
    msf > db_import /root/x.namp
    after using the above mentioned command you will not require to use db_driver or db_connet connect command.

  3. #3
    Join Date
    Nov 2008
    Posts
    996

    Re: BackTrack 5: Getting call stack error on metasploit drivers

    Let me know whether the above mentioned solution worked for you or not. If there is no change in the situation than I recommend following piece of command which you should execute.
    Code:
    root@bt:~# apt-get install libmysqlclient-dev
    root@bt:~# gem install mysql
    you did not require to create a new MySQL database and it should not be created by using the db_connect and it would create a new database if it not exist.

  4. #4
    Join Date
    Nov 2008
    Posts
    1,054

    Re: BackTrack 5: Getting call stack error on metasploit drivers

    Well looking at the situation I am suggesting following things which you should try to fix the matter of yours.
    You to run following command on the terminal.
    Code:
    update-alternatives --config ruby
    you have to select ruby 1.8 auto
    now execute the following piece of the command on the terminal,
    Code:
    gem install mysql
    now nevaigate to the
    Code:
     vi /pentest/exploits/framework/msfconsole
    and simply replace the
    Code:
    #!/usr/bin/env ruby with the #!/usr/bin/ruby
    Now execute the below mentioned command on the computer of yours.
    Code:
    cd /pentest/exploits/framework3
    ./msfconsole

  5. #5
    Join Date
    Nov 2008
    Posts
    1,192

    Re: BackTrack 5: Getting call stack error on metasploit drivers

    I think you need install Ruby Version Manager on the computer of yours. once you have completed you have to open the .bashrc into text editor and add the following lines.
    Code:
    # Load RVM source
    
     if [[ -s "/usr/local/rvm/scripts/rvm" ]]  ; then source "/usr/local/rvm/scripts/rvm" ; fi
    
     # Enable Tab Completion in RVM
    
     [[ -r /usr/local/rvm//scripts/completion ]] && source /usr/local/rvm/scripts/completion

  6. #6
    Join Date
    Jun 2009
    Posts
    1,518

    Re: BackTrack 5: Getting call stack error on metasploit drivers

    Each and everytime you have to invoke the ruby interpreter by using the version command. Next time you have to install the necessary ruby gems into the each of gem repositories by using the rvm command on the terminal of yours.
    Code:
    rvm gem install hpricot
    
     rvm gem install sqlite3-ruby
    
     rvm gem install pg
    
     rvm gem install wirble
    
     rvm gem install mysql
    after completing with the installation you have to set Ruby 1.9.1 by using the following command.
    Code:
    rvm 1.9.1 –default

Similar Threads

  1. How to install metasploit and postgresql in backtrack 5?
    By GaganGang in forum Operating Systems
    Replies: 8
    Last Post: 30-09-2011, 12:51 PM
  2. Replies: 5
    Last Post: 05-08-2011, 09:21 AM
  3. Replies: 5
    Last Post: 06-07-2011, 07:40 PM
  4. Can’t get metasploit working in backtrack 5
    By Baijayanthi in forum Operating Systems
    Replies: 4
    Last Post: 20-06-2011, 06:34 AM
  5. Metasploit pcaprub solution for Backtrack 5
    By Farzana in forum Operating Systems
    Replies: 4
    Last Post: 19-06-2011, 01:31 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,626,336.99467 seconds with 17 queries