View previous topic :: View next topic |
Author |
Message |
topdog2046 at gmail.com Guest
|
Posted: Thu Apr 21, 2016 8:53 am Post subject: [asterisk-users] Trouble getting Asterisk Running with FreeP |
|
|
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 ****
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.
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
duncan at e-simple.co.nz Guest
|
Posted: Thu Apr 21, 2016 8:47 pm Post subject: [asterisk-users] Trouble getting Asterisk Running with FreeP |
|
|
On 22/04/16 01:52, Daniel Chavez wrote:
Quote: | 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.
Quote: | 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 |
|
Back to top |
|
|
|