Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Backtrack 5 – No database in metasploit, when followed proposed steps

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 05-08-2011
Member
 
Join Date: May 2011
Posts: 134
Backtrack 5 – No database in metasploit, when followed proposed steps
  

db_driver show any active driver and available. None of the steps I used to install Postgres or MySQL has worked.
Quote:
Code
gem install mysql
succeeds
code
db_driver mysql
not valid driver error
code
gem install postgres
Why not come with Metasploit and configured MySQL and Postgres? What confuses me is that some people have reported that Postgres metasploit works well outside the box. Why are dissimilar configurations of a virtual machine to one more? A number of people articulate metasploit convinced building work better than others. Others say it is the version of Ruby's fault .This seems to be either 'ERROR' territory, or there must be a greatly improved guide to the creation of databases on metasploit.

Reply With Quote
  #2  
Old 05-08-2011
Member
 
Join Date: Nov 2009
Posts: 914
Re: Backtrack 5 – No database in metasploit, when followed proposed steps

He is supposed to be enabled by default, the port 7175 (defaulting port for Postgres metasploit) is exposed as listening, but why not observe metasploit? Metasploit I uninstalled restarted and reinstalled beginning the binary installer Rapid7 a pair of times, although still the performance. I even tried dissimilar ports, nevertheless without success. I'm dead in the water until they resolve this. I am unable to figure out actual problem .
Reply With Quote
  #3  
Old 05-08-2011
Member
 
Join Date: Mar 2010
Posts: 204
Re: Backtrack 5 – No database in metasploit, when followed proposed steps

I am one of those mentioned postgres metasploit and going well in the box. Backtrack 5 I am also using 32-bit virtual machine environment gnome. When you establish and run metasploit DB_STATUS, I get "postgresql msf3 associated." You be able to also take a give the impression of being at / for the subject opt/framework3/config/database.yml PostgreSQL configuration. He has also tried in a row .To link database to metasploit.
Reply With Quote
  #4  
Old 05-08-2011
Baisakhi3
 
Posts: n/a
Re: Backtrack 5 – No database in metasploit, when followed proposed steps

To solve this issue you need to go through the below code:
Quote:
root@bt:~# /opt/framework3/postgresql/bin/psql –U msf3 –d msf3
psql.bin: warning: extra command-line argument "–d" ignored
psql.bin: warning: extra command-line argument "msf3" ignored
Password for user msf3:
Reply With Quote
  #5  
Old 05-08-2011
Member
 
Join Date: Nov 2010
Posts: 80
Re: Backtrack 5 – No database in metasploit, when followed proposed steps

Follow the below code and then you will get solved your issue:
Quote:
msf > db_status[*] No driver selected
msf >
root@bt:/opt/framework3/config# cat database.yml
production:
adapter: postgresql
database: msf3
username: msf3
password: *PASSWORD*
host: 127.0.0.1
port: 7175
pool: 75
timeout: 5
root@bt:/opt/framework3/config# /opt/framework3/postgresql/bin/psql –U msf3 –d msf3
psql.bin: warning: extra command-line argument "–d" ignored
psql.bin: warning: extra command-line argument "msf3" ignored
Password for user msf3:
psql.bin: FATAL: database "–U" does not exist
Reply With Quote
  #6  
Old 05-08-2011
Member
 
Join Date: Jan 2009
Posts: 900
Re: Backtrack 5 – No database in metasploit, when followed proposed steps

Msfupdate ran for 4.0, but the problem persisted. I started a new virtual machine, run msfconsole msfupdate and direct access from the GUI, and now the postgres and mysql are being presented. It seems that the execution of binaries the terminal does not work, and that the make use of the GUI works. This difficulty is resolved! express thanks you all for your lend a hand and thoughts.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Backtrack 5 – No database in metasploit, when followed proposed steps"
Thread Thread Starter Forum Replies Last Post
How to install metasploit and postgresql in backtrack 5? GaganGang Operating Systems 8 30-09-2011 12:51 PM
BackTrack 5: Getting call stack error on metasploit drivers Aag-Man Windows Software 5 09-07-2011 10:36 AM
Unable to execute metasploit in backtrack 5 after updating db_driver sqlite 3 Gaganvihari Windows Software 5 06-07-2011 07:40 PM
Can’t get metasploit working in backtrack 5 Baijayanthi Operating Systems 4 20-06-2011 06:34 AM
Metasploit pcaprub solution for Backtrack 5 Farzana Operating Systems 4 19-06-2011 01:31 AM


All times are GMT +5.5. The time now is 03:50 AM.