How to solve database not connected, cache not built or using slow search in Kali Linux Metasploit Framework


  
  In this tutorial I'm going to share on how to solve database not connected, cache not built or using slow search in Metasploit Framework .


Steps

1) Make sure you are in your Metasploit Framework . Search for any module or exploit in the framework. If your system is using slow search, metasploit will give warning

 "Database not connected, cache not built or using slow search"


Database not connected or cache not built using slow search


2) To solve this problem, you need to rebuild the cache by typing

msf>db_rebuild_cache 


Rebuild the cache
Note: Let the system run and rebuild the system cache for few minutes.

3) After few minutes, try to  search  for any Metasploit module or exploit.If everything went well, you will be able to use fast and quick search in Metasploit Framework.