Trying to change DBNAME and DBID at a time

Hello all;
I am trying to change DBNAME AND DBID at a time. but getting error.
I am pasting following below wht i did. please have a look and help me to solve it.
SQL> select instance from v$thread ;
INSTANCE
clone
SQL> select name , dbid from v$database;
NAME            DBID
CLONE     1028509667
SQL> alter database close;
Database altered.
SQL> select status from v$instance;
STATUS
MOUNTED
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
$ nid target=/ dbname=CLONEDB
DBNEWID: Release 10.2.0.4.0 - Production on Fri Oct 25 04:21:46 2013
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
Connected to database CLONE (DBID=1028509667)
Connected to server version 10.2.0
Control Files in database:
    /u01/app/oracle/oradata/clone/control01.ctl
        /u01/app/oracle/oradata/clone/control02.ctl
    /u01/app/oracle/oradata/clone/control03.ctl
Change database ID and database name CLONE to CLONEDB? (Y/[N]) => Y
Proceeding with operation
Changing database ID from 1028509667 to 916366170
Changing database name from CLONE to CLONEDB
    Control File /u01/app/oracle/oradata/clone/control01.ctl - modified
    Control File /u01/app/oracle/oradata/clone/control02.ctl - modified
    Control File /u01/app/oracle/oradata/clone/control03.ctl - modified
    Datafile /u01/app/oracle/oradata/clone/system01.dbf - dbid changed, wrote new name
    Datafile /u01/app/oracle/oradata/clone/undotbs01.dbf - dbid changed, wrote new name
    Datafile /u01/app/oracle/oradata/clone/sysaux01.dbf - dbid changed, wrote new name
    Datafile /u01/app/oracle/oradata/clone/users01.dbf - dbid changed, wrote new name
    Datafile /u01/app/oracle/oradata/clone/example01.dbf - dbid changed, wrote new name
    Datafile /u01/app/oracle/oradata/clone/temp01.dbf - dbid changed, wrote new name
    Control File /u01/app/oracle/oradata/clone/control01.ctl - dbid changed, wrote new name
    Control File /u01/app/oracle/oradata/clone/control02.ctl - dbid changed, wrote new name
    Control File /u01/app/oracle/oradata/clone/control03.ctl - dbid changed, wrote new name
    Instance shut down
