← All Kali Issues
Metasploit
Database not connected
D Database
Critical
🔴 Error Message
Database not connected or cache not built
📖 What This Means
PostgreSQL is not running or not initialized for Metasploit.
🔧 Step-by-Step Fix
- Start PostgreSQL: sudo systemctl start postgresql
- Initialize: sudo msfdb init
- Check: db_status in msfconsole
- Reinitialize: sudo msfdb reinit