{"id":6082,"date":"2015-11-13T16:31:01","date_gmt":"2015-11-13T15:31:01","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/"},"modified":"2022-12-23T16:58:44","modified_gmt":"2022-12-23T15:58:44","slug":"instance-fails-to-start-automatically","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/","title":{"rendered":"Instance fails to start automatically"},"content":{"rendered":"<p>Recently at a customer I was confronted with a problem of restarting the Oracle Database 12c automatically on a Windows Server 2008 R2 x64.<br \/>\nI installed Oracle 12.1.0.1.0 with a user of service in a domain who has member of the Group ORA_DBA. The authentication service is correctly set with the NTS parameter in the sqlnet.ora file.<\/p>\n<p>This Installation has been successfully but after a reboot we can see the database are not OPEN.<br \/>\n<code><br \/>\noracle@********:C:\\Users\\oracle\\ [rdbms1201] DBPIO22<br \/>\n********* dbi services Ltd. *********<br \/>\nSTATUS : STOPPED<br \/>\n*************************************<br \/>\noracle@********::C:\\Users\\oracle\\ [DBPIO22] sqh<br \/>\nSQL*Plus: Release 12.1.0.1.0 Production on Mar. Nov. 10 13:51:35 2015<br \/>\nCopyright (c) 1982, 2013, Oracle. All rights reserved.<br \/>\nConnect\u00e9 \u00e0 une instance inactive.<br \/>\n.<br \/>\nSQL&gt; select status from v$instance;<br \/>\nselect status from v$instance<br \/>\n*<br \/>\nERREUR \u00e0 la ligne 1 :<br \/>\nORA-01034: ORACLE not available<br \/>\nID de processus : 0<br \/>\nID de session : 0, Num\u00e9ro de s\u00e9rie : 0<br \/>\n<\/code><br \/>\n<span id=\"result_box\" class=\"\" lang=\"en\"><span class=\"hps\">A restart of the service doesn&#8217;t work. When we restart the service, no commands are sent to the database instance. <\/span><\/span><br \/>\n<span id=\"result_box\" class=\"\" lang=\"en\"><span class=\"hps\">Unfortunately w<\/span><span class=\"hps\">e find<\/span> <span class=\"hps\">no information<\/span> <span class=\"hps\">in the<\/span> <span class=\"hps\">alert<\/span> <span class=\"hps\">log concerning this problem.<\/span><\/span><\/p>\n<p>The Oracle Service in the services.msc have been correctly configured for a Automatic restart :<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Capture.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5066\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Capture.jpg\" alt=\"services.msc\" width=\"244\" height=\"300\"><\/a><\/p>\n<h2>Solution<\/h2>\n<p>This problem provide of the parameter SQLNET.OUTBOUND_CONNECT_TIMEOUT in the sqlnet.ora file. This parameter is to specify the time for a client to establish an Oracle Net clients to the database. The outbound connect timeout interval includes the time taken to be connected to an Oracle instance providing the requested service.<\/p>\n<p>If you want restart automatically the database on Windows environment you should modify the value at &#8220;0&#8221; or comment the parameter SQLNET.OUTBOUND_CONNECT_TIMEOUT:<br \/>\n<code><br \/>\n# ****************************************************************************<br \/>\n# Specify the time for a client to connect with the database server<br \/>\n# and provide the necessary authentication information<br \/>\n# unit in seconds<br \/>\n#<br \/>\nSQLNET.INBOUND_CONNECT_TIMEOUT=60<br \/>\n# ****************************************************************************<br \/>\n# Specify the time for a client to establish an Oracle Net connection<br \/>\n# to the database, superset of the TCP connect timeout ( i.e : 8min on Linux)<br \/>\n# unit in seconds<br \/>\n<strong>SQLNET.OUTBOUND_CONNECT_TIMEOUT=0<\/strong><br \/>\n<\/code><\/p>\n<p>After a reboot, If you have change the value of this parameter in the sqlnet.ora file, the database has rebooted automatically and successfully:<br \/>\n<code><br \/>\nSQL&gt; select INSTANCE_NAME, STATUS,STARTUP_TIME,VERSION from v$instance;<br \/>\n.<br \/>\nINSTANCE_NAME    STATUS       STARTUP_TIME           VERSION<br \/>\n---------------- ------------ ---------------------- -----------------<br \/>\ndbpio22          OPEN         10-NOV. -2015 14:04:30 12.1.0.1.0<br \/>\n<\/code><br \/>\nI have open a Service Request to Oracle Support for this bug, I wait for a patch update for fix the bug on Windows environment.<\/p>\n<p>The bug is fixed on Oracle 12.2 but on the release 12.1.0.1 the patch is not available specifically for Microsoft Windows x64 (64-bit). The bug is in Development Working status.<\/p>\n<p>Many Thanks to <a href=\"http:\/\/dbi-services.com\/blog\/author\/nicolas-jardot\/\">Nicolas Jardot<\/a> for his Help and Expertise \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently at a customer I was confronted with a problem of restarting the Oracle Database 12c automatically on a Windows Server 2008 R2 x64. I installed Oracle 12.1.0.1.0 with a user of service in a domain who has member of the Group ORA_DBA. The authentication service is correctly set with the NTS parameter in the [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":6084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[280,23,317,209,509],"type_dbi":[],"class_list":["post-6082","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring","tag-database","tag-dba","tag-network","tag-oracle-12c","tag-windows-server-2012-r2"],"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>Instance fails to start automatically - 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\/instance-fails-to-start-automatically\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Instance fails to start automatically\" \/>\n<meta property=\"og:description\" content=\"Recently at a customer I was confronted with a problem of restarting the Oracle Database 12c automatically on a Windows Server 2008 R2 x64. I installed Oracle 12.1.0.1.0 with a user of service in a domain who has member of the Group ORA_DBA. The authentication service is correctly set with the NTS parameter in the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-13T15:31:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-23T15:58:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"680\" \/>\n\t<meta property=\"og:image:height\" content=\"77\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"3 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\/instance-fails-to-start-automatically\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"Instance fails to start automatically\",\"datePublished\":\"2015-11-13T15:31:01+00:00\",\"dateModified\":\"2022-12-23T15:58:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/\"},\"wordCount\":294,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg\",\"keywords\":[\"database\",\"DBA\",\"Network\",\"Oracle 12c\",\"Windows Server 2012 R2\"],\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/\",\"name\":\"Instance fails to start automatically - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg\",\"datePublished\":\"2015-11-13T15:31:01+00:00\",\"dateModified\":\"2022-12-23T15:58:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg\",\"width\":680,\"height\":77},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Instance fails to start automatically\"}]},{\"@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":"Instance fails to start automatically - 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\/instance-fails-to-start-automatically\/","og_locale":"en_US","og_type":"article","og_title":"Instance fails to start automatically","og_description":"Recently at a customer I was confronted with a problem of restarting the Oracle Database 12c automatically on a Windows Server 2008 R2 x64. I installed Oracle 12.1.0.1.0 with a user of service in a domain who has member of the Group ORA_DBA. The authentication service is correctly set with the NTS parameter in the [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/","og_site_name":"dbi Blog","article_published_time":"2015-11-13T15:31:01+00:00","article_modified_time":"2022-12-23T15:58:44+00:00","og_image":[{"width":680,"height":77,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg","type":"image\/jpeg"}],"author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"Instance fails to start automatically","datePublished":"2015-11-13T15:31:01+00:00","dateModified":"2022-12-23T15:58:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/"},"wordCount":294,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg","keywords":["database","DBA","Network","Oracle 12c","Windows Server 2012 R2"],"articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/","url":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/","name":"Instance fails to start automatically - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg","datePublished":"2015-11-13T15:31:01+00:00","dateModified":"2022-12-23T15:58:44+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/ouput-1.jpg","width":680,"height":77},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/instance-fails-to-start-automatically\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Instance fails to start automatically"}]},{"@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\/6082","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=6082"}],"version-history":[{"count":1,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/6082\/revisions"}],"predecessor-version":[{"id":21268,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/6082\/revisions\/21268"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/6084"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=6082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=6082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=6082"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=6082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}