{"id":9982,"date":"2017-05-09T06:43:48","date_gmt":"2017-05-09T04:43:48","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/"},"modified":"2017-05-09T06:43:48","modified_gmt":"2017-05-09T04:43:48","slug":"grid-infrastructure-installation-on-sles-12-sp1","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/","title":{"rendered":"Grid Infrastructure Installation on SLES 12 SP1"},"content":{"rendered":"<p>This week I needed to install Oracle Grid Infrastructure 12c release 1 in a SLES 12 SP1 environment. Everything worked fine until I ran the root.sh at the end of the installation. Here&#8217;s a quick description of the problem and the workaround.<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">The root.sh script ran into error and the installation was completely unsuccessfull:\noracle:\/u00\/app\/grid\/12.1.0.2 # \/u00\/app\/grid\/12.1.0.2\/root.sh\nPerforming root user operation.\n\u00a0\nThe following environment variables are set as:\n\u00a0\u00a0\u00a0 ORACLE_OWNER= grid\n\u00a0\u00a0\u00a0 ORACLE_HOME=\u00a0 \/u00\/app\/grid\/12.1.0.2\n\/u00\/app\/grid\/12.1.0.2\/install\/utl\/rootinstall.sh: line 39: [: -eq: unary operator expected\n\/u00\/app\/grid\/12.1.0.2\/install\/utl\/rootinstall.sh: line 100: [: too many arguments\n\u00a0\u00a0 Copying dbhome to \/usr\/local\/bin ...\n\/u00\/app\/grid\/12.1.0.2\/install\/utl\/rootinstall.sh: line 100: [: too many arguments\n\u00a0\u00a0 Copying oraenv to \/usr\/local\/bin ...\n\/u00\/app\/grid\/12.1.0.2\/install\/utl\/rootinstall.sh: line 100: [: too many arguments\n\u00a0\u00a0 Copying coraenv to \/usr\/local\/bin ...\n\u00a0\nEntries will be added to the \/etc\/oratab file as needed by\nDatabase Configuration Assistant when a database is created\nFinished running generic part of root script.\nNow product-specific root actions will be performed.\nUsing configuration parameter file: \/u00\/app\/grid\/12.1.0.2\/crs\/install\/crsconfig_params\nLOCAL ADD MODE\nCreating OCR keys for user 'grid', privgrp 'oinstall'..\nOperation successful.\nLOCAL ONLY MODE\nSuccessfully accumulated necessary OCR keys.\nCreating OCR keys for user 'root', privgrp 'root'..\nOperation successful.\nCRS-4664: Node oracle_grid successfully pinned.\n2017\/03\/31 09:56:43 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'\n\u00a0\nPRCR-1006 : Failed to add resource ora.ons for ons\nPRCR-1115 : Failed to find entities of type resource type that match filters (TYPE_NAME ends .type) and contain attributes\nCRS-0184 : Cannot communicate with the CRS daemon.\n2017\/03\/31 09:57:04 CLSRSC-180: An error occurred while executing the command 'srvctl add ons' (error code 0)\n\u00a0\n2017\/03\/31 09:57:55 CLSRSC-115: Start of resource 'ora.evmd' failed\n\u00a0\n2017\/03\/31 09:57:55 CLSRSC-202: Failed to start EVM daemon\n\u00a0\nThe command '\/u00\/app\/grid\/12.1.0.2\/perl\/bin\/perl -I\/u00\/app\/grid\/12.1.0.2\/perl\/lib -I\/u00\/app\/grid\/12.1.0.2\/crs\/install \/u00\/app\/grid\/12.1.0.2\/crs\/install\/roothas.pl ' execution failed<\/pre>\n<p>When we run crsctl stat res \u2013t :<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">grid@oracle_grid:\/u00\/app\/grid\/product\/12.1.0.2\/grid\/bin&gt; .\/crsctl stat res -t \n -------------------------------------------------------------------------------- \n Name Target State Server State details \n -------------------------------------------------------------------------------- \n Cluster Resources \n -------------------------------------------------------------------------------- \n ora.cssd \n 1 OFFLINE OFFLINE STABLE \n ora.diskmon \n 1 OFFLINE OFFLINE STABLE \n ora.evmd \n 1 OFFLINE OFFLINE STABLE \n --------------------------------------------------------------------------------<\/pre>\n<p>After trying multiple times with other Oracle Grid Infrastructure versions from 11.2.0.4 to 12.2.0.1, I has to open a service request at Oracle, and they furnished me the following workaround:<\/p>\n<p>Once rot.sh has failed, we do not close the GUI installer windows because we will use it to complete the installation after the root.sh is complete, at first we have to deconfigure the failed installation:<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">oracle_grid:\/u00\/app\/grid\/product\/12.1.0.2\/grid\/crs\/install # .\/roothas.pl -verbose -deconfig \u2013force\noracle_grid:\/u00\/app\/grid\/product\/12.1.0.2\/grid\/crs\/install # . rootcrs.sh -deconfig \u2013force<\/pre>\n<p>Then we modify the \/etc\/ld.so file by adding \/lib64\/noelision as first entry. The file should look like:<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\">oracle@oracle_grid:\/u00\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/dbs\/ [DORSTREA] cat \/etc\/ld.so.conf\n\/lib64\/noelision\n\/usr\/local\/lib64\n\/usr\/local\/lib\ninclude \/etc\/ld.so.conf.d\/*.conf<\/pre>\n<p>Finally we create a symbolic link between $GI_HOME\/lib\/libpthread.so.0 and \/lib64\/noelision\/libpthread-2.19.so<\/p>\n<pre class=\"brush: sql; gutter: false; first-line: 1\">lrwxrwxrwx 1 root root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 35 Apr 11 15:56 libpthread.so.0 -&gt; \/lib64\/noelision\/libpthread-2.19.so<\/pre>\n<p>We only have to try to run the root.sh, and finally it works fine:<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\">oracle_grid:\/u00\/app\/grid\/product\/12.1.0.2\/grid # . root.sh\nPerforming root user operation.\n\u00a0\nThe following environment variables are set as:\n\u00a0\u00a0\u00a0 ORACLE_OWNER= grid\n\u00a0\u00a0\u00a0 ORACLE_HOME=\u00a0 \/u00\/app\/grid\/product\/12.1.0.2\/grid\n\u00a0\nEnter the full pathname of the local bin directory: [\/usr\/local\/bin]:\nThe contents of \"dbhome\" have not changed. No need to overwrite.\nThe contents of \"oraenv\" have not changed. No need to overwrite.\nThe contents of \"coraenv\" have not changed. No need to overwrite.\n\u00a0\nEntries will be added to the \/etc\/oratab file as needed by\nDatabase Configuration Assistant when a database is created\nFinished running generic part of root script.\nNow product-specific root actions will be performed.\nUsing configuration parameter file: \/u00\/app\/grid\/product\/12.1.0.2\/grid\/crs\/install\/crsconfig_params\nLOCAL ADD MODE\nCreating OCR keys for user 'grid', privgrp 'oinstall'..\nOperation successful.\nLOCAL ONLY MODE\nSuccessfully accumulated necessary OCR keys.\nCreating OCR keys for user 'root', privgrp 'root'..\nOperation successful.\nCRS-4664: Node oracle_grid successfully pinned.\n2017\/04\/11 15:56:37 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'\n\u00a0\noracle_grid\u00a0\u00a0\u00a0\u00a0\/u00\/app\/grid\/product\/12.1.0.2\/grid\/cdata\/oracle_grid\/backup_20170411_155653.olr\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\nCRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'oracle_grid'\nCRS-2673: Attempting to stop 'ora.evmd' on 'oracle_grid'\nCRS-2677: Stop of 'ora.evmd' on 'oracle_grid' succeeded\nCRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oracle_grid' has completed\nCRS-4133: Oracle High Availability Services has been stopped.\nCRS-4123: Oracle High Availability Services has been started.\n2017\/04\/11 15:57:09 CLSRSC-327: Successfully configured Oracle Restart for a standalone server<\/pre>\n<p>After the root.sh is successfully completed, we continue with the Oracle Installer, and everything is correctly configured for the Oracle Grid Infrastructure.<\/p>\n<p>I will keep you informed of the bug evolution, and I will test ASAP the Oracle Grid Infrastructure installation \u00a0under SLES 12 SP2 &#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I needed to install Oracle Grid Infrastructure 12c release 1 in a SLES 12 SP1 environment. Everything worked fine until I ran the root.sh at the end of the installation. Here&#8217;s a quick description of the problem and the workaround. The root.sh script ran into error and the installation was completely unsuccessfull: oracle:\/u00\/app\/grid\/12.1.0.2 [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[456,209],"type_dbi":[],"class_list":["post-9982","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","tag-grid-infrastructure","tag-oracle-12c"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Grid Infrastructure Installation on SLES 12 SP1 - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Grid Infrastructure Installation on SLES 12 SP1\" \/>\n<meta property=\"og:description\" content=\"This week I needed to install Oracle Grid Infrastructure 12c release 1 in a SLES 12 SP1 environment. Everything worked fine until I ran the root.sh at the end of the installation. Here&#8217;s a quick description of the problem and the workaround. The root.sh script ran into error and the installation was completely unsuccessfull: oracle:\/u00\/app\/grid\/12.1.0.2 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-09T04:43:48+00:00\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"Grid Infrastructure Installation on SLES 12 SP1\",\"datePublished\":\"2017-05-09T04:43:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/\"},\"wordCount\":219,\"commentCount\":0,\"keywords\":[\"Grid Infrastructure\",\"Oracle 12c\"],\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/\",\"name\":\"Grid Infrastructure Installation on SLES 12 SP1 - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2017-05-09T04:43:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Grid Infrastructure Installation on SLES 12 SP1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Grid Infrastructure Installation on SLES 12 SP1 - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/","og_locale":"en_US","og_type":"article","og_title":"Grid Infrastructure Installation on SLES 12 SP1","og_description":"This week I needed to install Oracle Grid Infrastructure 12c release 1 in a SLES 12 SP1 environment. Everything worked fine until I ran the root.sh at the end of the installation. Here&#8217;s a quick description of the problem and the workaround. The root.sh script ran into error and the installation was completely unsuccessfull: oracle:\/u00\/app\/grid\/12.1.0.2 [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/","og_site_name":"dbi Blog","article_published_time":"2017-05-09T04:43:48+00:00","author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"Grid Infrastructure Installation on SLES 12 SP1","datePublished":"2017-05-09T04:43:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/"},"wordCount":219,"commentCount":0,"keywords":["Grid Infrastructure","Oracle 12c"],"articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/","url":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/","name":"Grid Infrastructure Installation on SLES 12 SP1 - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2017-05-09T04:43:48+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/grid-infrastructure-installation-on-sles-12-sp1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Grid Infrastructure Installation on SLES 12 SP1"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=9982"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9982\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=9982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=9982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=9982"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=9982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}