rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
33.67k stars 13.87k forks source link

msfdb reinit error #19262

Closed patricksullivan12345 closed 2 weeks ago

patricksullivan12345 commented 2 months ago

Good afternoon!

I am trying to install Metasploit and the database will not connect to Metasploit v6 when activated. The db_nmap command will not work. I tried modifying the database in Postgres, and while I was able to get the database to connect to Metaspliot, it does not save data to the database.

Here is error I receive when I try to use ./msfdb reinit in Kali Linux on a VMware workstation:

┌──(root㉿wyldIndica)-[/opt/metasploit-framework/bin] └─# ./msfdb reinit Metasploit running on Kali Linux as root, using system database Creating database user 'msf' Enter password for new role: Enter it again: Creating databases 'msf' and 'msf_test' Creating configuration file in /usr/share/metasploit-framework/config/database.yml Creating initial database schema Could not locate Gemfile or .bundle/ directory

github-actions[bot] commented 1 month ago

Hi!

This issue has been left open with no activity for a while now.

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.

github-actions[bot] commented 2 weeks ago

Hi again!

It’s been 60 days since anything happened on this issue, so we are going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error please feel free to reopen this issue or create a new one if you need anything else.

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.