You have to start msfconsole from msf3-dir,
cd /opt/framework/msf3/
then start msfconsole