Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

Hi there,

I have Asterisk 1.8.0 and FreePBX 2.8.0.4 on Ubuntu.

To start the server I use: “amportal start” (result is ok)

But when I enter to the FreePBX Web Admin the Asterisk Service is “not running”

I tried “asterisk -r” in the console, and received this error: “Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)”

The file exist, I gave all the permisions but it doenst work!

Help me