Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Trouble getting Asterisk Running with FreePBX 11


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
topdog2046 at gmail.com
Guest





PostPosted: Thu Apr 21, 2016 8:53 am    Post subject: [asterisk-users] Trouble getting Asterisk Running with FreeP Reply with 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 ****
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





PostPosted: Thu Apr 21, 2016 8:47 pm    Post subject: [asterisk-users] Trouble getting Asterisk Running with FreeP Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services