Results 1 to 4 of 4

Thread: DB Problems in metasploit

  1. #1
    Just burned his ISO
    Join Date
    Sep 2011
    Posts
    2

    Default DB Problems in metasploit

    Hey I try to load up a database but it says it isnt there can anyone help? thanks!

    Code:
    msf > db_driver[*]    Active Driver: postgresql[*]        Available: postgresql, mysql
    
    msf > /etc/init.d/mysql start[*] exec: /etc/init.d/mysql start
    
    Rather than invoking init scripts through /etc/init.d, use the service(8)
    utility, e.g. service mysql start
    
    Since the script you are attempting to invoke has been converted to an
    Upstart job, you may also use the start(8) utility, e.g. start mysql
    start: Job failed to start

  2. #2
    Good friend of the forums scottm99's Avatar
    Join Date
    Feb 2010
    Location
    underwater
    Posts
    371

    Default Re: DB Problems in metasploit

    Looks like you've already got a database loaded (i.e. postgresql). If you want to use the mysql database instead, try "service postgresql stop", then "service mysql start". Then, run "db_driver" and see if mysql is active.

    Personally, I'd stick with postgresql, but that's because it's my preference
    If I could figure out how to scuba dive & hack at the same time, there would be nothing I couldn't do...

  3. #3
    Just burned his ISO
    Join Date
    Sep 2011
    Posts
    2

    Default Re: DB Problems in metasploit

    Quote Originally Posted by scottm99 View Post
    Looks like you've already got a database loaded (i.e. postgresql). If you want to use the mysql database instead, try "service postgresql stop", then "service mysql start". Then, run "db_driver" and see if mysql is active.

    Personally, I'd stick with postgresql, but that's because it's my preference
    Thanks alot for the reply !

  4. #4
    Good friend of the forums scottm99's Avatar
    Join Date
    Feb 2010
    Location
    underwater
    Posts
    371

    Default Re: DB Problems in metasploit

    You're welcome! Hope it's working out for you.
    If I could figure out how to scuba dive & hack at the same time, there would be nothing I couldn't do...

Similar Threads

  1. MetaSploit - Some problems
    By 0megear in forum Beginners Forum
    Replies: 8
    Last Post: 03-29-2011, 11:01 PM
  2. Metasploit Problems
    By chance in forum Beginners Forum
    Replies: 1
    Last Post: 12-18-2010, 08:29 AM
  3. Metasploit Database Problems
    By xtjacob in forum Beginners Forum
    Replies: 2
    Last Post: 06-08-2010, 11:50 AM
  4. newbie Problems with Metasploit
    By GinoCazino in forum OLD General IT Discussion
    Replies: 2
    Last Post: 06-03-2008, 04:02 PM
  5. A couple of metasploit problems. Help me fix this?
    By Fishbones in forum OLD General IT Discussion
    Replies: 7
    Last Post: 01-22-2008, 09:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •