service postgreqsql start
if this is the first time you are running metasploit, run the following command to create the database schema for you:
if it is not your first time, start your postgesql service as you will already have the database schema in place.
service postgresql start
Then you can start metasploit using the msfconsole command from a regular terminal