SQL> conn /as sysdba
Connected.
SQL> select dbid from v$database;
DBID
----------
148366931
SQL> startup mount;
ORACLE instance started.
Total System Global Area 5049942016 bytes
Fixed Size 2090880 bytes
Variable Size 1375733888 bytes
Database Buffers 3657433088 bytes
Redo Buffers 14684160 bytes
Database mounted.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
oracle@readerlogdb-> nid target=sys/sys@skyread
DBNEWID: Release 10.2.0.4.0 - Production on Mon Jul 1 11:16:09 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to database SKYREAD (DBID=148366931)
Connected to server version 10.2.0
Control Files in database:
/database/oradata/skyread/control01.ctl
/database/oradata/skyread/control02.ctl
/database/oradata/skyread/control03.ctl
Change database ID of database SKYREAD? (Y/[N]) => y
Proceeding with operation
Changing database ID from 148366931 to 277140985
Control File /database/oradata/skyread/control01.ctl - modified
Control File /database/oradata/skyread/control02.ctl - modified
Control File /database/oradata/skyread/control03.ctl - modified
Datafile /database/oradata/skyread/system01.dbf - dbid changed
Datafile /database/oradata/skyread/tbs_test.dbf - dbid changed
Datafile /database/oradata/skyread/sysaux01.dbf - dbid changed
Datafile /database/oradata/skyread/users01.dbf - dbid changed
Datafile /database/oradata/skyread/system02.dbf - dbid changed
Datafile /database2/oradata/skyread/undotbs02.dbf - dbid changed
Datafile /database2/oradata/skyread/TBS_MRPMUSIC01.dbf - dbid changed
Datafile /database/oradata/skyread/sf01.dbf - dbid changed
Control File /database/oradata/skyread/control01.ctl - dbid changed
Control File /database/oradata/skyread/control02.ctl - dbid changed
Control File /database/oradata/skyread/control03.ctl - dbid changed
Instance shut down
Database ID for database SKYREAD changed to 277140985.
All previous backups and archived redo logs for this database are unusable.
Database is not aware of previous backups and archived logs in Recovery Area.
Database has been shutdown, open database with RESETLOGS option.
Succesfully changed database ID.
DBNEWID - Completed succesfully.
SQL> startup;
ORACLE instance started.
Total System Global Area 5049942016 bytes
Fixed Size 2090880 bytes
Variable Size 1375733888 bytes
Database Buffers 3657433088 bytes
Redo Buffers 14684160 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
Database altered.
SQL> select dbid from v$database;
DBID
----------
277140985