Metasploit often throws an error that its database cache is not yet ready and will continue using slow search.
Re-initilaize msfconsole and rebuild the database cache
To fix this issue, ensure postgresql is started and check status
$ sudo service postgresql start
$ sudo service postgresql status
Re-initilaize msfconsole and rebuild the database cache
$ sudo msfdb initThe search should be ready now
msf> db_rebuild_cache
msf> db_status
If this doesnt work, try the following command to re-establishing the database connection to complete the trick
msf > db_connect -y /usr/share/metasploit-framework/config/database.yml
No comments:
Post a Comment