On 22/04/16 01:52, Daniel Chavez wrote:
Hi,
I recently had to reinstall Asterisk and FreePBX. asteirsk 11.20 and FreePBX 12.
This is running on Centos 6.7 32 bit.
When I use amportal start
It comes up with the errors below
Error in argument 1, char 2: option not found r
/usr/local/sbin/amportal: line 49: Usage:: command not found
**** WARNING: ERROR IN CONFIGURATION ****
My guess is you might not have run amportal with enough permissions to allow it to create /var/run/asterisk

If you create the directory and give asterisk permissions you should get past this but since it can be wiped its better to make sure your permissions are right.


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.
I'm not sure how to solve this? Asterisk already has the run directory in 
/var/run/asterisk and the config file notes this.
Perhaps it's PHP? Before I ran PHP 5.4 and now am running PHP 5.5.
Good luck

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to