Hi dear Kali-community ,

my problem is as you can see in the title.

using db_connect usrw@localhost/db works fine for me.
As soon as I close the msfconsole, I get the error again .

I changed the /opt/metasploit/properties.ini file, updated my usr and pw.

Code:
[General]
base_stack_name=Metasploit
base_stack_version=4.8.2-2014031201-1kali0
installdir=/opt/metasploit

[Postgres]
postgres_port=5432
rapid7_database_password=pw
rapid7_database_user=usr
rapid7_database_name=db
dpkg_created_database_user=no
dpkg_created_database=no

[NginX]
nginx_ssl_days=3650
nginx_ssl_name=kali
nginx_ssl_port=3790
After that I tried service metasploit stop and started it again, still the same problem.
Even restarting my vm doesn't solve the problem.

It seems like the credentials are located somewhere else.

I appreciate any help

Regards
del4n