Message says to report this.
I can run msfconsole just fine, but have never gotten it to connect to the postgresdb.
This is on Mac OSX. I can nmap and see that port 5432 is open on locahost.
Lucas-Ottens-MacBook-Pro:bin lotten$ ./msfconsole
LOG: skipping missing configuration file "/Users/lotten/.msf4/db/postgresql.auto.conf"
LOG: postmaster became multithreaded
pg_ctl: directory "/Users/lotten/.msf4/db" is not a database cluster directory
Found a database at /Users/lotten/.msf4/db, checking to see if it is started
Using database port 5432
Starting database at /Users/lotten/.msf4/db...failed
/opt/metasploit-framework/embedded/framework/msfdb:68:in `readlines': No such file or directory @ rb_sysopen - /Users/lotten/.msf4/db/log (Errno::ENOENT)
from /opt/metasploit-framework/embedded/framework/msfdb:68:in `tail'
from /opt/metasploit-framework/embedded/framework/msfdb:119:in `start_db'
from /opt/metasploit-framework/embedded/framework/msfdb:189:in `init_db'
from /opt/metasploit-framework/embedded/framework/msfdb:309:in `<main>'
[-] Failed to connect to the database: FATAL: role "msfpassword" does not exist