Amportal error

Hello there,

freepbx = 2.9.0
asterisk = 1.8

I am having error message while runing command amportal (stop, start etc)

Fetching FreePBX settings with gen_amp_conf.php…

**** 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.

can someone help me please.

I have already check from topic in this forum . but didnt help my problem

Thanks
Rabzee

We are not mind readers, what type of system (OS and how was it installed)?

OS = Centos 5.7

update

2011-Oct-11 00:01:18 /var/www/html/admin/common/db_connect.php:14
[WARNING]: require_once(DB.php) [function.require-once]: failed to open stream: No such file or directory

Action taken

i have checked my Pear setting php.ini it is correct … DB.php is also right

run: pear install DB