Reinstall Asterisk & FreePBX

For Asterisk:
yum reinstall asterisk* -y

For FreePBX:
yum reinstall freepbx* -y

During FeeePBX reinstall if you receive a DB error in the log:
"[FATAL] PEAR must be installed (requires DB.php). Include path: .:/usr/share/pear:/usr/share/php"

fix is simple:
pear install DB

and then
yum reinstall freepbx* -y

2 comments:

  1. I had to move our Asterisk to another drive, Very Helpful, worked a treat, thankyou.

    ReplyDelete
    Replies
    1. Just as an update I was getting various access error shorty after!
      being:

      - Reload failed because retrieve_conf encountered an error: 1
      - Error Asterisk Manager Interface (astman) failure

      I did this to correct, run these command in the same order with root /sudo privileges
      # amportal chown
      # amportal a ma refreshsignatures
      # amportal a reload

      Delete