Fatal errors

I get fatal erros when I try to do most anything - like chown or fwconsole or am portal or update - system not working - i get the following errors:

Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
PHP Fatal error: Uncaught exception ‘Whoops\Exception\ErrorException’ with message ‘file(/etc/asterisk/asterisk.conf): failed to open stream: No such file or directory’ in /var/www/html/admin/libraries/BMO/Freepbx_conf.class.php:418

  1. /usr/local/sbin/amportal: line 44: Whoops\Exception\ErrorException:: command not found
    /var/lib/asterisk/bin/freepbx_engine: line 119: Whoops\Exception\ErrorException:: command not found
    mkdir: missing operand

Not nearly enough information, but it sounds like permissions problems. Without knowing how you are trying to start the system and who is starting the system, it’s going to be a quick game of 1000 questions to get to the bottom of this.