Last modified: 2012-10-31 18:35:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43589, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41589 - PHP Fatal error: Class 'Memcached' not found
PHP Fatal error: Class 'Memcached' not found
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-31 15:45 UTC by Sam Reed (reedy)
Modified: 2012-10-31 18:35 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2012-10-31 15:45:08 UTC
mw18 (at least) is missing the php5-memcached package:

reedy@fenari:~$ tail -n 1000 /home/wikipedia/syslog/apache.log | grep Memcached
Oct 31 15:36:14 10.0.11.18 apache2[21681]: PHP Fatal error:  Class 'Memcached' not found in /usr/local/apache/common-local/php-1.21wmf3/includes/objectcache/MemcachedPeclBagOStuff.php on line 57
reedy@fenari:~$ ssh 10.0.11.18
Linux mw18 2.6.32-41-generic #89-Ubuntu SMP Fri Apr 27 22:18:56 UTC 2012 x86_64 GNU/Linux
Ubuntu 10.04.4 LTS

78 packages can be updated.
64 updates are security updates.

New release 'precise' available.
Run 'do-release-upgrade' to upgrade to it.

The last Puppet run was at Wed Oct 31 15:41:25 UTC 2012 (1 minutes ago).
reedy@mw18:~$ dpkg -l  | grep memcached
ii  memcached                       1.4.2-1ubuntu3                    A high-performance memory object caching sys
reedy@mw18:~$ logout
Connection to 10.0.11.18 closed.
reedy@fenari:~$ ssh 10.0.11.17
Linux mw17 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.3 LTS

119 packages can be updated.
97 updates are security updates.

New release 'precise' available.
Run 'do-release-upgrade' to upgrade to it.

The last Puppet run was at Wed Oct 31 14:58:51 UTC 2012 (43 minutes ago).
reedy@mw17:~$ dpkg -l  | grep memcached
ii  libmemcached10                  1.0.8-1~wmf+lucid1                C and C++ client library to the memcached se
ii  memcached                       1.4.2-1ubuntu4                    A high-performance memory object caching sys
ii  php5-memcached                  2.1.0-2~wmf+lucid1                memcached extension module for PHP5, uses li


Going to have a look around and see if it's not anywhere else either...
Comment 1 Sam Reed (reedy) 2012-10-31 16:12:19 UTC
Would look to be only mw18...
Comment 2 Daniel Zahn 2012-10-31 18:20:28 UTC
apt-get -s install php5-memcached
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
root@mw18:~# dpkg --configure -a
Processing triggers for libapache2-mod-php5 ...
 * Reloading web server config apache2                                                                                                                                                                                                [ OK ] 
Setting up php-luasandbox (1.1-1~lucid) ...

---

The following extra packages will be installed:
  libmemcached10 php5-igbinary
The following NEW packages will be installed:
  libmemcached10 php5-igbinary php5-memcached
0 upgraded, 3 newly installed, 0 to remove and 73 not upgraded.
Inst libmemcached10 (1.0.8-1~wmf+lucid1 Wikimedia:10.04/lucid-wikimedia)
Inst php5-igbinary (1.1.1-1~wmf+lucid1 Wikimedia:10.04/lucid-wikimedia)
Inst php5-memcached (2.1.0-2~wmf+lucid1 Wikimedia:10.04/lucid-wikimedia)
Conf libmemcached10 (1.0.8-1~wmf+lucid1 Wikimedia:10.04/lucid-wikimedia)
Conf php5-igbinary (1.1.1-1~wmf+lucid1 Wikimedia:10.04/lucid-wikimedia)
Conf php5-memcached (2.1.0-2~wmf+lucid1 Wikimedia:10.04/lucid-wikimedia)


Unpacking php5-memcached (from .../php5-memcached_2.1.0-2~wmf+lucid1_amd64.deb) ...
Processing triggers for libapache2-mod-php5 ...
 * Reloading web server config apache2                                                                                                                                                                                                [ OK ] 
Setting up libmemcached10 (1.0.8-1~wmf+lucid1) ...

Setting up php5-igbinary (1.1.1-1~wmf+lucid1) ...
Setting up php5-memcached (2.1.0-2~wmf+lucid1) ...
Comment 3 Sam Reed (reedy) 2012-10-31 18:35:31 UTC
srv286 also the same problem, but the cause was different

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links