{"id":3595,"date":"2013-02-06T16:50:19","date_gmt":"2013-02-06T21:50:19","guid":{"rendered":"https:\/\/pitss.org\/us\/2013\/02\/06\/oracle-database-constantly-shuts-down-with-ora-00600-errors\/"},"modified":"2017-05-15T15:09:43","modified_gmt":"2017-05-15T19:09:43","slug":"oracle-database-constantly-shuts-down-with-ora-00600-errors","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2013\/02\/06\/oracle-database-constantly-shuts-down-with-ora-00600-errors\/","title":{"rendered":"Oracle Database Constantly  Shuts Down with ORA-00600 Errors"},"content":{"rendered":"<p>After either a database, hardware, or power failure, there are some cases where the database is unable to perform normal functions due to errors such as ORA-01033 (See <a href=\"https:\/\/pitss.org\/us\/2013\/01\/11\/ora-01333-error-occurs-in-oracle-database-after-pc-crash\/\">https:\/\/pitss.org\/us\/2013\/01\/11\/ora-01333-error-occurs-in-oracle-database-after-pc-crash\/<\/a> for more information). If the steps applied in the mentioned KB article as well as the traditional \u201cshutdown immediate\u201d and \u201cstartup\u201d DB commands fail and you receive the following error below when trying to log into your database:<\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/02\/clip_image002.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/02\/clip_image002_thumb.jpg\" alt=\"clip_image002\" width=\"773\" height=\"171\" border=\"0\" \/><\/a><\/p>\n<p>Also, if the database instance constantly shuts down randomly with errors such as:<\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/02\/image2.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/02\/image_thumb2.png\" alt=\"image\" width=\"666\" height=\"98\" border=\"0\" \/><\/a><\/p>\n<p>It is possibly that the UNDO tablespace may be corrupted. To fix the problem, you can follow the following steps:<\/p>\n<ol>\n<li>Start up the database instance if it is not up (Run \u201cstartup;&#8221; in SQLPLUS).<\/li>\n<li>Run in SQLPLUS:\n<ul>\n<li>create pfile from spfile;<\/li>\n<\/ul>\n<\/li>\n<li>Run in SQLPLUS:\n<ul>\n<li>shutdown immediate; (if you get an error, exit SQLPLUS and reconnect. Then run \u201cshutdown abort;\u201d)<\/li>\n<\/ul>\n<\/li>\n<li>Go to the location where your pfile is located. If using the default location, it should be in %ORACLE_HOME%\\product\\11.2.0\\dbhome_1\\database. The file is called INIT&lt;SID&gt;.ORA (Example: INITorcl.ORA).<\/li>\n<li>Make a backup of this .ORA file.<\/li>\n<li>Open INIT&lt;SID&gt;.ORA in a text editor.<\/li>\n<li>Make the following changes in the file:\n<ul>\n<li>*.undo_management = manual<\/li>\n<li>*.event = \u201810513 trace name context forever, level 2\u2019<\/li>\n<\/ul>\n<\/li>\n<li>Save and close the file<\/li>\n<li>Log into SQLPLUS and run:\n<ul>\n<li>startup restrict pfile=\u2019%PATH_TO_PFILE%\\INIT&lt;SID&gt;.ORA\u2019;<\/li>\n<\/ul>\n<\/li>\n<li>Run in SQLPLUS:\n<ul>\n<li>select tablespace_name, status, segment_name from dba_rollback_segs where status !=\u2019OFFLINE\u2019;<\/li>\n<\/ul>\n<\/li>\n<li>When running the command in step 10, make sure that only SYSTEM appears to be online. If any segments are \u201cPARTLY AVAILABLE\u201d or \u201cNEEDS RECOVERY\u201d, you will need to create an SR at Oracle Support (Metalink) for this. Otherwise, skip this step.<\/li>\n<li>Create a new tablespace in SQLPLUS:\n<ul>\n<li>create undo tablespace &lt;name of new undo tablespace&gt; datafile &lt;name of new datafile&gt; size &lt;size of tablespace&gt;<\/li>\n<li>Example: create undo tablespace UNDOTBS02 datafile UNDOTBS02.DBF size 2000M;<\/li>\n<\/ul>\n<\/li>\n<li>(Optional): You may delete the old corrupted tablespace:\n<ul>\n<li>drop tablespace &lt;old undo tablespace&gt; including contents and datafiles;<\/li>\n<\/ul>\n<\/li>\n<li>Shutdown the DB:\n<ul>\n<li>shutdown immediate;<\/li>\n<\/ul>\n<\/li>\n<li>Startup the DB in mount mode:\n<ul>\n<li>startup mount;<\/li>\n<\/ul>\n<\/li>\n<li>Return to the directory in step 4 and update the INIT&lt;SID&gt;.ORA file and specify the new undo tablespace created in step 12 in the *.undo_tablespace parameter. Alternatively, you can also run:\n<ul>\n<li>alter system set undo_tablespace='&lt;new undo tablespace&gt;\u2019 scope=pfile;<\/li>\n<\/ul>\n<\/li>\n<li>Shut down the DB:\n<ul>\n<li>shutdown immediate;<\/li>\n<\/ul>\n<\/li>\n<li>Start up the DB in open mode:\n<ul>\n<li>startup;<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>After the above steps are applied, the database should return to normal operations.<\/p>\n<p><strong>Reference: Oracle Support Note 1428786.1<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After either a database, hardware, or power failure, there are some cases where the database is unable to perform normal functions due to errors such as ORA-01033 (See https:\/\/pitss.org\/us\/2013\/01\/11\/ora-01333-error-occurs-in-oracle-database-after-pc-crash\/ for more information). If the steps applied in the mentioned KB article as well as the traditional \u201cshutdown immediate\u201d and \u201cstartup\u201d DB commands fail and you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[95,14],"tags":[55,11,16,12,27],"class_list":["post-3595","post","type-post","status-publish","format-standard","hentry","category-database","category-resolve-issues","tag-10gr2","tag-11g","tag-11gr2","tag-error","tag-oracle-database"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=3595"}],"version-history":[{"count":5,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3595\/revisions"}],"predecessor-version":[{"id":9000,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3595\/revisions\/9000"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=3595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=3595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=3595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}