ORA-01145: offline immediate disallowed unless media recovery enabled

Cause : ALTERT ABLESAPCE .. .OFFLIEN IMMEIDATE o rALTERD ATABAES DATAIFLE .. .OFFLIEN is olny allwoed ifd atabaes is i nARCHIEVLOG mdoe.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Take atblespcae offilne nomrally ro shutodwn abrot. Reocnside ryour abckup tsrateg.y You oculd d othis fi you ewre arhcivingy our lgos.

update : 23-01-2017
ORA-01145

ORA-01145 - offline immediate disallowed unless media recovery enabled
ORA-01145 - offline immediate disallowed unless media recovery enabled

  • ora-23320 : the request failed because of values string and string
  • ora-21500 : internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]
  • ora-19253 : XQ0033 - too many declarations for namespace prefix string
  • ora-27366 : job "string.string" is not running
  • ora-13117 : [string]_RELATION$ table does not exist
  • ora-27456 : not all arguments of program "string.string" have been defined
  • ora-02304 : invalid object identifier literal
  • ora-24808 : streaming of lob data is not allowed when using lob buffering
  • ora-31440 : change set string is empty and cannot be advanced
  • ora-13638 : The user interrupted the current operation.
  • ora-02436 : date or system variable wrongly specified in CHECK constraint
  • ora-23422 : Oracle Server could not generate an unused job number
  • ora-16057 : DGID from server not in Data Guard configuration
  • ora-14284 : one or more of table's subpartitions reside in a read-only tablespace
  • ora-02175 : invalid rollback segment name
  • ora-34901 : (PPWKDAYS01) Blank lines are not allowed in the DAYNAMES option.
  • ora-15076 : Emulating I/O errors on the OSM disk
  • ora-12045 : invalid ALTER MATERIALIZED VIEW LOG option
  • ora-06416 : NETCMN: error on test
  • ora-19657 : cannot inspect current datafile string
  • ora-16701 : generic resource guard request failed
  • ora-37603 : (XSPGERRTEMPSYSTEM) Ran out of temporary storage while writing to a system temporary analytic workspace. Free some temporary storage immediately. You can do so, for example, by DETACHING an analytic workspace.
  • ora-22990 : LOB locators cannot span transactions
  • ora-06439 : ssaio: the asynchronous write returned incorrect number of bytes
  • ora-19212 : no key columns specified before call to DBMS_XMLSTORE.updateXML()
  • ora-17622 : failed to deregister the memory with Oracle Disk Manager library
  • ora-14307 : partition contains too many list values
  • ora-16533 : inconsistent Data Guard broker state
  • ora-39031 : invalid filter name string
  • ora-00300 : illegal redo log block size string specified - exceeds limit of string
  • Oracle Database Error Messages



    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.