Before running metasploit framework on kali you should first setup the msfdb (database) Start postgresql-service Set up database (msfdb) If you want to make postgresql automatically run on system startup enable it by executing the following command Start metasploit
Continue reading