I have resolved this problem. It is generated by bad character in "/opt/metasploit/apps/pro/ui/config/database.yml", in my case was in password.

old case
password:...