Before I start I would like to inform you that I own a MacBook Pro (Version 10.13), not Linux or Windows.
For the past year and a half I have had metasploit installed on my computer. It has had absolutely no problems, and I have ben using it quite a lot. I only had the metasploit framework installed on my personal account, and recently I decided to install it onto my student account (On The Same Computer), so I downloaded a package (.pkg) for the metasploit framework and installed it. It all worked flawlessly, and I was able to run msfconsole, I checked with db_status, and it said that it was connected. All perfect. But then, I signed in to my personal account, tried running msfconsole, and it did not work, I do not remember in detail, but it had asked me
LOG: database system is shut down If your database is corrupt, would you to reinitialize it?:
Anyways, I'm in another situation now. I completely uninstalled Metasploit & PostgreSQL from both my accounts, then installed them back ONLY on my personal account. I set metasploit up; all smooth. I go to run msfconsole, and then this is the output:
Aryamans-MacBook-Pro:~ admin$ msfconsole
[-] Failed to connect to the database: FATAL: password authentication
failed for user "msf"
[*] Starting the Metasploit FrameworK console.../
I have postgreSQL installed; the latest version. And when I type db_status in terminal this is what I get:
msf > db_status
[*] postgresql selected, no connection
This has been a problem for about 4 days now, and I would really love if there is a solution to this.
Feel free to ask me any questions about anything else in detail, I will provide you with the info.