Ok about 6 months ago I was doing a 2.10 upgrade on an AsteriskNOW instalation that had been in production for about 2 years. Small office pbx. No issues life was grand.
After the upgrade with Module Admin I noticed Sys Admin hadn’t installed and needed some dependencies met.
This is where things started going wrong.
I tried to yum upgrade php, and Zend
I lost the WebGUI 500 server error and login screen over and over.
But the server continued to handle calls, so I back-burnered the issue and moved on to the next job.
Now I’m back and I have to get this fixed, Regain WebGUI access, etc.
I think I have the php upgrade issue resolved by following steps on this page:
http://www.howtoforge.com/centos-5.6-php53-common-conflicts-with-php-common
and now :
[root@AsteriskProd /]# php -v
PHP 5.3.14 (cli) (built: Jun 25 2012 11:39:43)
Copyright © 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2012 Zend Technologies
with Zend Guard Loader v3.3, Copyright © 1998-2010, by Zend Technologies
[root@AsteriskProd /]#
And I installed php-posix via yum as well
But still the issue continues:
[root@AsteriskProd /]# amportal start
PHP Fatal error: require_once(): Failed opening required ‘DB.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/html/admin/libraries/db_connect.php on line 14
**** 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.
[root@AsteriskProd /]#
And=========================
[root@AsteriskProd bin]# ./module_admin reload
PHP Fatal error: require_once(): Failed opening required ‘DB.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/html/admin/libraries/db_connect.php on line 14
[root@AsteriskProd bin]#
What do I do???
Any info or tests that would help let me know I just need this beast back up and running.
Thank You