What do I do now that I failed to start metasploit.service or in the case of unit metasploit.service not found?

229    Asked by AndreaBailey in SQL Server , Asked on Jan 17, 2022

 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:

msfconsole

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

Answered by Andrea Bailey

If you have failed to start metasploit.service or if unit metasploit.service not found -


#/etc/init.d/postgresql
service --status-all
service postgresql start
service postgresql status
#/usr/bin/msfconsole
msfdb init
msfconsole
msf > db_status

Your Answer

Interviews

Parent Categories