Last modified: 2012-12-13 12:03:36 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 T44994, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42994 - flagged revs cron job on hume fails due to missing Memcached class in MemcachedPeclBagOStuff.php
flagged revs cron job on hume fails due to missing Memcached class in Memcach...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Ariel T. Glenn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-12 10:38 UTC by Ariel T. Glenn
Modified: 2012-12-13 12:03 UTC (History)
0 users

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


Attachments

Description Ariel T. Glenn 2012-12-12 10:38:11 UTC
I was fixing cron job wikimedia-periodic-update.sh on hume, ran the updateStats.php script by hand to check that it was working, and got this instead:

root@hume:~# php -n /home/wikipedia/common/multiversion/MWScript.php extensions/FlaggedRevs/maintenance/updateStats.php alswiki
Fatal error: Class 'Memcached' not found in /home/wikipedia/common/php-1.21wmf5/includes/objectcache/MemcachedPeclBagOStuff.php on line 57


What needs to be tweaked to fix this?  Thanks.
Comment 1 Ariel T. Glenn 2012-12-13 11:27:14 UTC
So Reedy figured it out:  php -n means no php.ini file read which in this case means no pecl memcached module loaded.  This script is broken on lucid hosts too, I checked and it has the same behavior.  I am assuming that the -n is so we don't hit the 30 second time limit on scripts?
Comment 2 Ariel T. Glenn 2012-12-13 12:03:36 UTC
NM that's 30 secs default anyways.  I have removed the -n and if there's some undesirable side effect someone can let me know.

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


Navigation
Links