Results 1 to 5 of 5

Thread: Metasploit errors

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    May 2011
    Posts
    3

    Exclamation Metasploit errors

    root@bt:~# msfconsole
    [-] WARNING! The following modules could not be loaded!
    [-] /opt/framework-3.7.0/msf3/modules/auxiliary/scanner/smtp/smtp_enum.rb: SyntaxError (eval):186: syntax error, unexpected ',', expecting ')'
    when (500..549, (551..599)
    ^
    (eval):190: syntax error, unexpected keyword_when, expecting ')'
    when (250..259)
    ^
    (eval):197: syntax error, unexpected keyword_end, expecting ')'
    (eval):228: syntax error, unexpected keyword_end, expecting ')'

    888 888 d8b888
    888 888 Y8P888
    888 888 888
    88888b.d88b. .d88b. 888888 8888b. .d8888b 88888b. 888 .d88b. 888888888
    888 "888 "88bd8P Y8b888 "88b88K 888 "88b888d88""88b888888
    888 888 88888888888888 .d888888"Y8888b.888 888888888 888888888
    888 888 888Y8b. Y88b. 888 888 X88888 d88P888Y88..88P888Y88b.
    888 888 888 "Y8888 "Y888"Y888888 88888P'88888P" 888 "Y88P" 888 "Y888
    888
    888
    888


    =[ metasploit v3.7.1-release [core:3.7 api:1.0]
    + -- --=[ 688 exploits - 357 auxiliary - 39 post
    + -- --=[ 217 payloads - 27 encoders - 8 nops
    =[ svn r12641 updated today (2011.05.16)

    msf > db_create database
    [-]
    [-] 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.
    [-]
    Password:
    Password:
    createdb.bin: could not connect to database postgres: FATAL: password authentication failed for user "postgres"
    [-] Error while running command db_create: Failed to connect to the database: FATAL: Ident authentication failed for user "postgres"


    Call stack:
    /opt/framework-3.7.0/msf3/lib/msf/ui/console/command_dispatcher/db.rb:2118:in `db_create_postgresql'
    /opt/framework-3.7.0/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1687:in `cmd_db_create'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in `run_command'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:338:in `block in run_single'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:332:in `each'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:332:in `run_single'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/shell.rb:143:in `run'
    /opt/framework-3.7.0/msf3/msfconsole:130:in `<main>'




    this is the version that comes with backtrack 5 and was updated yesterday using the metasploit updater. i am aware that there are multiple errors and i have no idea what to to fix them.

  2. #2
    Member
    Join Date
    Feb 2010
    Posts
    78

    Default Re: Metasploit errors

    Updated to 3.7.1 this morning and haven't seen this issue at all. Also, the db_create command has been deprecated for more than a year now. So what have you done to try to fix the problem? Googled? Asked a listserv? Tried to fix it yourself?
    Computer security is a temporary condition.

  3. #3
    Just burned his ISO
    Join Date
    May 2011
    Posts
    3

    Default Re: Metasploit errors

    i'm aware that the db_create command isnt used anymore but the db_connect gives almost the same error


    msf > db_connect database
    [-] Error while running command db_connect: Failed to connect to the database: FATAL: Ident authentication failed for user "root"


    Call stack:
    /opt/framework-3.7.0/msf3/lib/msf/ui/console/command_dispatcher/db.rb:2028:in `db_connect_postgresql'
    /opt/framework-3.7.0/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1731:in `cmd_db_connect'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in `run_command'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:338:in `block in run_single'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:332:in `each'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:332:in `run_single'
    /opt/framework-3.7.0/msf3/lib/rex/ui/text/shell.rb:143:in `run'
    /opt/framework-3.7.0/msf3/msfconsole:130:in `<main>'
    msf >



    it seems as if no user can authenticate.

  4. #4
    Junior Member
    Join Date
    Apr 2010
    Posts
    30

    Default Re: Metasploit errors

    How did you update to version 3.7.1?

  5. #5
    Just burned his ISO
    Join Date
    May 2011
    Posts
    14

    Default Re: Metasploit errors

    i have same error too.....
    http://www.backtrack-linux.org/forum...ostgresql.html
    http://epichacktime.com/blog/metaspl...sstartupissue/
    can help, but.....
    i get error too:

    Code:
    [-] Failed to connect to the database: could not connect to server: Connection refused
            Is the server running on host "127.0.0.1" and accepting
            TCP/IP connections on port 7175?
     {"adapter"=>"postgresql", "database"=>"msf3", "username"=>"msf3", "password"=>"6a794a78", "host"=>"127.0.0.1", "port"=>7175, "pool"=>75, "timeout"=>5} ["/opt/framework3/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `initialize'", "/opt/framework3/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `new'", "/opt/framework3/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `connect'", "/opt/framework3/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize'", "/opt/framework3/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `new'", "/opt/framework3/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `block (2 levels) in checkout'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `block in checkout'", "/opt/framework3/ruby/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'", "/opt/framework3/msf3/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'", "/opt/framework3/msf3/lib/active_record/base.rb:1271:in `columns'", "/opt/framework3/msf3/lib/active_record/base.rb:1284:in `column_names'", "/opt/framework3/msf3/lib/active_record/base.rb:1297:in `column_methods_hash'", "/opt/framework3/msf3/lib/active_record/base.rb:1986:in `block in all_attributes_exists?'", "/opt/framework3/msf3/lib/active_record/base.rb:1986:in `each'", "/opt/framework3/msf3/lib/active_record/base.rb:1986:in `all?'", "/opt/framework3/msf3/lib/active_record/base.rb:1986:in `all_attributes_exists?'", "/opt/framework3/msf3/lib/active_record/base.rb:1842:in `method_missing'", "/opt/framework3/msf3/lib/msf/core/model/workspace.rb:29:in `default'", "/opt/framework3/msf3/lib/msf/core/db.rb:188:in `default_workspace'", "/opt/framework3/msf3/lib/msf/core/db_manager.rb:166:in `connect'", "/opt/framework3/msf3/lib/msf/ui/console/driver.rb:181:in `initialize'", "/opt/framework3/msf3/msfconsole:130:in `new'", "/opt/framework3/msf3/msfconsole:130:in `<main>'"]
    HELP! BT5 seems to be full of bugs xD

Similar Threads

  1. metasploit vbs to .doc errors
    By pentest09 in forum Beginners Forum
    Replies: 3
    Last Post: 09-28-2010, 11:55 PM
  2. Backtrack R1 several errors
    By mania in forum Beginners Forum
    Replies: 6
    Last Post: 08-21-2010, 03:23 AM
  3. What do these errors mean?
    By DarkDavil in forum Beginners Forum
    Replies: 5
    Last Post: 05-17-2010, 09:19 PM
  4. Dell Latitude D531 boot errors. (media errors)
    By Dutch in forum OLD BackTrack 4 NON working hardware
    Replies: 2
    Last Post: 08-20-2009, 05:54 PM
  5. Backtrack 3 errors
    By Austin4bert in forum OLD Newbie Area
    Replies: 0
    Last Post: 07-31-2009, 03:54 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
  •