9

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?

schroeder
  • 123,438
  • 55
  • 284
  • 319
Marc Rasmussen
  • 191
  • 1
  • 1
  • 3

1 Answers1

8
#/etc/init.d/postgresql
service --status-all
service postgresql start
service postgresql status
#/usr/bin/msfconsole
msfdb init
msfconsole
msf > db_status
voices
  • 1,649
  • 7
  • 22
  • 36