Tag Archives: kali learning

kali Error: service metasploit start [How to Solve]

When service metasploit start is used in kali, an error is report:

Failed to start metasploit.service: Unit metasploit.service not found.

this is because the new version of kali has been updated.

The correct way to use is:

1. Start the postgresql:

service postgresql start

2. Initialize the metasploit postgresql database

msfdb init

3. Start msfconsole and verify whether the connection to the database is successful:

enter the command: msfconsole enter msf5

4. Enter db_status: