Skip to content
jlee-r7 edited this page May 15, 2012 · 2 revisions

Start here:

Database troubleshooting

If the database is not connecting automatically, first make sure it is running:

  • Linux:$ netstat -lnt | grep 7337 where 7337 is whatever port you told it to listen on during installation
  • Windows: look for a postgres.exe process in task manager.

If postgres is not running, try starting it manually:

  • Linux:$ sudo /etc/init.d/metasploit start or if you didn't choose to install as a service: $ sudo /opt/metasploit*/ctlscript.sh start
  • Windows: Start -> Metasploit -> Services -> Start Services

Once postgres is running and listening, go back to msfconsole:

msf > db_connect

Metasploit Wiki Pages


Clone this wiki locally