{"id":11535,"date":"2018-08-12T07:34:02","date_gmt":"2018-08-12T05:34:02","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/"},"modified":"2018-08-12T07:34:02","modified_gmt":"2018-08-12T05:34:02","slug":"18c-runinstaller-silent","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/","title":{"rendered":"18c runInstaller -silent"},"content":{"rendered":"<h2>By Franck Pachot<\/h2>\n<p>.<br \/>\nYou find two different &#8216;runInstaller&#8217; under an Oracle Home. The old one, the Oracle Universal Installer, in $ORACLE_HOME\/oui\/bin. And the new one, in $ORACLE_HOME directly. They have the same name but are completely different. The old one was used to install an Oracle Home from the installation media. But in 18c you don&#8217;t use it. It has been used by Oracle to build the Oracle Home image. Then you download and unzip directly your Oracle Home. You have only to configure it and re-link the binaries. And this is done by the new runInstaller which is at the root of the Oracle Home. Actually, it is just a shell script that runs the Perl dbSetup.pl to setup the Oracle Database software. In my opinion, it would be better to have it called dbSetup.sh rather than rename it  to runInstaller, especially given that the same thing for Grid Infrastructure is called GridSetup.sh since 12cR2. The Perl script finally runs the Java GUI. It can also be run in command line, aka silent mode, which is the goal of this post. The command line arguments are similar, but not the same as in the old runInstaller.<br \/>\n<!--more--><\/p>\n<h3>Prerequisites<\/h3>\n<p>You may want to run the prerequisites only to check if your system is ready for the installation. Here is how to do so in command line:<\/p>\n<pre><code>\n$ $ORACLE_HOME\/runInstaller -silent -executePrereqs -responseFile $ORACLE_HOME\/inventory\/response\/db_install.rsp\n&nbsp;\nLaunching Oracle Database Setup Wizard...\n&nbsp;\n[FATAL] [INS-13013] Target environment does not meet some mandatory requirements.\n   CAUSE: Some of the mandatory prerequisites are not met. See logs for details. \/u00\/app\/oraInventory\/logs\/InstallActions2018-08-11_06-07-14PM\/installActions2018-08-11_06-07-14PM.log\n   ACTION: Identify the list of failed prerequisite checks from the log: \/u00\/app\/oraInventory\/logs\/InstallActions2018-08-11_06-07-14PM\/installActions2018-08-11_06-07-14PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.\n<\/code><\/pre>\n<p>From there we can check the log about the tests that have failed, such as in the following example:<\/p>\n<pre><code>\nINFO:  [Aug 11, 2018 6:08:21 PM] Physical Memory: This is a prerequisite condition to test whether the system has at least 8GB (8388608.0KB) of total physical memory.\nINFO:  [Aug 11, 2018 6:08:21 PM] Severity:IGNORABLE\nINFO:  [Aug 11, 2018 6:08:21 PM] OverallStatus:VERIFICATION_FAILED\nINFO:  [Aug 11, 2018 6:08:21 PM] *********************************************\nINFO:  [Aug 11, 2018 6:08:21 PM] Run Level: This is a prerequisite condition to test whether the system is running with proper run level.\nINFO:  [Aug 11, 2018 6:08:21 PM] Severity:CRITICAL\nINFO:  [Aug 11, 2018 6:08:21 PM] OverallStatus:VERIFICATION_FAILED\nINFO:  [Aug 11, 2018 6:08:21 PM] *********************************************\nINFO:  [Aug 11, 2018 6:08:21 PM] OS Kernel Version: This is a prerequisite condition to test whether the system kernel version is at least \"2.6.39-400.211.1\".\nINFO:  [Aug 11, 2018 6:08:21 PM] Severity:CRITICAL\nINFO:  [Aug 11, 2018 6:08:21 PM] OverallStatus:VERIFICATION_FAILED\n<\/code><\/pre>\n<h3>Software Install<\/h3>\n<p>You can pass all parameters in command line (&#8216;runInstaller -silent -help&#8217; to see all possibilities), but in all cases you need a response file. Then I put everything I need in the response file. There&#8217;s no mention of the ORACLE_HOME because you already unzipped it at the right place. The most important is the edition which seems to accept [EE, SEONE, SE2, HP, XP, PE]. I didn&#8217;t try it but Standard Edition One is for versions &lt;= 12.1.0.1 by the way.<\/p>\n<pre><code>\ncd $ORACLE_HOME\n&nbsp;\ncat &gt; db18EE.rsp &lt;&lt;END\noracle.install.responseFileVersion=\/oracle\/install\/rspfmt_dbinstall_response_schema_v18.0.0\noracle.install.option=INSTALL_DB_SWONLY\nUNIX_GROUP_NAME=oinstall\nINVENTORY_LOCATION=\/u00\/app\/oraInventory\nORACLE_BASE=\/u00\/app\/oracle\noracle.install.db.InstallEdition=EE\noracle.install.db.OSDBA_GROUP=dba\noracle.install.db.OSOPER_GROUP=oper\noracle.install.db.OSBACKUPDBA_GROUP=backupdba\noracle.install.db.OSDGDBA_GROUP=dgdba\noracle.install.db.OSKMDBA_GROUP=kmdba\noracle.install.db.OSRACDBA_GROUP=dba\nEND\n<\/code><\/pre>\n<p>There is no need for the oracle.install.db.config variables because I&#8217;ll install the software only without creating a database.<\/p>\n<p>Here is how to run the dbSetup. You can use &#8216;-ignorePrereqFailure&#8217; to ignore the prerequisites if you want to install to a host where some prerequisites fail:<\/p>\n<pre><code>\n.\/runInstaller -silent -noconfig -ignorePrereqFailure -responseFile .\/db18EE.rsp\n<\/code><\/pre>\n<p>&nbsp;<br \/>\nThe log of the installation goes into the oraInventory\/logs and, as usual, you have to run the root.sh <\/p>\n<pre><code>\nAs a root user, execute the following script(s):\n        1. \/u00\/app\/oracle\/product\/18SE\/root.sh\n&nbsp;\nExecute \/u00\/app\/oracle\/product\/18SE\/root.sh on the following nodes:\n[vmreforatun01]\n<\/code><\/pre>\n<p>This new runInstaller can also apply one-off patches with -applyOneOffs mentioning the patch locations. You can also build an Oracle Home image that you customize, with -createGoldImage -destinationLocation and even mention some files or path to exclude to make it smaller: -exclFiles<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Franck Pachot . You find two different &#8216;runInstaller&#8217; under an Oracle Home. The old one, the Oracle Universal Installer, in $ORACLE_HOME\/oui\/bin. And the new one, in $ORACLE_HOME directly. They have the same name but are completely different. The old one was used to install an Oracle Home from the installation media. But in 18c [&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":[59],"tags":[1184,1426],"type_dbi":[],"class_list":["post-11535","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-oracle-18c","tag-runinstaller"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>18c runInstaller -silent - 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\/18c-runinstaller-silent\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"18c runInstaller -silent\" \/>\n<meta property=\"og:description\" content=\"By Franck Pachot . You find two different &#8216;runInstaller&#8217; under an Oracle Home. The old one, the Oracle Universal Installer, in $ORACLE_HOME\/oui\/bin. And the new one, in $ORACLE_HOME directly. They have the same name but are completely different. The old one was used to install an Oracle Home from the installation media. But in 18c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-12T05:34:02+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\\\/18c-runinstaller-silent\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/18c-runinstaller-silent\\\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"18c runInstaller -silent\",\"datePublished\":\"2018-08-12T05:34:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/18c-runinstaller-silent\\\/\"},\"wordCount\":452,\"commentCount\":0,\"keywords\":[\"Oracle 18c\",\"runInstaller\"],\"articleSection\":[\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/18c-runinstaller-silent\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/18c-runinstaller-silent\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/18c-runinstaller-silent\\\/\",\"name\":\"18c runInstaller -silent - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2018-08-12T05:34:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/18c-runinstaller-silent\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/18c-runinstaller-silent\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/18c-runinstaller-silent\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"18c runInstaller -silent\"}]},{\"@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":"18c runInstaller -silent - 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\/18c-runinstaller-silent\/","og_locale":"en_US","og_type":"article","og_title":"18c runInstaller -silent","og_description":"By Franck Pachot . You find two different &#8216;runInstaller&#8217; under an Oracle Home. The old one, the Oracle Universal Installer, in $ORACLE_HOME\/oui\/bin. And the new one, in $ORACLE_HOME directly. They have the same name but are completely different. The old one was used to install an Oracle Home from the installation media. But in 18c [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/","og_site_name":"dbi Blog","article_published_time":"2018-08-12T05:34:02+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\/18c-runinstaller-silent\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"18c runInstaller -silent","datePublished":"2018-08-12T05:34:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/"},"wordCount":452,"commentCount":0,"keywords":["Oracle 18c","runInstaller"],"articleSection":["Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/","url":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/","name":"18c runInstaller -silent - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2018-08-12T05:34:02+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/18c-runinstaller-silent\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"18c runInstaller -silent"}]},{"@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\/11535","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=11535"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11535\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=11535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=11535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=11535"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=11535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}