Asterisk.ctl

unable to connect to remote asterisk (Does /var/run/asterisk/asterisk.ctl exist?)
ubuntu is installed on virtualbox.

Asterisk didn’t start. (Look at the logs to see why. Or run in -c mode.)

Or user doesn’t have permission to run it.

Try:

sudo asterisk -r