ORA-01161: database name string in file header does not
match given name of string

Answers were Sorted based on User's Feedback



ORA-01161: database name string in file header does not match given name of string..

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

ORA-01161: database name string in file header does not match given name of string..

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

Post New Answer

More Oracle Errors Interview Questions

TNS-00015: INTCTL: error while closing terminal input channel

1 Answers  


ORA-21503: program terminated by fatal error

1 Answers  


ORA-31033: Requested number of XML children string exceeds maximum string

1 Answers  


ORA-23372: type string in table string is unsupported

1 Answers  


NZE-29194: no CRL found in cache

1 Answers  


TNS-00013: INTCTL: error while performing NS disconnect command

1 Answers  


ORA-14604: During CREATE TABLE time it is illegal to specify SUBPARTITIONS or STORE IN once a SUBPARTITION TEMPLATE has been specified

1 Answers  


NID-00505: REVERT Revert failed change NO

1 Answers  


ORA-24335: cannot support more than 1000 columns

1 Answers  


PLS-00351: Not logged onto database 'string'

1 Answers  


DRG-10852: Invalid scoring type string specified for query template

1 Answers  


NNF-00002: Invalid value passed to function call

1 Answers  


Categories