Results 1 to 6 of 6

Thread: Backtrack 5 – No database in metasploit, when followed proposed steps

  1. #1
    Join Date
    May 2011
    Posts
    136

    Backtrack 5 – No database in metasploit, when followed proposed steps

    db_driver show any active driver and available. None of the steps I used to install Postgres or MySQL has worked.
    Code
    gem install mysql
    succeeds
    code
    db_driver mysql
    not valid driver error
    code
    gem install postgres
    Why not come with Metasploit and configured MySQL and Postgres? What confuses me is that some people have reported that Postgres metasploit works well outside the box. Why are dissimilar configurations of a virtual machine to one more? A number of people articulate metasploit convinced building work better than others. Others say it is the version of Ruby's fault .This seems to be either 'ERROR' territory, or there must be a greatly improved guide to the creation of databases on metasploit.

  2. #2
    Join Date
    Nov 2009
    Posts
    914

    Re: Backtrack 5 – No database in metasploit, when followed proposed steps

    He is supposed to be enabled by default, the port 7175 (defaulting port for Postgres metasploit) is exposed as listening, but why not observe metasploit? Metasploit I uninstalled restarted and reinstalled beginning the binary installer Rapid7 a pair of times, although still the performance. I even tried dissimilar ports, nevertheless without success. I'm dead in the water until they resolve this. I am unable to figure out actual problem .

  3. #3
    Join Date
    Mar 2010
    Posts
    204

    Re: Backtrack 5 – No database in metasploit, when followed proposed steps

    I am one of those mentioned postgres metasploit and going well in the box. Backtrack 5 I am also using 32-bit virtual machine environment gnome. When you establish and run metasploit DB_STATUS, I get "postgresql msf3 associated." You be able to also take a give the impression of being at / for the subject opt/framework3/config/database.yml PostgreSQL configuration. He has also tried in a row .To link database to metasploit.

  4. #4
    Baisakhi3 Guest

    Re: Backtrack 5 – No database in metasploit, when followed proposed steps

    To solve this issue you need to go through the below code:
    root@bt:~# /opt/framework3/postgresql/bin/psql –U msf3 –d msf3
    psql.bin: warning: extra command-line argument "–d" ignored
    psql.bin: warning: extra command-line argument "msf3" ignored
    Password for user msf3:

  5. #5
    Join Date
    Nov 2010
    Posts
    80

    Re: Backtrack 5 – No database in metasploit, when followed proposed steps

    Follow the below code and then you will get solved your issue:
    msf > db_status[*] No driver selected
    msf >
    root@bt:/opt/framework3/config# cat database.yml
    production:
    adapter: postgresql
    database: msf3
    username: msf3
    password: *PASSWORD*
    host: 127.0.0.1
    port: 7175
    pool: 75
    timeout: 5
    root@bt:/opt/framework3/config# /opt/framework3/postgresql/bin/psql –U msf3 –d msf3
    psql.bin: warning: extra command-line argument "–d" ignored
    psql.bin: warning: extra command-line argument "msf3" ignored
    Password for user msf3:
    psql.bin: FATAL: database "–U" does not exist

  6. #6
    Join Date
    Jan 2009
    Posts
    913

    Re: Backtrack 5 – No database in metasploit, when followed proposed steps

    Msfupdate ran for 4.0, but the problem persisted. I started a new virtual machine, run msfconsole msfupdate and direct access from the GUI, and now the postgres and mysql are being presented. It seems that the execution of binaries the terminal does not work, and that the make use of the GUI works. This difficulty is resolved! express thanks you all for your lend a hand and thoughts.

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: 09-07-2011, 10:36 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,713,282,264.98591 seconds with 17 queries