Results 1 to 2 of 2

Thread: Cannot use db_create in MSF3

  1. #1
    Junior Member
    Join Date
    Jan 2010

    Exclamation Cannot use db_create in MSF3

    I always have the message
    [-] Warning: The db_create command is deprecated, use db_connect instead.
    [-]          The database and schema will be created automatically by
    [-]          db_connect. If db_connect fails to create the database, create
    [-]          it manually with your DBMS's administration tools.
    [-] This database command requires the following tools to be installed: psql, dropdb, createdb
    And when I use db_connect:
    [-] Error while running command db_connect: Failed to connect to the database: could not connect to server: Connection refused
    	Is the server running on host "" and accepting
    	TCP/IP connections on port 5432?
    Call stack:
    /opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1621:in `db_connect_postgresql'
    /opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1289:in `cmd_db_connect'
    /opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `run_command'
    /opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:208:in `block in run_single'
    /opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `each'
    /opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `run_single'
    /opt/metasploit3/msf3/lib/rex/ui/text/shell.rb:141:in `run'
    /opt/metasploit3/msf3/msfconsole:117:in `<main>'
    I really need to make this because I cannot use db_autopwn

  2. #2
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Behind the screen.

    Default Re: Cannot use db_create in MSF3

    Learn how to search the forum before posting.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

Similar Threads

  1. db_create warning from metasploit
    By kataibrengsek in forum Beginners Forum
    Replies: 2
    Last Post: 07-25-2010, 01:21 AM
  2. comando desconocido db_create
    By Yeagobb in forum Soporte en Software
    Replies: 7
    Last Post: 06-17-2010, 06:02 PM
  3. updated msf3 and its disorganized
    By wolf17 in forum OLD Newbie Area
    Replies: 1
    Last Post: 01-07-2010, 11:19 AM
  4. MSF3 cannot update
    By RageLtMan in forum OLD BackTrack 4 General Support
    Replies: 1
    Last Post: 12-31-2009, 11:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts