estava usando o BackTrack 4 R1 e estava dando erro, instalei o postgresql e o metasploit no ubuntu 10.04 e o mesmo erro torna a se repitir.
msf > db_create vitima
[-]
[-] 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.
[-]
/usr/lib/postgresql/8.4/bin/createdb: relocation error: /usr/lib/libpq.so.5: symbol SSL_CTX_set_client_cert_cb, version OPENSSL_0.9.8 not defined in file libssl.so.0.9.8 with link time reference
[-] Error while running command db_create: Failed to connect to the database: FATAL: autentica??o do tipo Ident falhou para usu?rio "postgres"
Call stack:
/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1941:in `db_create_postgresql'
/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1478:in `cmd_db_create'
/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:143:in `run'
/opt/metasploit3/msf3/msfconsole:124:in `<main>'
msf >
Eu não entendo pois o pgadmin3 esta se conectando normalmente com o usuario postgres.
Por favor se alguma pessoa souber o que esta acontecendo eu agradeço.
desde já obrigado.
msf > db_create vitima
[-]
[-] 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.
[-]
/usr/lib/postgresql/8.4/bin/createdb: relocation error: /usr/lib/libpq.so.5: symbol SSL_CTX_set_client_cert_cb, version OPENSSL_0.9.8 not defined in file libssl.so.0.9.8 with link time reference
[-] Error while running command db_create: Failed to connect to the database: FATAL: autentica??o do tipo Ident falhou para usu?rio "postgres"
Call stack:
/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1941:in `db_create_postgresql'
/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1478:in `cmd_db_create'
/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:143:in `run'
/opt/metasploit3/msf3/msfconsole:124:in `<main>'
msf >
Eu não entendo pois o pgadmin3 esta se conectando normalmente com o usuario postgres.
Por favor se alguma pessoa souber o que esta acontecendo eu agradeço.
desde já obrigado.
Comment