https://bugzilla.wikimedia.org/show_bug.cgi?id=36835
Web browser: ---
Bug #: 36835
Summary: job queue monitoring looks for 1.18 dir and fails /
$wmfExtendedVersionNumber.php
Product: Tools
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: [Other]
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
currently all the "check_job_queue" checks on Nagios fail with:
JOBQUEUE CRITICAL - check plugin (check_job_queue) or PHP errors -
investigating this i saw the problem does not appear to be in "check_job_queue"
itself, but rather in CommonSettings.php , as check_job_queue misses this:
PHP Warning:
require(/home/wikipedia/common/php-1.18/../wmf-config/ExtensionMessages-1.18.php):
failed to open stream: No such file or directory in
/home/wikipedia/common/wmf-config/CommonSettings.php on line 2506
and ..
PHP Fatal error: require(): Failed opening required
'/home/wikipedia/common/php-1.18/../wmf-config/ExtensionMessages-1.18.php'
(include_path='/home/wikipedia/common/php-1.20wmf2/extensions/OggHandler/PEAR/File_Ogg:/home/wikipedia/common/php-1.18:/home/wikipedia/common/php-1.18/lib:/usr/local/lib/php:/usr/share/php')
in /home/wikipedia/common/wmf-config/CommonSettings.php on line 2506
that line 2506 in CommonSettings.php is:
require( "$wmfConfigDir/ExtensionMessages-$wmfExtendedVersionNumber.php" );
so it is looking in /php-1.18/ because $wmfExtendedVersionNumber.php is set to
that, and that setting seems outdated.
Where should it be fixed?
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l