How to rename oracle9i database in windows 2000

Hi All,
I am trying to rename an oracle database on windows 2000. I am having some issues...can anyone help me how to fix it.
Trace file is created from existing database (ORCLDB) using alter database backup controlfile to trace
and the following steps are followed....
Modify (and optionally rename) the created trace file:
Find the line reading # Set #2. RESETLOGS case
Remove all lines above this line.
Change the line containing the database name from CREATE CONTROLFILE REUSE DATABASE "ORA9" RESETLOGS NOARCHIVELOG
to
CREATE CONTROLFILE SET DATABASE "CAT" RESETLOGS NOARCHIVELOG
Note, in my case, the database is running in noarchive log mode. The corresponding line reads ARCHIVELOG otherwise.
Remove the line reading RECOVER DATABASE USING BACKUP CONTROLFILE.
Remove lines starting with #.
the edited .trc file is saved as rename.sql
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "NEWORCLDB" RESETLOGS NOARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 30
MAXINSTANCES 1
MAXLOGHISTORY 454
LOGFILE
GROUP 1 'd:\oracle\databases\redo1.ora' SIZE 100M,
GROUP 2 'd:\oracle\databases\redo2.ora' SIZE 100M,
GROUP 3 'd:\oracle\databases\redo3.ora' SIZE 100M
-- STANDBY LOGFILE
DATAFILE
'd:\oracle\datafile\system.dbf',
'd:\oracle\datafile\undo.dbf',
'd:\oracle\datafile\data.dbf'
CHARACTER SET WE8ISO8859P1
ALTER DATABASE OPEN RESETLOGS;
ALTER TABLESPACE TEMP ADD TEMPFILE 'd:\oracle\Ora90\databases\temp.dbf'
SIZE 104857600 REUSE AUTOEXTEND OFF;
shutdown the ORCLDB databas from windows services
Moved the old control file to other location
The database name are changed in the new initneworcldb.ora
Bcaz there is no SVRMGRL in 9i....How do i connect ??
Which instance should i connect?
I tried from c:\>sqlplus "/ as sysdba"
Its asking for username and password?
Which username/password@instnace should i login?
What is the username and password....should i give for username....while funning sqlplus " / as sysdba"
Thanks,
Message was edited by:
user444626

As you said added the entry in the sqlnet.ora file
sqlnet.authentication_services=(NTS)
C:\>ORADIM -NEW -SID newdb -SRVC OracleServicenewdb -STARTMODE a
C:\>set ORACLE_SID=NEWDB
C:\>SQLPLUS /NOLOG
SQL*Plus: Release 9.0.1.0.1 - Production on Fri Dec 9 20:28:18 2005
(c) Copyright 2001 Oracle Corporation. All rights reserved.
SQL> @C:\CR_CONTROL.SQL
ORA-01031: insufficient privileges
SP2-0734: unknown command beginning "STANDBY LO..." - rest of line ignored.
SP2-0640: Not connected
SP2-0734: unknown command beginning "Recovery i..." - rest of line ignored.
SP2-0734: unknown command beginning "or if the ..." - rest of line ignored.
SP2-0640: Not connected
Media recovery complete.
SP2-0734: unknown command beginning "All logs n..." - rest of line ignored.
SP2-0640: Not connected
SP2-0734: unknown command beginning "Database c..." - rest of line ignored.
SP2-0640: Not connected
SQL>
Message was edited by:
user444626

