← 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
🔗 More Metasploit Issues
Found this useful? Share it.
Keep going
Make it count.
Join free to earn XP for what you read and solve, keep a streak, and track your progress.
Join free