I am trying to setup Metasploit for penetration testing.

However, I cannot get the database to connect. Also whenever I attempt to start the service using service metasploit start I get the following error:

failed to start metasploit.service 
unit metasploit.service failed to load 
no such file or directory

I find this odd because I am able to run the program using:


I haven't been able to find any solutions online, can anyone here help me out?

  • have you tried the metasploit forums on Rapid7?
    – schroeder
    Nov 1, 2015 at 17:56
  • When I Google the error, I get directed here: kali.org/news/kali-linux-20-released
    – schroeder
    Nov 1, 2015 at 17:59
  • did you use the new Kali method for starting metasploit?
    – schroeder
    Nov 1, 2015 at 18:00
  • I'm closing this because it belongs on a Kali or metasploit forum. An answer was found in 30 seconds of Googling the error, resulting in a Kali forum post.
    – schroeder
    Nov 1, 2015 at 20:31

1 Answer 1

service --status-all
service postgresql start
service postgresql status
msfdb init
msf > db_status

Not the answer you're looking for? Browse other questions tagged .