How to Fix Metasploit Database Not Connected or Cache Not Built Kali Linux Metasploit PostgreSQL 1 minute to read (172 words) () Overview Start Required Services Initialise the Metasploit PostgreSQL Database Launch msfconsole in Kali Fix Metasploit Cache Issue Start Required Services Metasploit uses PostgreSQL as its database so it needs to be launched first. $ sudo service postgresql start Initialise the Metasploit PostgreSQL Database With PostgreSQL up and running, we next need to create and initialize the msf database. $ sudo msfdb init Launch msfconsole in Kali $ sudo msfconsole msf > db_status [*] postgresql connected to msf3 Fix Metasploit Cache Issue msf > search wordpress [!] Database not connected or cache not built, using slow search # Rebuid Cache # It takes some time for the cache to be rebuild msf> db_rebuild_cache Email Address Post Navigation