Open SVRMGR, SQL*Plus, or SQL Worksheet and log in as an Oracle database administrator
(e.g. system/manager).
Generate the list of current controlfile parameters using the following command:
alter database DBNAME backup controlfile to trace;
where DBNAME is the name in the init<SID>.ora file. For example:
alter database MATRIX backup controlfile to trace;
This results in the most current .trc file in the \orant\rdbms73\trace directory being updated with the exact commands you will need to run. Open this file in a text editor.
Select the section that starts with STARTUP (NO)MOUNT and ends with the ; after the last datafile name. Copy and paste to a text file, adding a ; after the STARTUP MOUNT. (Oracle left it out).
You may modify any of the MAX parameters, for example, MAXDATAFILES. You may also add lines for CHARACTER_SET or DB_BLOCK_SIZE. Save the file.
Example of a modified file:
STARTUP NOMOUNT;
CREATE CONTROLFILE REUSE DATABASE "ORACLE" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 32
MAXLOGMEMBERS 3
MAXDATAFILES 200
MAXINSTANCES 16
MAXLOGHISTORY 1600
LOGFILE
GROUP 1 'E:\ORANT\DATABASE\LOG2ORCL.ORA' SIZE 10M,
GROUP 2 'E:\ORANT\DATABASE\LOG1ORCL.ORA' SIZE 10M
DATAFILE
'E:\ORANT\DATABASE\SYS1ORCL.ORA',
'E:\ORANT\DATABASE\USR1ORCL.ORA',
'E:\ORANT\DATABASE\RBS1ORCL.ORA',
'E:\ORANT\DATABASE\TMP1ORCL.ORA',
'E:\ORCLTEST\MATRIX\ORCL1MX.DBF',
'E:\ORCLTEST\MXDEMO\ORCL1MXD.DBF',
'E:\ORCLTEST\CUSTTEST\ORCL1MXC.DBF'
'E:\ORCLTEST\MXJUNK\ORCL1MXJ.DBF'
In the server manager (MS DOS Command Prompt, svrmgr23), connect as the database administrator and do a shutdown immediately.
Note:
Last Chance: At the OS level, make sure you have backups of everything!
At the OS level, delete your control file(s) as referenced in the initialization file.
In the server manager, run the text file that you modified and saved by entering:
@bldcontrol.sql
Once "statement processed" comes up, enter:
alter database open;
Rerun the alter database backup controlfile command (from Step 2) and verify that the latest trc has any new settings. The changed settings will be appended as the last entry in the latest trc, so look near the end of the file.
Test connecting to Oracle with ENOVIA Live Collaboration and verify that functionality is restored.