Similar Messages

  • Moving oracle 9i database from windows 2000 to windows 2003 server

    hi everybody,
    plz provide me a solution how to move oracle 9i database from windows 2000 server to windows 2003 server with step by step and also with commands plz as i am very new to oracle
    thanks in advance
    suresh

    Install 9i on windows 2003 server and patch to the same level as the Oracle on Windows 2k
    Shutdown and make a cold backup of your old database. That includes datafiles, controlfiles, redo files, init file (spfile)
    Copy and put these files to the exact same directory structure/location, for example if old file is under D:\oradata\mysid\ then the file on new file should be under same directory. (If you are using Network Storage that make things easier, just mapping to the same drive letter.)
    Also make sure archive log dest and all dump dest directories are created. You don't have to copy all old logs and dump files over.
    Use oradim to create a new service for the database instance
    http://www.psoug.org/reference/oradim.html
    Set proper ORACLE_HOME, ORACLE_SID envionment varibles
    Run netca to configure listener, actually copy listener.ora and tnsnames.ora to $ORACLE_HOME\network\admin will do
    Try to start the database

  • How to rename a database

    Hello Gurus,
    Due to some reason I need to rename my database.Can anybody tell me how to rename a database.
    Secondly,What should be the criteria to fix the size of archive log.i.e.What should we keep in mind while deciding the size of archive log?
    Thanx

    For the first question:
    http://www.google.co.uk/search?hl=en&q=oracle+rename+database&btnG=Google+Search&meta=
    With regards to the archive logs, these are needed to recover your backed up datafiles. So, what you keep is largely determined by your backup strategy. Check out:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#sthref2338

  • How I can do when I install Oracle 8.1.7.0 & Oracle9i core for Windows 2000?

    I downloaded Oracle8.1.7 standard Edition and Oracle9iAS Core for Windows NT.
    I installed them on Windows 2000 Server. I checked that Oracle HTTP server was working.
    But how can I get more information from Internet about Oracle Application Server?
    I want to query database through the web. Give me a simple example about it.
    Best regards,
    Richard Xu

    Oracle 9iAS Documentation can be found at,
    http://technet.oracle.com/docs/products/ias/content.html
    You can access few samples of web query in
    Oracle JSP demos, from your iAS Apache main page. There are XML, JDBC and SQLJ samples.

  • Uninstall oracle9i database on windows OS

    Hi,
    Windows OS
    Oracle 9208
    I want to make a script to uninstall oracle9i database using the batch file, so how it can be done ?
    I want to uninstall and then install the database again by running the batch file, so is it required to uninstall the Oracle software also ?
    can anybody provide me detail steps or any link or document to refer ?
    With Regards
    Edited by: user640001 on May 17, 2010 2:45 AM

    user640001 wrote:
    Hi,
    but once i have already executed catrproc.sql and catalog.sql while creating database,
    so if i create database second time, so do i have to run those scripts again ?
    Of course. Those scripts are against and while connected to a specific database. You just created a new database. There is no "again" for this database.
    and if yes then running them again will throw and error as "Object already exists"
    Does it?
    so how to solve it ?You look at the actual error messages actually created (not what you think might be created) and address the actual issue. What is it going to cost you to run some tests?
    >
    can u provide me the main steps for the same?
    With Regards

  • Installing Oracle9i Database on Windows 2003 Cluster

    Can anyone tell me if there are any additional steps needed to install an Oracle DB on a Windows 2003 cluster besides just running the installation and taking the defaults? I was hoping that the software would be cluster aware but it doesn't appear that it is.

    Okay,
    I have gotten a little further with this. I have my 2 node active/passive windows cluster installed and working. I also install Oracle Fail Safe and have it setup and working. I then install my Oracle9i database on node 1 using a local disk for the home directory and the DB/logs files etc on shared disk (SAN back end). I then mirrored the install on my 2nd node using the same home name and location on a local disk. What other steps do I need to take to verify that my new Oracle database will function correctly should a node fail and fail over occur. I am not familiar with any of this at all and am just trying to get to a point where I have my DB installed and working correctly within the cluster before I hand this of to another person. I guess what I am saying is I need to make sure my new DB is cluster aware and will fail over correctly. Any help would be greatly appreciated! Thank you.

  • Who can tell me how to install Oracle9i Database under redhat7.3

    I want to install Oracle9i Database under redhat7.3,but fail,can you tell me how to install it.

    You can set it at infopackage level.
    Go to infopackage-> Scheduler menu-->Data S Default Size(something like this).
    Inside this you have option to set size of datapackage.
    Hope this helps.

  • How to use 4GB RAM on Windows 2000

    Hi,
    We use a third party application that parses weblogs and generates statistics.
    The application gives OutOfMemory exception when the weblogs are hugs.
    I am wondering if doing "editbin.exe /LARGEADDRESSAWARE java.exe" is going to help.
    I have 4GB of physical RAM and I have /3GB in boot.ini in Windows 2000 Advanced Server.
    Thanks,
    Anurag.

    How to use 4GB RAM on Windows 2000You are never going to use 4g on a windows box. The maximum addressable space is 4g. Normally the OS reserves 2g. Which means the maximum addressable space for an application is 2g.
    It is supposed to be possible to increase the addressable space to 3 gig. And also increase the JVM space. However, there are risks. The following thread suggests a way to do this
    http://forum.java.sun.com/thread.jsp?forum=37&thread=201718

  • Moving a database in windows 2000 server to RED HAD

    Hello Everybody
    I have a database develop with oracle 10 g over windows 2000 server and i have to install completed in a server with oracle 10 g but in red hat linux . What the best way to to this operation ?

    since you are using 10g, you can also use transport tablespace with differenct OS. If you are 10g Rel.2 side, you can use transport database new feature to transport database between cross platforms.
    If data size is small, then, use exp and import.
    Jaffar

  • How to locate IP address using Windows 2000!

    My environment is:
    * Windows 2000
    * Standard Oracle 9i Version 9.0.1
    * AOL DSL high-speed internet service
    To invoke iSQL*Plus (on my machine) via a browser on another machine, I need to give the other user either an IP address or an HTTP address. I have been using DNS2GO (a DNS client) to map my HTTP address into an IP address. I would like to eliminate this process and just give the other user my IP address as DNS2GO has not been reliable for me.
    Usings Windows itself, is there a way that I can find out my AOL IP address? I would like to eliminate the use of a third-party software. When I ping my host name, the IP address I see is not the one I want. It will not allow me to connect to the HTTP server on my PC. It is also not the IP address assigned to me by AOL which is done dynamically. How can I use Windows to identify my AOL IP address? Since DNS2GO was able to identify the IP address, I feel I should be able to accomplish the same using Windows.
    Any help would be appreciated1!

    *** I have found the answer to my question so please disregard it! ***

  • OS authentication w/ 10.2 database and Windows 2000

    Not a new issue - but still not too easy for me...
    Got a Windows 2000 domain, a 10g enterprise database server on Windows 2003 as part of this domain and a client machine running a 10.2 client on Windows 2000 in the same domain.
    remote_os_authent is FALSE.
    OS_AUTH_PREFIX_DOMAIN is not set.
    On both sides sqlnet.ora contains the line SQLNET.AUTHENTICATION_SERVICES= (NTS)
    A database account exists as <domainname>\<username> with create session priviledge granted. <domainname> is the same as Windows' %USERDOMAIN%. <username> is the ID to which one logs into that domain on the client machine.
    But still "sqlplus /" raises exception 01017. Password authenticated connects do work. What am I missing?
    Thanks a lot..

    Assuming it still doesn't work: sorry no, as I recall this info from a Metalink note, and the Metalink note worked for me. The only thing I can remember right now is one needs to enclose the Oracle account in double quotes, or it wouldn't work, due to the \. If that also doesn't help, I'm stuck.
    Sybrand Bakker
    Senior Oracle DBA

  • Installation Problem of Oracle9i AS on Windows 2000

    Hi All,
    I installed Oracle9i database, Oracle9i Developer Suite on my machine having W2k. After that I tried to install Oracle 9iAS. But auto installer is not starting after inserting CD. Then after I execute setup.txt but it is giving error after asking oracle home and directory path.
    Pl. give solution ASAP
    Regards
    Rupesh Shah

    try copying the files to your hard disk, and running setup from there?

  • How do I export bookmarks in WIndows 2000 + FF 12 to a new computer running Windows 8 + IE? The instructions I found don't work.

    The instructions I found talk about Windows XP and selecting a history tab and then selecting export. Can't find this on my browser.

    Hi,
    You can copy/overwrite [http://kb.mozillazine.org/Places.sqlite places.sqlite] in the Windows 2000 Firefox profile folder into the Windows 8 Firefox profile folder. This would bring in both the bookmarks and history.
    [https://support.mozilla.org/en-US/kb/Backing-up-restoring-bookmarks Bookmarks backup/restore]
    [https://support.mozilla.org/en-US/kb/import-bookmarks-html?redirectlocale=en-US&redirectslug=Importing+Bookmarks+from+an+HTML+File HTML export/import]
    [http://kb.mozillazine.org/Profile_folder Firefox Profile Folder]
    To open the profile folder via Firefox: '''Help''' ('''Alt''' + '''H''') > '''Troubleshooting Information''' > '''Show Folder'''.
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]

  • How to install 10g database on windows with db block size 16k

    Hi,
    Can somone help me install oracle 10g database on windows xp with db block size as 16k.
    i need this database, because it is one of the recommendations for insalling OWB(Oracle Warehouse Builder).
    Thanks,
    Philip.

    1)     In Initialization parameter pile
    DB_BLOCK_SIZE=8192/16K - One way
    2) The other way once you install Oracle 10 G then at the time when you are creating database with Database Configuration Assistant – you can modify the block size by the[b] Initialization parameter screen.
    -     Sizing Tab
    Block Size 8K/16K
    *** Remember by default Oracle 10 G uses 8K block size.
    You use the options on the Sizing tab to configure the block size of your database
    and the number of processes that can connect to this database. The Block Size setting corresponds to the smallest unit of storage within the Oracle database. All storage of database objects (tables, indexes, and so on) are governed by the block size. The block size defaults to 8KB, but you can modify it. Once the database is created, you cannot modify this setting.
    The maximum and minimum size of an Oracle block depends on the operating system. Generally, 8KB is sufficient for most transaction-oriented applications, and larger block sizes such as 16KB and higher are used in data warehouse–type applications.
    The Processes setting specifies the maximum number of simultaneous operating system processes that can be connected to this Oracle database. You must include at least six processes for each of the Oracle background processes. You can increase this number on the Initialization parameter screen.

  • How to import MySql database to windows phone 8.1 app

    Hello everyone I'm Designing a new windows phone 8.1 app and I need some help from you.
    I have a database that Im using for the some app but for Windows.
    currently using db4free.net
    and use this code
      Mysqlconn = New MySqlConnection
            Mysqlconn.ConnectionString = "server=db4free.net;Port=3306; user id=%%%%%; password=%%%%%%%; database=%%%%%%%%"
            Dim READER As MySqlDataReader
            Try
                Mysqlconn.Open()
                Dim Query As String
                Query = "SELECT * FROM Manager WHERE Name='" & TextBox1.Text & "' AND Password='" & TextBox2.Text & " ' "
                Command = New MySqlCommand(Query, Mysqlconn)
                READER = Command.ExecuteReader
                Dim count As Integer
                count = 0
                While READER.Read
                    count = count + 1
                End While
                If count = 1 Then
                    MsgBox("Mire se vini'" & TextBox1.Text & "'")
                    FORMAKRYESORE.Show()
                    Me.Close()
                ElseIf count > 1 Then
                    MsgBox("Mire se vini'" & TextBox1.Text & "'")
                Else
                    MsgBox("Manager'" & TextBox1.Text & "' is not in the data")
                End If
                Mysqlconn.Close()
            Catch ex As MySqlException
                MsgBox(ex.Message)
            Finally
                Mysqlconn.Dispose()
            End Try
    this is the code that  I use to login.  but on windows phone cant import Mysql connector. not sure why... any suggestion how to deal with this?
    or should I use SQLite? I dont know nothing about the code on SQLite...

    If this is supposed to work just on the phone then SQLite or a Local database.
    https://msdn.microsoft.com/en-us/library/windows/apps/hh202860(v=vs.105).aspx
    For small amounts of data, serializing and deserializing classes to isolated storage is faster.
    Phones aren't always connected to the interweb.
    Even if you are planning on using a central database on some server and connecting via services, you will almost always also need to store some data locally.
    It's in your interest to ask questions in the appropriate forum for the technology you're using.
    As it is, you're asking wpf developers a question about windows store app development.
    It's similar but different.
    Which is probably why Magnus is unaware of local database and I probably omitted something else.
    It's not what we do.
    I've written a grand total of one windows store apps.
    Magnus probably has a similar level of experience.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

Maybe you are looking for

  • Recommended service provider/s?

    ... for getting epub and mobi starting with InDesign (also use for print book). We have the following (requirements): About 6 (technical) books (containing a variety of formatting – primarily paragraphs and chapters but also a significant  number of

  • DECODE in the WHERE part of the query ?

    Hello guys ,I am on 10gR2, and as always , the following mystery for me will be funny for you : ), so please share your knowledge. I have one select on v$session , and i would to use something like DECODE function in the WHERE part of the query, but

  • Iweb picture templet

    About 5% of the people that try and view my web site can not view the pictures that are in picture templets. they can view the pictures that are on pages with single pictures.

  • Active directory issue regarding time (DST) - Cant bind any Macs to 2000 AD

    I am working with a new server at a small mostly Windows based school district. I am here to do a small AD/OD integration with nothing out of the normal. They are using Windows 2000 server and 10.4.11 with all the current software updates. I tested b

  • Ttcwadmin -create -dsn name returns error TT48008

    We had a functioning Oracle Clusterware managed Active Standby Pair configuration, but wanted to add an additional application to the cluster.oracle.ini. I did: ttcwadmin -stop -dsn <name> Then: ttcwadmin -drop -dsn <name> I updated the cluster.oracl