Memcache and SimpleSAML settings cause error

Bug #1736871 reported by Ghada El-Zoghbi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Invalid
Undecided
Unassigned

Bug Description

Mahara: 17.10.0
DB: Postgres
Browser: Chrome (but really doesn't matter)
OS: Linux

After the upgrade from 16.10 to 17.10, we are getting the following error:

[WAR] bf (auth/saml/lib.php:671) Memcache::connect(): Server localhost (tcp 11211, udp 0) failed with: Cannot assign requested address (99)

Call stack (most recent first):
log_message("Memcache::connect(): Server localhost (tcp 11211, ...", 8, true, true, "/var/www/site/auth/saml/lib.php", 671) at /var/www/site/lib/errors.php:521
error(8, "Memcache::connect(): Server localhost (tcp 11211, ...", "/var/www/site/auth/saml/lib.php", 671, array(size 3)) at Unknown:0
Memcache->connect("localhost", 11211) at /var/www/site/auth/saml/lib.php:671
PluginAuthSaml::is_memcache_configured() at /var/www/site/auth/saml/lib.php:637
PluginAuthSaml::is_usable() at /var/www/site/auth/saml/lib.php:521
PluginAuthSaml::get_config_options() at /var/www/site/lib/mahara.php:1789
call_static_method("PluginAuthSaml", "get_config_options") at /var/www/site/admin/extensions/pluginconfig.php:52

We have php memcache extension installed on the server.

The Mahara auth SAML extension is hidden. But, it still insists on going through the config settings. Which, results in the above error.

Revision history for this message
Ghada El-Zoghbi (ghada-z) wrote :

Please ignore this error. It turns out we had custom memcache (not memcached) code which was clashing with core Mahara.

I reverted the customisations and applied the memcached enhancements from this request:

* https://bugs.launchpad.net/mahara/+bug/785469

Changed in mahara:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.