Database name changed to CLONEDB.
Modify parameter file and generate a new password file before restarting.
Database ID for database CLONEDB changed to 916366170.
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 name and ID.
DBNEWID - Completed succesfully.
$ echo $ORACLE_SID
clone
[oracle@oel5 ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Oct 25 04:26:52 2013
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
startup nomount pfile='/u01/app/oracle/admin/clone/pfile/initclone.ora';
ORACLE instance started.
Total System Global Area  608174080 bytes
Fixed Size                  1268920 bytes
Variable Size             188744520 bytes
Database Buffers          415236096 bytes
Redo Buffers                2924544 bytes
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-01103: database name 'CLONEDB' in control file is not 'CLONEDB '
---------------------------------  vi /u01/app/oracle/admin/clone/pfile/initclone.ora ---------------------
clone.__db_cache_size=415236096
clone.__java_pool_size=25165824
clone.__large_pool_size=4194304
clone.__shared_pool_size=159383552
clone.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/clone/adump'
*.background_dump_dest='/u01/app/oracle/admin/clone/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/u01/app/oracle/oradata/clone/control01.ctl','/u01/app/oracle/oradata/clone/control02.ctl','/u01/app/oracle/oradata/clone/control03.ctl'
*.core_dump_dest='/u01/app/oracle/admin/clone/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='clonedb '
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=cloneXDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=201326592
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=605028352
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/app/oracle/admin/clone/udump'
~                      
Thnaks in advance ..

@ MahirM.Quluzade
Thanks
SQL> create spfile from pfile ='/u01/app/oracle/admin/clone/pfile/initclone.ora';
File created.
SQL> startup force;
ORACLE instance started.
Total System Global Area  608174080 bytes
Fixed Size                  1268920 bytes
Variable Size             188744520 bytes
Database Buffers          415236096 bytes
Redo Buffers                2924544 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
Database altered.
Anything Else ?  --- i mean above steps are correct or anything i missed ?

Similar Messages

  • Face time no longer works for me. Lost my contacts even! Keep trying to change PWD and keep getting same error message: The server encountered an error processing registration. Please try again later. Can you advise? Thanks!

    Face time no longer works for me. Lost my contacts even! Keep trying to change PWD and keep getting same error message: The server encountered an error processing registration. Please try again later. Can you advise? Thanks!

    Face time no longer works for me. Lost my contacts even! Keep trying to change PWD and keep getting same error message: The server encountered an error processing registration. Please try again later. Can you advise? Thanks!

  • Hi there, I moved to a new country (Luxembourg ), my previous card is not working anymore, I am trying to change country and region but it looks like the option is not available, could you support on the issue please ? Thx ahead, Corneliu

    Hi there, I moved to a new country (Luxembourg ), my previous card is not working anymore, I am trying to change country and region but it looks like the option is not available, could you support on the issue please ? Thx ahead, Corneliu

    CHANGING APPLE ID/EDIT ACCOUNT INFORMATION/CHANGE ITUNES COUNTRY
    Tap Settings / iTunes & App Stores, then tap the Apple ID signed in. Sign out of the current Apple ID account and then sign in with another account or create a new Apple ID http://support.apple.com/kb/HT2731?viewlocale=en_US
    Go to settings/facetime and tap the ID there and log out and log in with new ID.
    Go to settings/messages and turn off imessages wait 30 seconds and turn it back on, go to “receive messages  at” tap on the ID there, sign out and sign in with new ID.
    Go to settings/icloud and delete the account and when prompted select “keep information on your device” then turn it back on with the new ID.
    To edit account information tap Settings / iTunes & App Stores / Apple ID: / View Apple ID
    To change your iTunes Store country, sign in to the account for the iTunes Store region you would like to use, tap Settings/iTunes & App Store/Apple ID/View Apple ID/Country/Region
    Read this article for information http://support.apple.com/kb/HT1311

  • Im locked out of my ipod. tried to change password and didn't reenter it correctly what can i do now

    grandaughter locked out of her ipod touch.  tried to change password and reentered it incorrectly and now she cannot get in her pod.  what do I need to do?

    Do as the manual says and restore the ipod.

  • Apple TV only showing trying to change date and time. I have recently changed to a new wifi provider and need to change the settings in tha ATV box.

    Apple TV only showing trying to change date and time. I have recently changed to a new wifi provider and need to change the settings in tha ATV box.

    Welcome to the Apple Community.
    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router. (Also try removing it’s power cord for at least 30 seconds)
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If restoring from the Apple TV doesn't help, try restoring from iTunes using a USB cable.
    If this is a new Apple TV, in addition to trying the above, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • HT1051 Trying to change Shipping and Delivery address for one in the US, from Canada, and can't do it. State and zip code appears in red but no change in country name.  Using French (Canada) iPhoto app.

    Trying to change Shipping and Delivery address for one in the US, from Canada, and can't do it. State and zip code appears in red but no change in country name.  Using French (Canada) iPhoto app.

    Larry's right, You can still use your credit card, you just need to change the "billing address" to the recievers address. It gets billed to your CC and delivered to the US

  • I have a problem with Adobe Creative Cluod. Basically after installing the application when I open it I do not charge adobe products but remains all white screen. I tried to uninstall it and install it several times but it does not work.  What should I do

    I have a problem with Adobe Creative Cluod. Basically after installing the application when I open it I do not charge adobe products but remains all white screen. I tried to uninstall it and install it several times but it does not work.
    What should I do?

    Hi Anto2211,
    Please follow the thread: Black screen CC where this issue is already discussed and resolved.
    Let me know for any further query.
    Thanks,
    Ratandeep Arora

  • Cant Get Mail error message because password or user name for iCloud is incorrect.  Ive gone and tried to change it and been successful -I think- but am still getting this message continually.

    I keep receiving an error message: "Can't Get Mail" because the  "password or user name for iCloud is incorrect". Ive gone and tried to change the password and been successful -I think- but am still getting this message continually.

    To reset your Google password
    https://www.google.com/accounts/recovery/?ard=AHwGkRmuwaiAewp9JAmQTmcye_kbUor9v4 iKaP0sQVuYYOlYgTdGmUFl2Z_KkETd7Jjh1GqzGS4BBOQvbURZwzUTEViJmKtt4DfEyx6T2yfVxXT72X gwXT2dP7PfeGI08YvGtutrlCBol7hOXTQt7Wd9lZ6NVdxhjA
    If problem with link, just Google for reset gmail password

  • My DVD Player hangs when trying to change the regional code the first time

    Hello,
    I am new to this forum and I couldn't find one for the DVD Player specific so I chose this one. Please direct me to a different one if my eyes were misleading me.
    I have a new Macbook. Just over three month now and I attempted to watch a movie with the DVD Player last night the first time. When inserting the DVD, the DVD player comes up with a Screen asking me to change the Regional Code from 6 to 1. I don't understand this in the first place since I purchased my Mac within the US. But anyway, When I unlock it with my password and then click the "Set Regional Code" Button (Regional Code preset to one at this time), it turns blue and then the rainbow wheel for being busy shows up. Unfortunately it never leaves and going to the activity monitor it says (Not responding). That causes bad Windows Memories .
    Tried multiple ways, let it run for 10 hours and it never returns to the world. Very frustrating, since this is the first time I tried to use this feature.
    Is there any advice on how to set this to Regional Code 1. I only have to set it once, but I think there must be an option.
    And yes, I know of VLC, but I still would prefer to use this regular DVD player. I think this should work somehow.
    Computer out of the box, nothing other then iWorks and MS Office 2008 installed.
    Any help is appreciated.
    Thanks a lot
    The Dark Lord
    Bernd

    Does the account you are using have admin rights? I found this :
    http://support.apple.com/kb/HT2397
    +In Mac OS X 10.3 Panther and later, users with administrative privileges aren't prompted to change the region the very first time a DVD-Video disc of a single region is inserted. Instead, the region of the DVD drive is automatically set to the region of the DVD disc that was inserted. Accounts that don't have administrative privileges must authenticate with an administrator account name and password, because changing the drive's region code requires administrative privileges.+
    Sounds like it might be worth a try from an admin account first.

  • Itunes does not open. I have tried to uninstall it and install it many times as i have seen on some communities but still keep on getting the Itunes was not install correctly. Please reinstall itunes. Error 7 (Windows 193). I have windows 7.

    iTunes will not open, I keep getting the error 7 (windows error 193).
    I have tried many recommendations, erasing folders, reinstalling it many time but nothing.
    I have a windows 7 Lenovo ideapad.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you are running 64-bit Windows and the above steps haven't helped try installing the version of iTunes that can be downloaded from this support document. iTunes 12.1 for Windows (64-bit — for older video cards)
    tt2

  • Why is the latest up grade preventing me from going on the internet. I have tried automatic upgrade twice and I have both times had to restore my settings to the previous session to get on the internet.

    Why is the latest upgrade of Firefox preventing me from getting on the internet. I have tried to upgrade twice and both times I have gotten "Can not display this page please try again later" I have tried to open several different pages. Both times I had to restore my computer to previous settings to get on the internet.

    Hi Skydiver119
    Thank you so much for taking the time to reply to my problem.
    Yes the purchases were made though my apple id.
    I have looked at a few other questions on this topic and I have read that the app data is stored in the backup file but the apps themselves need to be synced back onto the ipad. Someome has mentioned right clicking on sync my ipad but I don't know where to find that to right click on!! Lol.
    Again, I really appreciate your time and if by any chance you know where I can 'right click' I would really appreciate you letting me know as I can't get my ipad to sync with my pc at all, although it is being picked up in itunes and it has backed up to itunes okay. GGrrr. Maybe I have something wrong in the settings which is not making them compatible?

  • If I'm trying to change countries and I need to get rid of a balance that is insufficient for anything in the iTunes store, what should I do?

    I'm trying to switch my iTunes account to a different country but I have $0.29 left on my account that iTunes is telling me I must spend before I can change countries. Obviously, 29 cents will not buy me anything in the store, thus the money will be just sitting there forever. Please help.

    You can try to Contact iTunes here...
    Contact iTunes Customer Service
    http://www.apple.com/support/itunes/contact.html

  • I am trying to change country and billing address since my iphone 5 without success now i bought macbook air and is the same! help please is very frustrating

    hey there
    i cannot change my country details and billing address on my iphone iphad and now that i bought macbook air is the sameeee
    is getting really frustrating please helppppppp

    Try looking on the right on this page under 'More like this'.

  • Help - trying to change SSID and password

    I would like to change my Verizon Fios network name and password from the factory settings but I am experiencing the following problem:
    Keep in mind that I have a Dell laptop.
    1. I go into the Verizon Online portal to change the settings, and successfully enter the new SSID in the box and click "Apply" (not the problem)
    2. Then, my wireless network disconnects. The name changes to what I just entered in the list of available networks, but there is a red "X" next to it and I am unable to connect. The message says that the settings entered do not match those configured for the network.
    It seems like my computer refuses to accept the new network name and password, so even though I am able to change the network name and password, the computer is remembering the old and will not connect to the new.
    Any suggestions?

    sound like your stored password is wrong
    for win 7
    Open Network and Sharing Center.
    In the Tasks pane, click Manage wireless networks.
    Right-click the connection you want to delete, and then click Remove network.
    In the Manage Wireless Networks - Warning dialog box, click OK.
    for win 8
    In the list of availble networks, right click on the network and select forget this network.
    Then reconnect to network. You will be prompted for the password.

  • My password no longer allows me to log in. I tried to change it and now its not working what can i do?

    my username does not allow me to start my mac book air. what can i do

    Reset your user password. If you are using Lion, hold down the option key when you hear the starting "bong". then select the recovery disk. Then follow the instructions as alid out in the second arrow bullet on this document.

Maybe you are looking for

  • How do I merge 2 different backups in a new iphone?

    Hello to the community. So here's my story: 1. I had an iphone4s that had some issues and went to the store for replacement etc. I was wise enough to make a backup. And actually I gave that backup folder a name "iphone4s backup" so that itunes or me

  • Lab Tick App - does your backlight flicker on & off?

    I've had Lab Tick installed for about a year now and every time I have turned the keyboard lighting down as low as it goes (off) my keys will all start to flicker on and off after a few minutes, constantly. Does anybody else have the same problem?

  • Edit to tape - timecode mismatch between timeline & output tape (Digi Beta)

    I'm trying to edit to tape (insert) a programme. The clock drops in on exactly the right frame but by the time I get to the end of part there's a 2 frame difference between my timeline TC and the master tape's TC. In other words my timeline ends at 1

  • How to define range when using oo environment

    Hi all, I have a doubt regarding this when using OO: DATA: spfli_wa TYPE spfli,       r_carrid TYPE RANGE OF spfli-carrid,       r_carrid_line LIKE LINE OF r_carrid. Is there a structure I can do "type" for the work-area? Thanks in advance, Edited by

  • Wifi's Internet disconnecting on my laptop?!

    Router: Linksys EA3500 Network Card: Broadcom 4313 Wireless -N iwconfig NOT WORKING wlan0 IEEE 802.11bgn ESSID:"PwNz" Mode:Managed Frequency:2.452 GHz Access Point: 20:AA:4B:75:69:0A Bit Rate=72.2 Mb/s Tx-Power=19 dBm Retry long limit:7 RTS thr:off F