Forums | Mahara Community
Support
/
"A nonrecoverable error occured..." after moving servers
07 January 2011, 18:16
Hello,
I've switched servers for my Mahara/Moodle install and went about the instructions for changing the wwwroot directory and clearing out the openssl values in the config table. When I log in as an administrator and attempt to refresh my shared key by clicking networking, it gives me the "
"Mahara: Site unavailable
A nonrecoverable error occured. This probably means you have encountered a bug in the system"
message.
Here is my (long - sorry!) apache error log at the time I open this page:
[Fri Jan 07 15:29:24 2011] [error] [client] [WAR] 9d (api/xmlrpc/lib.php:1224) Undefined offset: 1, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] Call stack (most recent first):, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * log_message("Undefined offset: 1", 8, true, true, "/var/www/html/mahara/api/xmlrpc/lib.php", 1224) at /var/www/html/mahara/lib/errors.php:444, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * error(8, "Undefined offset: 1", "/var/www/html/mahara/api/xmlrpc/lib.php", 1224, array(size 2)) at /var/www/html/mahara/api/xmlrpc/lib.php:1224, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo->get_keypair() at /var/www/html/mahara/api/xmlrpc/lib.php:1145, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo->__construct() at /var/www/html/mahara/api/xmlrpc/lib.php:1131, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo::singleton() at /var/www/html/mahara/admin/site/networking.php:56, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] , referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] [WAR] 9d (lib/errors.php:743) Failed to get a recordset: mysql error: [1062: Duplicate entry 'openssl_history' for key 'PRIMARY'] in EXECUTE("INSERT INTO "config" ("field", "value") VALUES ('openssl_history', 'a:0:{}')"), referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] [WAR] 9d (lib/errors.php:743) Command was: INSERT INTO "config" ("field", "value") VALUES (?, ?) and values was (openssl_history,a:0:{}), referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] Call stack (most recent first):, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * log_message("Failed to get a recordset: mysql error: [1062: Dup...", 8, true, true) at /var/www/html/mahara/lib/errors.php:109, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * log_warn("Failed to get a recordset: mysql error: [1062: Dup...") at /var/www/html/mahara/lib/errors.php:743, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * SQLException->__construct("Failed to get a recordset: mysql error: [1062: Dup...") at /var/www/html/mahara/lib/dml.php:1069, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * insert_record("config", object(stdClass)) at /var/www/html/mahara/api/xmlrpc/lib.php:1167, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo->get_history() at /var/www/html/mahara/api/xmlrpc/lib.php:1232, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo->get_keypair() at /var/www/html/mahara/api/xmlrpc/lib.php:1145, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo->__construct() at /var/www/html/mahara/api/xmlrpc/lib.php:1131, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo::singleton() at /var/www/html/mahara/admin/site/networking.php:56, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] , referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] [WAR] 9d (lib/dml.php:1069) Failed to get a recordset: mysql error: [1062: Duplicate entry 'openssl_history' for key 'PRIMARY'] in EXECUTE("INSERT INTO "config" ("field", "value") VALUES ('openssl_history', 'a:0:{}')"), referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] [WAR] 9d (lib/dml.php:1069) Command was: INSERT INTO "config" ("field", "value") VALUES (?, ?) and values was (openssl_history,a:0:{}), referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] Call stack (most recent first):, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * insert_record("config", object(stdClass)) at /var/www/html/mahara/api/xmlrpc/lib.php:1167, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo->get_history() at /var/www/html/mahara/api/xmlrpc/lib.php:1232, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo->get_keypair() at /var/www/html/mahara/api/xmlrpc/lib.php:1145, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo->__construct() at /var/www/html/mahara/api/xmlrpc/lib.php:1131, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] * OpenSslRepo::singleton() at /var/www/html/mahara/admin/site/networking.php:56, referer: http://domain/mahara/admin/site/networking.php
[Fri Jan 07 15:29:24 2011] [error] [client] , referer: http://domain/mahara/admin/site/networking.php
I thought I was so close to getting it and then this happens! I'm very new as my university's Moodle (and now Mahara, it seems) administrator but I'm slowly figuring this out. Any help would be greatly appreciated!
-Tony