I see a lot of these in my /var/log/php/error_log_53

[17-Jun-2012 19:02:42 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20090626/apc.so' - /opt/local/lib/php/extensions/no-debug-non-zts-20090626/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
vps2:/var/xdrago# cat /var/aegir/config/includes/barracuda_log.txt
Thu Jun  7 14:24:24 CEST 2012 / Ubuntu.precise x86_64 XEN / Aegir BOA-2.0.3 / Barracuda BOA-2.0.3 / Nginx 1.3.0 / PHP 5.2.17 and 5.3.13 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.24 localhost / Wildcard YES
Thu Jun  7 17:57:27 CEST 2012 / Ubuntu.precise x86_64 XEN / Aegir BOA-2.0.3 / Barracuda BOA-2.0.3 / Nginx 1.3.0 / PHP 5.2.17 and 5.3.13 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.24 localhost / Wildcard YES

If you need details on
/var/aegir/install.log (remove the password) and
/root/.barracuda.cnf

please see http://drupal.org/node/1643600 . I do not want to duplicate the same information again and waste everyone's time reading the same stuff.

Comments

omega8cc’s picture

Title: APC error » APC is missing in the Ubuntu Precise based install
Priority: Normal » Major

This looks like a major bug. The problem is that there is no php5-apc package in Ubuntu or stock Debian. There is php-apc, while php5-apc name is used only in the Dotdeb repositories, by default used in Debian Squeeze based BOA install.

Thanks for reporting this.

omega8cc’s picture

Status: Active » Fixed

Fixed in commit: http://drupalcode.org/project/barracuda.git/commit/20c7f16

As a hot fix please run:

aptitude install php-apc
service php53-fpm reload

Thanks for the report.

krishworks’s picture

Thank you. Have run the hot fix. If the error persists, will report again.

krishworks’s picture

Status: Fixed » Needs work

Now I get a lot of these in my /var/log/php/error_log_53

[21-Jun-2012 01:20:31 UTC] PHP Warning:  Module 'apc' already loaded in Unknown on line 0
[21-Jun-2012 01:20:41 UTC] PHP Warning:  Module 'apc' already loaded in Unknown on line 0
[21-Jun-2012 01:20:51 UTC] PHP Warning:  Module 'apc' already loaded in Unknown on line 0
omega8cc’s picture

This is only minor cosmetic issue. We will fix that.

krishworks’s picture

does this warning cause 502 Bad Gateway error that I am facing repeatedly?

omega8cc’s picture

No, it is completely unrelated.

omega8cc’s picture

Status: Needs work » Fixed

This issue is *fixed*.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.