When I installed metasploit initially, i was prompted with this:
Installation folder
Please, choose a folder to install Metasploit
Select a folder [/opt/metasploit-4.3.0]: /~/ <---- first mistake, (imo)
----------------------------------------------------------------------------
Install as a service
You can optionally register Metasploit as a service. This way it will
automatically be started every time the machine is started.
Install Metasploit as a service? [Y/n]: n <------ 2nd mistake, which leads me to my issues!
----------------------------------------------------------------------------
Metasploit Service
Please enter the port that the Metasploit service will use.
SSL Port [3790]:
what is the port, what is it asking? (i went with 3790)
Ok so it all went well, i was able to launch msfconsole just fine until I restarted my system. Now when I launch msfconsole I see this:
[-] Failed to connect to the database: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 7337?
followed by a bunch of jargon relating to postresql, can some one assist me in making it launch the database on start up *see 2nd mistake above*
Thanks in advance.