Computer_Security Posted July 7, 2014 Share Posted July 7, 2014 So I have been having this problem for like a week now and I can't figure out why. The problem is that when ever I try to start up a session of Metasploit or Armitage it gives me a error message saying that it couldn't connect to the database! Armitage's Error Message Could not connect to database. Click Help button for troubleshooting help. Connection refused Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Metasploit Error Message Failed to connect to database: Could not connect to server: Connection Refused If anyone could give me some suggestions on how to fix it I would be very grateful! If any more information is needed please tell me! Quote Link to comment Share on other sites More sharing options...
i8igmac Posted July 7, 2014 Share Posted July 7, 2014 http://www.darkoperator.com/installing-metasploit-in-ubunt/ I think u need to complete the install of libs sqlite and postgres Quote Link to comment Share on other sites More sharing options...
Guest spazi Posted July 7, 2014 Share Posted July 7, 2014 I have the same problem in Kali.You need to start up postgresql and metasploit.type this in before you start up Armitage. service postgresql start service metasploit start then start up armitage and it should work just fine :) Quote Link to comment Share on other sites More sharing options...
Computer_Security Posted July 7, 2014 Author Share Posted July 7, 2014 Thanks guys for the suggestions I am trying them out right now and I will keep you updated on how it goes! ( spazi, i8igmac ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.