nomadpenguin Posted September 18, 2011 Posted September 18, 2011 I am trying to use armitage on bt 5 r1 when i hit "start msf" it tells me "connection refused", then "using postgresql" then, "could not connect to db, make sure it's running" Looking at the terminal, it tells me that the connection was reset. I realize that there has been a previous thread on this, but the problem was not solved. Thanks in advance! Quote
Mr-Protocol Posted September 19, 2011 Posted September 19, 2011 (edited) Not sure what your issue is. It should be using mysql instead of postgresql. Made this for your understanding: You may need to right click the video and watch on YouTube so you can full screen. Edited September 19, 2011 by Mr-Protocol Quote
Infiltrator Posted September 20, 2011 Posted September 20, 2011 Here is how to http://vishnuvalentino.com/computer/how-to-set-up-armitage-in-backtrack-5/ Quote
Mr-Protocol Posted September 20, 2011 Posted September 20, 2011 Here is how to http://vishnuvalentino.com/computer/how-to-set-up-armitage-in-backtrack-5/ The video I made for my post makes it as easy as you can get. cd /pentest/exploits/framework ls ./armitage Click "Start MSF" and wait for it to load... Quote
Infiltrator Posted September 20, 2011 Posted September 20, 2011 The video I made for my post makes it as easy as you can get. cd /pentest/exploits/framework ls ./armitage Click "Start MSF" and wait for it to load... I agree and didn't say your video was useless, was just trying to show him other options to help him out too. Quote
555 Posted October 3, 2011 Posted October 3, 2011 I appriciate both of the information, the more the better. I have been fiddling with Armitage also, thanks. Quote
rsmudge Posted October 3, 2011 Posted October 3, 2011 @nomadpenguin You shouldn't use MySQL with Armitage. The Metasploit team uses postgresql. Also, there is a known issue where Metasploit updates fail to update the db tables properly when MySQL is in use. Armitage and Metasploit work with BackTrack 5 out of the box. Postgresql should always be running by default on BackTrack 5. If it's not (hence the "is the database running message?"), then you need to get it running. Type: /etc/init.d/framework-postgres start It'll either start or you'll see an error message. If you see bogus data in lock file "postmaster.pid" then you'll need to type the following: rm /opt/framework3/postgresql/data/postmaster.pid rm /opt/framework3/postgresql/.s.PGSQL.7175 rm /opt/framework3/postgresql/.s.PGSQL.7175.lock /etc/init.d/framework-postgres start [see: http://www.backtrack-linux.org/forums/backtrack-5-beginners-section/41151-fatal-bogus-data-lock-file-postmaster-pid-help-please.html for the original thread on this issue]. Also, Armitage has a nice Help button in the setup dialog now. Click that button to see every possible thing that I know can go wrong (and what the corresponding remedy is). Quote
digip Posted October 4, 2011 Posted October 4, 2011 @nomadpenguin You shouldn't use MySQL with Armitage. The Metasploit team uses postgresql. Also, there is a known issue where Metasploit updates fail to update the db tables properly when MySQL is in use. Armitage and Metasploit work with BackTrack 5 out of the box. Postgresql should always be running by default on BackTrack 5. If it's not (hence the "is the database running message?"), then you need to get it running. Type: /etc/init.d/framework-postgres start It'll either start or you'll see an error message. If you see bogus data in lock file "postmaster.pid" then you'll need to type the following: rm /opt/framework3/postgresql/data/postmaster.pid rm /opt/framework3/postgresql/.s.PGSQL.7175 rm /opt/framework3/postgresql/.s.PGSQL.7175.lock /etc/init.d/framework-postgres start [see: http://www.backtrack-linux.org/forums/backtrack-5-beginners-section/41151-fatal-bogus-data-lock-file-postmaster-pid-help-please.html for the original thread on this issue]. Also, Armitage has a nice Help button in the setup dialog now. Click that button to see every possible thing that I know can go wrong (and what the corresponding remedy is). Nice to see you on the forums and nice to meet you this past weekend. We really got a kick out of your Red vs Blue talk and "Q: how did you get in? A: Default passwords, default passwords, ms08-67 and default passwords.." :) Quote
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.