[solved] PHP - MySQL access killed after update

I just ran updates that included php, php-mysql, asterisk16-addons*, libpri, and a few others. I can still make calls, but I can no longer get to CDR. PHPMyAdmin is not working either.

Example errors from /var/log/httpd/error_log:

[Thu Dec 02 20:44:18 2010] [error] [client laptopaddress] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0, referer: http://serveraddress/admin/reports.php
[Thu Dec 02 20:44:20 2010] [error] [client laptopaddress] PHP Notice:  A session had already been started - ignoring session_start() in /share/var/www/html/admin/cdr/cdr.php on line 3, referer: http://serveraddress/admin/config.php?handler=cdr&s=1&posted=1
[Thu Dec 02 20:44:20 2010] [error] [client laptopaddress] PHP Notice:  Undefined index:  AMP_SQL in /share/var/www/html/admin/cdr/cdr.php on line 7, referer: http://serveraddress/admin/config.php?handler=cdr&s=1&posted=1
[Thu Dec 02 20:44:20 2010] [error] [client laptopaddress] PHP Notice:  Undefined variable: frommonth in /share/var/www/html/admin/cdr/call-log.php on line 217, referer: http://serveraddress/admin/config.php?handler=cdr&s=1&posted=1

It is on /share/var/www… because this is a high availability cluster using drbd with the replicated info (asterisk, freepbx, mysql, tftpboot) mounted under /share. drbdlinks takes care of the symlinks.

Reports menu item goes to the search page with “YOU MUST ACCESS THE CDR THROUGH THE ASTERISK MANAGEMENT PORTAL!” in red. It says there are no results.

phpMyAdmin page just says “Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.”

Can anyone give me some help?

http://www.freepbx.org/forum/freepbx/installation/resolved-asterisknow-1-7-and-cdr-reports-you-must-install-addons

Answered there. chown asterisk:asterisk /var/lib/php/session