Foro de elhacker.net

Sistemas Operativos => GNU/Linux => Mensaje iniciado por: juanxo12 en 6 Junio 2016, 06:37 am



Título: ayuda Failed to connect to the database: could not connect to server metasploit
Publicado por: juanxo12 en 6 Junio 2016, 06:37 am
Hola, me aparece este error ,alguien me puede echar una mano?

root@kali:~# msfconsole
[-] Failed to connect to the database: could not connect to server: Connection refused
   Is the server running on host "localhost" (::1) and accepting
   TCP/IP connections on port 7337?
could not connect to server: Connection refused
   Is the server running on host "localhost" (127.0.0.1) and accepting
   TCP/IP connections on port 7337?

                                                 
....

msf > db_status
  • postgresql selected, no connection
msf > db_connect -y /usr/share/metasploit-framework/config/database.yml
  • Rebuilding the module cache in the background...
msf > db_status
  • postgresql connected to msf
msf >