{"id":826,"date":"2013-02-28T11:08:29","date_gmt":"2013-02-28T15:08:29","guid":{"rendered":"https:\/\/gonzalo.aro.cl\/blog\/?p=826"},"modified":"2013-02-28T11:10:02","modified_gmt":"2013-02-28T15:10:02","slug":"ora-24408-error-de-conexion-a-oracle-desde-moodle","status":"publish","type":"post","link":"https:\/\/gonzalo.aro.cl\/blog\/2013\/02\/28\/ora-24408-error-de-conexion-a-oracle-desde-moodle\/","title":{"rendered":"ORA-24408 Error de conexion a Oracle desde Moodle"},"content":{"rendered":"<p>En una configuracion dond participan 7 servidores moodle apuntando a la misma base de datos Oracle 11g se produjo el siguiente error<\/p>\n<pre class=\"brush: bash\">\r\nDebug info: ORA-24408: could not generate unique server group name\r\nError code: dbconnectionfailed\r\nStack trace:\r\n\r\nline 205 of \/lib\/dml\/oci_native_moodle_database.php: dml_connection_exception thrown\r\nline 344 of \/lib\/dmllib.php: call to oci_native_moodle_database->connect()\r\nline 476 of \/lib\/setup.php: call to setup_DB()\r\nline 31 of \/config.php: call to require_once()\r\nline 31 of \/index.php: call to require_once()\r\n<\/pre>\n<p>Esto se debe a que el nombre del host esta mal configurado o lo resuelve mal. Por lo que si editas el achivo \/etc\/sysconfig\/network<\/p>\n<pre class=\"brush: bash\">\r\n[root@servername mnt]# more \/etc\/sysconfig\/network\r\nNETWORKING=yes\r\nHOSTNAME=servername\r\n<\/pre>\n<p>Debe ser igual al configurado en \/etc\/hosts, aqui yo convenientemente introduzco el servername en primer lugar, para que sea lo primero en reconocer.<\/p>\n<pre class=\"brush: bash\">\r\n127.0.0.1   servername  localhost localhost.localdomain \r\n::1         servername  localhost localhost.localdomain \r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>En una configuracion dond participan 7 servidores moodle apuntando a la misma base de datos Oracle 11g se produjo el siguiente error Debug info: ORA-24408: could not generate unique server group name Error code: dbconnectionfailed Stack trace: line 205 of \/lib\/dml\/oci_native_moodle_database.php: dml_connection_exception thrown line 344 of \/lib\/dmllib.php: call to oci_native_moodle_database->connect() line 476 of \/lib\/setup.php: call [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,16,4,15,48,9,47],"tags":[],"class_list":["post-826","post","type-post","status-publish","format-standard","hentry","category-base-de-datos","category-centos","category-desarrollo","category-linux","category-moodle","category-oracle","category-php"],"_links":{"self":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/826"}],"collection":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/comments?post=826"}],"version-history":[{"count":2,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/826\/revisions"}],"predecessor-version":[{"id":828,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/826\/revisions\/828"}],"wp:attachment":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/media?parent=826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/categories?post=826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/tags?post=826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}