I am running an old version of asterisk on rentpbx. I dont remember the exact version but was deployed in 2016. The server stopped working, and I rebooted it, now it asterisk doesnt want to start. When I run amportal start I get the following error. I googled but I done see any restults with that line 46 error.
/usr/local/sbin/amportal: line 46: [FATAL]: command not found
/var/lib/asterisk/bin/freepbx_engine: line 98: [FATAL]: command not found
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in ‘/etc/asterisk’ is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p ’
mkdir: missing operand
Try `mkdir --help’ for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ’ failed with an exit code of 1
You must create this directory and the try again.