Trying to change DBNAME and DBID both

Hello all;


I'm changing DBNAME AND DBID both. but make a mistake.

I'm pasting below following wht I did. Please take a look and help me to solve it.


SQL > select instance of the thread of v$.

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 the database to Oracle 10 g Enterprise Edition Release 10.2.0.4.0 - Production

With partitioning, OLAP, Data Mining and Real Application Testing options

nest 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 the database CLONE (DBID = 1028509667)

Connected to the server version 10.2.0

Control of database files:

/ u01/app/oracle/oradata/clone/control01. CTL

/ u01/app/oracle/oradata/clone/control02. CTL

/ u01/app/oracle/oradata/clone/control03. CTL

Change the ID of database and CLONE to the base CLONEDB name? (Y / [N]) = > Y


Proceed with the operation

Change the ID of 1028509667 to 916366170 database

Changing the name of the CLONE of CLONEDB database

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 the new name

DataFile /u01/app/oracle/oradata/clone/undotbs01.dbf - dbid changed, wrote the new name

DataFile /u01/app/oracle/oradata/clone/sysaux01.dbf - dbid changed, wrote the new name

DataFile /u01/app/oracle/oradata/clone/users01.dbf - dbid changed, wrote the new name

DataFile /u01/app/oracle/oradata/clone/example01.dbf - dbid changed, wrote the new name

DataFile /u01/app/oracle/oradata/clone/temp01.dbf - dbid changed, wrote the new name

Control file /u01/app/oracle/oradata/clone/control01.ctl - dbid changed, wrote the new name

Control file /u01/app/oracle/oradata/clone/control02.ctl - dbid changed, wrote the new name

Control file /u01/app/oracle/oradata/clone/control03.ctl - dbid changed, wrote the new name

Instance to close

Database name changed to CLONEDB.

Change the settings file and generate a new password file before restarting.

ID of the database for the CLONEDB changed to 916366170 database.

All backups previous and archived redo logs for this database are unusable.

Database is not aware of the previous backups and archived in the recovery area newspapers.

Database has been turned off, open with RESETLOGS option database.

Changed database name and ID

DBNEWID - completed successfully.

$ echo $ORACLE_SID

Clone

[oracle@oel5 ~] $ sqlplus / as sysdba


SQL * more: 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 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

Bytes of size 1268920 fixed

188744520 variable size bytes

415236096 of database buffers bytes

Redo buffers 2924544 bytes

SQL > alter the editing of the database;

change the database editing

*

ERROR on line 1:

ORA-01103: the name "CLONEDB" in the control of the database file is not "CLONEDB".

- /u01/app/oracle/admin/clone/pfile/initclone.ora vi .

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 '

* full = '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

* runoff = 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...

Hello

*. db_name ='clonedb ' - There space in the settings file.

Please remove the value space.

Parameter must be: *. db_name ='clonedb'

Concerning

Mr. Mahir Quluzade

Tags: Database

