ORA-01161: database name string in file header does not
match given name of string
Answers were Sorted based on User's Feedback
Answer / scavenger
CREATE CONTROLFILE SET DATABASE "TARGET" RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01161: database name SOURCE in file header does not
match given name of TARGET
ORA-01110: data file 19:
'/apps/oracledata/TARGET/osys3/stat0001.dbf'
=> no solution, the datafile is corrupt
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / guest
Cause: The database name given at the command line does not
match the database name found in the file header.
Action: Chance are good that the database name specified at
the command line is incorrect. Resolve the descepency, and
resubmit the command. If you are attempting to change the
database name, be sure to use the SET DATABASE option.
Please add more information about this Error
| Is This Answer Correct ? | 0 Yes | 1 No |
RMAN-05001: auxiliary filename string conflicts with a file used by the target database
LCD-00215: parameter files nested too deep [string]
ORA-06252: NETNTT: cannot open address file
TNS-00238: Pump number @: string:
NZE-29016: inadequate PKCS1 message padding
ORA-19204: Non-scalar value 'string' is marked as XML attribute
EXP-00036: Object number non-existent in dictionary
SQL*Loader-00525: OCI return status: success
SQL-02151: Invalid host variable for exact numeric SET statement item
TNS-01153: Failed to process string: string
RMAN-06157: validation failed for archived log
O2I-00133: An error occurred for which no message is available