Unable to connect to Asterisk. Did it start?

I have a problem because I have my virtual machine in the cloud with freepbx where it is turned off and on startup it tells me the error that can not connect with Asterisk

I am running the following commands as root, but it tells me that the service can not be started and I am in need of your help please

fwconsole start
amportal restart

I folow this instruccions of this link