Similar Questions

  • You can help me to get the process ID so I can install updates? I am locked out and have tried to change password and opening new account, but it won't let me past the security or open a new account, because I told that I already have a. New password will

    I can't get through the process ID or change password or by opening a new account. I have only 1 e-mail address. How can I get an account that works?

    This password is presented by your operating system and is designed to prevent you from accidentally installing the software.

    If it comes to your personal computer and you don't need a password to connect to the computer when it first starts, you can probably leave the password blank and click OK to go to this prompt.  If it comes to your personal computer and your normal password does not work, make sure that CAPS LOCK SHIFT is off, and then type the password carefully.

    If this is your work machine and he asks an administrator password, well, you will need to have a conversation with your computer friendly.

    If you are still puzzled, you may need to reset the password on your Mac:

    http://support.Apple.com/kb/PH18653

    http://support.Apple.com/kb/PH14325

    http://support.Apple.com/en-us/HT201240

  • I can't get my browser to switch to protected mode, already tried to change it and re-boot?

    I know theres a certain way, because it had to do with something of decommissioning, because the guys at microsoft told me in an e-mail, and it worked, but Ierased enamel? (Don't remember now what it was!

    http://www.mydigitallife.info/2007/01/16/disable-or-turn-off-or-enable-and-turn-on-Windows-Vista-Internet-Explorer-7-IE7-protected-mode/

    Read the above info.

    See you soon.

    Mick Murphy - Microsoft partner

  • slide show does not and 'error occurred while trying to change modules.

    I've been using Lightroom + module slide show for years, but suddenly it does not! When I start lightroom, whenever it says 'an error has occurred while trying to change modules' and I can't listen to extracts, to play or export slideshows. I tried computer restart, does not help. I need for a client this morning! Help please!

    Hi Jeng,

    Please visit the link below and follow the steps.

    Troubleshooting Guide for errors that can occur when you change the modules in Lightroom

    Kind regards

    Assani

  • my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    You may have installed one or more variants of the malware "VSearch' ad-injection. Please back up all data, and then take the steps below to disable it.

    Do not use any type of product, "anti-virus" or "anti-malware" on a Mac. It is never necessary for her, and relying on it for protection makes you more vulnerable to attacks, not less.

    Malware is constantly evolving to work around defenses against it. This procedure works now, I know. It will not work in the future. Anyone finding this comment a couple of days or more after it was published should look for a more recent discussion, or start a new one.

    Step 1

    VSearch malware tries to hide by varying names of the files it installs. It regenerates itself also if you try to remove it when it is run. To remove it, you must first start in safe mode temporarily disable the malware.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for other instructions.

    Step 2

    When running in safe mode, load the web page and then triple - click on the line below to select. Copy the text to the Clipboard by pressing Control-C key combination:

    /Library/LaunchDaemons

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

    A folder named "LaunchDaemons" can open. If this is the case, press the combination of keys command-2 to select the display of the list, if it is not already selected.

    There should be a column in the update Finder window. Click this title two times to sort the content by date with the most recent at the top. Please don't skip this step. Files that belong to an instance of VSearch will have the same date of change for a few minutes, then they will be grouped together when you sort the folder this way, which makes them easy to identify.

    Step 3

    In the LaunchDaemons folder, there may be one or more files with the name of this form:

    com Apple.something.plist

    When something is a random string, without the letters, different in each case.

    Note that the name consists of four words separated by dots. Typical examples are:

    com Apple.builins.plist

    com Apple.cereng.plist

    com Apple.nysgar.plist

    There may be one or more items with a name of the form:

    com.something.plist

    Yet once something is a random string, without meaning - not necessarily the same as that which appears in one of the other file names.

    These names consist of three words separated by dots. Typical examples are:

    com.semifasciaUpd.plist

    com.ubuiling.plist

    Sometimes there are items (usually not more than one) with the name of this form:

    com.something .net - preferences.plist

    This name consists of four words (the third hyphen) separated by periods. Typical example:

    com.jangly .net - preferences.plist

    Drag all items in the basket. You may be prompted for administrator login password.

    Restart the computer and empty the trash.

    Examples of legitimate files located in the same folder:

    com.apple.FinalCutServer.fcsvr_ldsd.plist

    com Apple.Installer.osmessagetracing.plist

    com Apple.Qmaster.qmasterd.plist

    com Apple.aelwriter.plist

    com Apple.SERVERD.plist

    com Tether.plist

    The first three are clearly not VSearch files because the names do not match the above models. The last three are not easy to distinguish by the name alone, but the modification date will be earlier than the date at which VSearch has been installed, perhaps several years. None of these files will be present in most installations of Mac OS X.

    Do not delete the folder 'LaunchDaemons' or anything else inside, unless you know you have another type of unwanted software and more VSearch. The file is a normal part of Mac OS X. The "demon" refers to a program that starts automatically. This is not inherently bad, but the mechanism is sometimes exploited by hackers for malicious software.

    If you are not sure whether a file is part of the malware, order the contents of the folder by date modified I wrote in step 2, no name. Malicious files will be grouped together. There could be more than one such group, if you attacked more than once. A file dated far in the past is not part of the malware. A folder in date dated Middle an obviously malicious cluster is almost certainly too malicious.

    If the files come back after you remove the, they are replaced by others with similar names, then either you didn't start in safe mode or you do not have all the. Return to step 1 and try again.

    Step 4

    Reset the home page in each of your browsers, if it has been modified. In Safari, first load the desired home page, then select

    ▹ Safari preferences... ▹ General

    and click on

    Set on the current Page

    If you use Firefox or Chrome web browser, remove the extensions or add-ons that you don't know that you need. When in doubt, remove all of them.

    The malware is now permanently inactivated, as long as you reinstall it never. A few small files will be left behind, but they have no effect, and trying to find all them is more trouble that it's worth.

    Step 5

    The malware lets the web proxy discovery in the network settings. If you know that the setting was already enabled for a reason, skip this step. Otherwise, you should undo the change.

    Open the network pane in system preferences. If there is a padlock icon in the lower left corner of the window, click it and authenticate to unlock the settings. Click the Advanced button, and then select Proxies in the sheet that drops down. Uncheck that Auto Discovery Proxy if it is checked. Click OK, and then apply.

    Step 6

    This step is optional. Open the users and groups in the system preferences and click on the lock icon to unlock the settings. In the list of users, there may be some with random names that have been added by the malware. You can remove these users. If you are not sure whether a user is legitimate, do not delete it.

  • I forgot my Apple ID security issues that identify to who I am.  I tried to change security questions and answered wrong too many times...

    I can't change my security questions, I have many attempts, how do I fix?  Also, I forgot my phone code where I'm trying to change my security questions... help please!

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.


    (142601)

  • I tried to change my email address on my Apple ID and he tells me that the email address is already in use on another Apple ID

    I tried to change my email address on Apple ID and he says that email address exists on an another apple ID.  Only, I own an iPad and a laptop computer and signed on iTunes.  What else do I sign on?  I didn't believe that I was connected to any other Apple app!  anyone can shed some light on this.  Thank you.

    To change the Apple ID go to the following location under settings, log out of each of them and then reconnect:

    iCloud, iTunes and App Store, Messages, FaceTime, and Game Center if you use it.

  • My wife tried to update firefox and since then it will not open. When I click it a window appears and says that I have to finish the upgrade a previous version by restarting. When I reboot nothing changes.

    My wife tried to update firefox and since then it will not open. When I click it a window appears and says that I have to finish the upgrade a previous version by restarting. When I reboot nothing changes.

    If the files have already been downloaded, then delete the files in the folder updates\0 and updates.

    You can also remove active - update.xml, or even updates.xml (stores the history of update).

    C:\Users\<user>\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    (%LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox)
    

    Do a cleaning (re) install and delete the folder of the program Firefox (C:\Program Files\Mozilla Firefox\).

    Download a new copy of Firefox and save the file to the desktop.

    Uninstall your current version of Firefox if possible.

    • Do NOT remove the data of a personal nature when you uninstall the current version or you lose your bookmarks and other data in the profile folder.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    • It is important to remove the Firefox program folder to delete all the files and make sure that there is no problem with the files that were the remains after uninstallation.

    Your bookmarks and other profile data stored in the Firefox profile folder and will not be affected by a relocation, but make sure that you do not select delete data of a personal nature if you uninstall Firefox.

  • Tried to change the desktop image and lost all of them.

    iPhoto was opened I was looking for an image specific, but also decided that it would be a good idea to multi-task with my iMac and tried to change the image of the desktop at the same time. Apparently, it wasn't the best idea. While seeking photos through system preferences, a pop-up asked if I wanted to pass something. I'll tell you... I didn't read entirely, but thought that he wanted to reopen iPhoto in System Preferences, since I had the app open on its own. I clicked 'OK', which seems to be the point of civilization to collapse, as it appears that I lost all the photos stored in my iPhoto library! What I did and how can I fix? Everyone?

    Hold down the option key while launching iPhoto and using more select Library window select the correct iPhoto library

    If somehow you deleted it (nothing you described in your question can result in the deletion of the iPhoto library) and then restore your backup iPhoto library until you have removed

    LN

  • Is there a way to change the font size in the comments to a readable/superior police box? I went into preferences and tried making it bigger, and it does not work. Thank you.

    Is there a way to change the font size in the comments to a readable/superior police box? I went to Keynote > Preferences > General and tried making it bigger, and it does not work. Keynote 6.6.1 thanks.

    The fonts themselves, or one of the font attributes cannot be changed; (size, color, tabs or alignment)

    Although it would be very helpful to change the font size, in normal circumstances, this should not be a problem; comments are designed as a personal note by the designer and should only ever be seen by them.

  • Im trying to change the content of my internet but it askes me the supervisor password and I never set one what do I do?

    Im trying to change the content of my internet but it askes me the supervisor password and I never set one what do I do?

    * original title - I do not know my supervisor password by trying to change the content of my internet, how can I know? *

    Hello

    1. what operating system is installed on your computer?

    2. what version of Internet explore is installed on your computer?

    3. you are the administrator of the computer?

    4. what internet content are you trying to change?

    5. where are you trying to change the content?

    Refer to this article on the lost or forgotten password: http://support.microsoft.com/kb/189126 of Microsoft's strategy concerning lost or forgotten passwords

  • Im trying to change a user name, and cannot find a way to do

    original title: user account problem. Help, please! :)

    Im trying to change a user name, and cannot find a way to do it. Its letting me change the login name and the name of the PC on the computer but I can't figure out how to change the name of the actual user. Example: when I record anything it is that he shows Bob-PC/Jeremy... I want to change the part of Jeremy. Can anyone help?

    Hi JordanaBartlett,

    I suggest you follow the provided article and check if it helps.

    http://Windows.Microsoft.com/en-us/Windows7/rename-a-user-account

  • I am trying to change my product key and get a 0x800402c9 error when I run the product key Wizard

    Update product key

    I'm trying to change my product key and get a 0x800402c9 error when I run the product key Wizard, so I am unable to enter the product key

    You must acquire the recovery discs right from the manufacturer - if you're lucky, your office don't reinstall it properly and leave you with the recovery partition that would do the same job.

    Read your manual, on the recovery of the system and try the options there.

    If they do not work, you will need to contact it manufacturer and order a set of htem recovery disks.

  • Under XP, when I try to install the program screen flash BACK and trying to change back, but then return to the windows form.

    When I run the Setup in the program screen flash backs and trying to change back, but then return to the windows form.

    * original title - back program will not be run. *

    How old is this program and what is his name?  If you give us the name of the program someone read here who have experience with the peculiarities of the program might be able to provide more help.

    Open a command prompt, and then try running Setup from the command prompt.  To start a command prompt, type CMD in the box run from the start menu and press or click OK .  At the command prompt, you can use the CD command to navigate to the CD, or you can run the Setup program by using the full path to the Setup program, for example:

    x:\Install.exe

    where x is the CD drive letter.

    John

  • I continue to put my password. says locked and the user swithch. I tried to change the standard account and it won't let me. How to unlock it?

    It is a novelty that has begun.  I have to put my password because it says "locked" under my user name and it says change user.  I can't open my account.  I tried to change it to 'standard', which I don't know how it changed? or did my computer to do this.  If I clicked on "lock computer", how I to unlock?

    Ma-donna

    He stopped to do so, so do not know what happened.

    Thanks anyway

    Madonna

Maybe you are looking for

  • Why my iCloud MAIL continue to send ALERTS

    In general, I use GMAIL for my contacts, calendars, and mail.  In my calendar, I usually set reminders of upcoming events.  At the same time that I get my view of Google Calendar, I also receive an ALERT that is generated from my e-mail, from xxxx@ic

  • Need information... !!

    first I wish warmly to all...! the fact that I write here, I want to know common things on MacBook. I am waiting to buy the new MacBook pro 2016... I am that preferring instead of computers to portable windows and this will be my 1st apple product. I

  • iPhone 5 will not show battery percentage

    Using information available through the Internet and the Apple.com site, I am unable to make my battery percentage iphone 5 see the left.

  • How to dump in the event of a buffer running

    I'm looking for some effective ideas on a dump of the event.  At this moment I have a basic data logger.  It takes data at 100 Hz and ignores all but the last data point for a given period. for example: a sample every two seconds, not two cents.  I a

  • Explorer.exe CPU clocked at 44 to 50% constantly. Stops when a program is uninstalled, then start again.

    Hello Recently, the explorer.exe was running my CPU to the 44-50% on a consistent basis latley.  This causes some reduced performance - slowness and another assoceated of issues such as the computer running hot, shortened of the battery etc. Internet