create the database with Oracle Client link

Hello together,

on my machine Windows 7 with Oracle Client installed 12.0.1.0, I'm trying to create a database link to a database server, which runs on Oracle Standard Edition1 11.2.0.2.

When I connect to sqlplus on the client with "sqlplus/nolog" and type the command:

SQL > create SID of the database link

connect to the user identified by passwd

using "tnsnames.ora connection."

I have a SP2-0640: not connected. OK, it is clear, because I use sqlplus with option/nolog. But client-side normally I have no database, where I can connect. So I think, there is no user, or?

The database to which I want to connect is located in tnsnames.ora.

Generally: Is it possible to use the Oracle Client to create a database link? Maybe there's another way to do this?

A big thank you and best regards,

David

You don't seem to understand the concept of a database link.

A database link connects two databases. Not a client and a database.

You need to link up in a data source to a target database.

The only thing you need is a client of sqlplus in sqlplus client, you need to connect to the source database.

If you can't connect to the source database, you must present the statement to someone.

Sybrand Bakker

Senior Oracle DBA

Tags: Database

Similar Questions

  • Create the database with a set of characters

    Hello

    I need to create a database with the character US8PC437 (platform Linux Redhat 5.4 64-bit, database version 11.2.0.3), but this character set do not appear when I create the database with the database assistant (DBCA).

    Any help will be apreciated.


    Best regards

    Antonio Serrano

    Published by: albrotar on March 6, 2012 09:14

    While AL32UTF8 is certainly recommended for the Oracle database character set, use only, if your application provider has confirmed that their application will work with a set of characters to multibyte database.

    To create a database US8PC437 (it is rarely a choice, in fact) with DBCA 11.2, select the "character sets" tab, once shown, then select the option 'Choose from the list of character sets' and uncheck 'Show recommended only character sets '. This will add US8PC437 to the "Database character set" drop-down list. Select "US8PC437" from the list and continue the process of creation.

    But first, contact your provider and ask a compatible Unicode version of your application.

    -Sergiusz

  • Oracle cloud virtual image, I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud... But could please at least use us dbconsole?

    On oracle cloud virtual, image I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud. But could please at least use us dbconsole?


    I tried to start dbconsole, and it did not work:

    [oracle@ltutest ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.


    According to the oracle help doc center - "creating a database on an instance of virtual image service" (http://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBI/GUID-29290A81-8798-4988-848E-77A1BE0CF08A.htm#GUID-4851560B-D4B6-42...)

    database was created with the option as:

    emConfiguration - NONE - storageType FS


    I guess we have to manually configure the em console, but when I tried to create it, he told me that "' Dbcontrol repository already exists." "

    When I try to start it, it exports the error

    [Oracle@ltutest ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.

    Could someone could give me help with this problem?


    Thanks Brian. I tried your command, and it works. Now I've encountered another problem, how can I browse the URL?

    I created the access rule for access remote on port 1521 and 1158. but when I try to browse the EM console URL, it does not work. all the configurations that I need to do?

  • Link to the database of Oracle 11 g 11.2.0.3.0 to SQLServer 2012 - 11.0.5058.0 (X 64)

    Hello.

    I read a lot of discussion and documentation on this subject, but the things I'm trying to work.

    I want to connect from Oracle to SQL Server. I did the following steps:

    (Taking into account, that I want to connect to a database SQL SERVER called GS2PIASQL03\INSTANCE3)

    Create the odbc connection in the oracle called running GS2PIASQL03 Server

    Name: GS2PIASQL03

    Description: GS2PIASQL03

    Server: GS2PIASQL03\INSTANCE3

    With authentication sql server using a login ID and passwotrd entered by the user

    Connect to sql server to obtain default settings for the configuration option extra

    User: rema_read

    Password: xxxxxxx

    Master default database

    Use ANSI quoted identifiers

    Use nulls, padding and ANSI warnings

    Perform the conversion of character data

    Finishing and test the source data before TESTS COMPLETED successfully.

    Content of LISTENER.ora

    listener.ora # Network Configuration file: S:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:S:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (SID_NAME = CRM)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
    (PROGRAM = S:\app\oracle\product\11.2.0\tg_1\bin\dg4odbc.exe)
    )
    (SID_DESC =
    (SID_NAME = CRMSVC)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = REMA)
    (ORACLE_HOME=S:\app\oracle\product\11.2.0\dbhome_1)
    (SID_NAME = REMA)
    )

    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1521))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = S:\app\oracle

    Content of the TNSNAMES file. ORA

    tnsnames.ora # Network Configuration file: s:\app\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.


    GS2PIASQL03 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)
    (HOST = 172.16.61.18)
    (PORT = 1521)
    )
    (CONNECT_DATA = (SID = GS2PIASQL03))
    (HS = OK)
    )

    Content of initGS2PIASQL03.ora

    HS_FDS_CONNECT_INFO = GS2PIASQL03

    #HS_FDS_SHAREABLE_NAME = C:\Windows\System32\odbc32.dll

    HS_FDS_TRACE_LEVEL = Debug

    Stop and start receiving and then create a database link running the following command in Toad:

    CREATE THE DATABASE LINK TEST_SQLS PUBLIC

    To CONNECT to "read_rema".

    IDENTIFIED BY 'password '.

    WITH THE HELP OF 'GS2PIASQL03 '.

    /

    When I test the link of database (with the option of Toad) or run a query such as:

    Select * of sys.sysobjects@TEST_SQLS;


    I get the same error

    *********************************************************************

    Link: "TEST_SQLS".

    Error: ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of TEST_SQLS

    *********************************************************************

    Please I really need your help I really really need this to work and I'm completely lost know.

    I look forward to hearing from you soon.

    Vinny.

    Hey Vinny,

    No, the host tnsnames.ora must not refer to the place where the SQL * Server database is active.  The tnsnames.ora entries is intended to guide the user who calls the database link by using this entry to a listener running on the computer and the port in the entry. The listener then directs the user to everything that is referenced by the SID in the listener. If it is an Oracle database, then you are linked to the database. If this is an entry of gateway referenced by having the (HS = OK) then you are linked to the gateway which then liaises with what non-Oracle database is accessible through the gateway of the option.  You cannot directly connect to the non-Oracle database by using the IP address of machine non-Oracle in tnsnames.ora. You need to go through the door entry referenced by the listener to establish the connection.

    For the listener, you can set the path to the ORACLE_HOME of the gateway or RDBMS. However, the best option is to give the listener a different name from the default, so for the gateway, you might have-

    SID_LIST_LISTENER_GTW =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = GS2PIASQL03)

    (ORACLE_HOME=S:\app\oracle\product\11.2.0\tg_1)

    (PROGRAM = dg4odbc)

    )

    )

    LISTENER_GTW =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1525))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))

    )

    )

    You can then use-

    stop LISTENER_GTW

    Start LISTENER_GTW

    Kind regards

    Mike

  • Create the database link

    Hi guys!

    I'm having problems creating a data link...
    I enter something like < IP >: < PORT > / < SID > in the SERVICE NAME field and the Assistant returns me error message.
    This structure for THE SERVICE NAME is correct?

    Thank you.

    Hello

    I think the nomenclature might be a little better. During create/edit the entry box is marked but the Service name in outdoor, HOMEtab, and in fact both are misleading.

    Looks like you want to use the format EZConnect [host: port / service name].
    http://www.orafaq.com/wiki/EZCONNECT

    Service_name is generally SID.domain, but you can get away with only SID since many products add the local domain name. It can work if you leave off of the area, but local and remote domain names are the same.

    It's really much easier to use a TNS alias if you have a local listener running with the appropriate entry in the tnsnames.ora file. Thus, for example, in my environment my sqlnet.ora file contains this line:

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    My remote database THAT SID is ora1122 on, say, xyz1234567 to the remote computer and I have a TNS alias entry of the xyz1122 in my local tnsnames.ora file. Given these parameters, I am able to create the database to help link

    xyz1122

    or

    xyz1234567:1521/ora1122.us.Oracle.com

    Thus the first case depends on all: the local listener running, the tnsnames.ora and sqlnet.ora parameters. The second case only on rethinking the host, port, and service. And, in my environment, I actually couldn't give up the domain name. us.Oracle.com.

    I hope that this more detailed example is aid,
    Gary

  • Create the database fails with error ORA-01505: Error adding log files

    Hi all

    hope someone can help out me, I'm creating a database by using a SQL script, the content of the script is:
    create the testora database
    the user sys identified by oracle
    the user identified by oracle's system
    LogFile Group 1 ('/ u01/app/oracle/oradata/testora/redo01a.log ',' / u02/app/oracle/oradata/testora/redo01b.log') blocksize 512 re-use, 100 m in size.
    Group 2 ('/ u01/app/oracle/oradata/testora/redo02a.log ',' / u02/app/oracle/oradata/testora/redo02b.log') blocksize 512 re-use, 100 m in size.
    Group 3 ('/ u01/app/oracle/oradata/testora/redo03a.log ',' / u02/app/oracle/oradata/testora/redo03b.log') blocksize 512 re-use, 100 m in size.
    maxLogFiles 5
    maxlogmembers 5
    MAXDATAFILES 100
    US7ASCII character set
    AL16UTF16 national character set
    Local extended management
    DataFile ' / u01/app/oracle/oradata/testora/system01.dbf' re-use of 400 m size
    SYSAUX datafile ' / u01/app/oracle/oradata/testora/sysaux01.dbf' re-use of 400 m size
    default tablespace users
    DataFile ' / u02/app/oracle/oradata/testora/users01.dbf' size 500 m reuse autoextend on maxsize unlimited
    default temporary tablespace tempts1
    tempfile ' / u01/app/oracle/oradata/testora/temp01.dbf' size 20 m reuse autoextend on maxsize 4g
    Undo tablespace undotbs1
    DataFile ' / u01/app/oracle/oradata/testora/undotbs01.dbf' size 200 m reuse autoextend on maxsize unlimited
    ;

    It fails in the creation of the database with the following result:

    SQL > @/home/oracle/Oracle_Scripts/testora_db_script.sql
    create the testora database
    *
    ERROR on line 1:
    ORA-01092: ORACLE instance is complete. Disconnection forced
    ORA-01501: CREATE DATABASE failed
    ORA-01505: Error adding log files
    ORA-01184: logfile group 1 already exists
    Process ID: 3486
    ID of the session: 1 serial number: 3

    This is the documentation: http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_5004.htm#i2142335
    >
    If only the DB_RECOVERY_FILE_DEST initialization parameter is specified, Oracle database then creates a log file member to this place.

  • How to make a backup of the database with RMAN Oracle Single Instance

    People,

    Hello. I use the server of Oracle 11 GR 1 material with operating system Oracle Linux 5.10 database.

    I understand how to back up the database instance in SQL Server with Windows. But do not really understand how to back up the database instance in Oracle on Linux.
    I did it cold and hot backup for the database HRCS90 instance, but both receive the same error message.


    Cold backup is below:

    SQL > startup
    ORACLE instance started.

    Total System Global Area 538677248 bytes
    Bytes of size 2146024 fixed
    528482584 variable size bytes
    4194304 buffers of data bytes
    Redo buffers 3854336 bytes
    Mounted database.
    Open database.


    SQL > shutdown immediate
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.


    RMAN > backup database;

    From backup 25 November 13
    using the control file of the target instead of recovery catalog database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to the 25/11/2013 14:26:52
    RMAN-06171: not connected to the target database


    RMAN > backup HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, as, backup backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, basic data, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, strength, file, incremental, keep, (, maxsetsize nochecksum, noexclude, nokeep, not, proxy, pool, re-use, recovery, section, skip). ', spfile, skip readonly, setsize, tablespace, tag to validate.
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 8 file: entry standard


    RMAN > backup database HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, backupset channel, copy, controlfilecopy, backup, common, base data, data file, datafilecopy, remove, diskratio, db_recovery_file_dest, filesperset, format, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, more reuse, recovery, section, skip, spfile, pass readonly, setsize, tablespace, tag, to).
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 17 file: entry standard

    While the instance of database HRCS90 is starting, I do hot backup by using the same commands and get the same error message with above cold backup.

    My question is:

    Can any folk tell me specific steps (order by order) to back up a single instance of the database in Oracle with RMAN?


    Thank you.

    Yes, you can restore and recover the backup, but not at the moment. You will only be able to restore and recover at the time of your backup.

    For example.

    If you take backup (mount point with no mode of journal archive) at 06:00 and your grave database crashes at 21:00, you will be able to restore and recover until 06:00. You will find all the changes made to the database between 06:00 and 21:00.

    If you want your database to recover until 9 PM or until a point in time, then you must put your database in log mode archive, and then save the archives.

  • APEX ORACLE INSTALLED IN THE DATABASE OF ORACLE EBS (CANNOT DOWNLOAD APPLICATION)

    Hi friends,

    I have install apex oracle inside the database from oracle ebs on redhat linux 6,-@apexins apex apex temp1 using's script.

    The installation was successful, I created my work space, but when I try to download my application exported in it, at the time when I click on the download link

    path becomes empty.

    Use apex 4.1.1.00.23

    Please I need assistance on this issue.

    After a long search for a solution, I finally found the solution. It is problem of Glassfish 3.1.2

    Solution was obtained from Mathias Hoy's blog.

    file upload | Matthias Hoys

    I downloaded the web-Core, to replace it with the inside glassfish in the folder modules and it work similar magic

  • DBCA cannot create the database in 12 c in Windows

    Hello

    After the installation of Oracle 12 c on R2 Windows Server 2012 and successfully running the netca command to configure the listener, I run with the DBCA tool question

    It throws an error message of "Recovery Manager could not restore the data files"

    I looked at the log files, here is some information:

    Corrupt block 1 found during the backup piece, reading file=C:\ORACLE\PRODUCT\12.1\DBHOME_1\ASSISTANTS\DBCA\TEMPLATES\SEED_DATABASE. DFB, corr_type = 4

    Review of blocknum = 1, file=C:\ORACLE\PRODUCT\12.1\DBHOME_1\ASSISTANTS\DBCA\TEMPLATES\SEED_DATABASE. DFB, found the same corrupted data

    Not sure if this helps, but I am attaching several log files to help debug the problem.

    I read the post DBCA cannot create the database in 12 c, but it doesn't quite have an answer.

    Any help is appreciated.

    Thank you

    Pranav

    Looks like a bad installation or a bad block on your disk. Have you tried creative using the "Custom Database" model in the wizard dbca (one that does not come with the data files)? It will take more time to create, but shouldn't read the dbca reported as corrupted file

  • create the database

    How to manually create database Windows?

    Windows
    go to start > all programs >(Oracle Home) > Configuration and migration Tools > the database Configuration Wizard
    Click that assistant Configuration of the database, with the help of you can create several number of databases, delete

    Published by: Guy on March 21, 2012 22:05

  • create the database on windows

    Hello

    Assume, I have a database of SE oracle under windows.
    If I want to create another database on the same server, can I just there create with dbca, or I have to manually create windows as services?

    N ° not required. If you try to create the database using DBCA, then there is no need to manually create any service.

  • How to register the database with earphone

    Hello

    After you create the database, it is automatically saved with the listener. I am not registered the database with listener then how it registers itself automatically with the listener. How a registry database that is automatically saved.

    I use 11 GR 2 and RHEL 5.4


    [oracle@dog1050 bin] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dog1050) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = / u01/app/oracle




    [oracle@dog1050 bin] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on December 29, 2011 16:03:09

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dog1050) (PORT = 1521)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start date December 29, 2011 16:01:07
    Uptime 0 days 0 h 2 min 1 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
    The listener log file /U01/app/Oracle/diag/tnslsnr/dog1050/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=dog1050) (PORT = 1521)))
    Summary of services...
    Service 'db11g' has 1 instance (s).
    "Db11g", State LOAN, has 1 operation for this service...
    Service 'db11gXDB' has 1 instance (s).
    "Db11g", State LOAN, has 1 operation for this service...
    The command completed successfully



    Thank you
    Knani K

    >
    By default, the PMON process stores information about service with his local listening on the local address by default TCP/IP port 1521
    >

    Please read more http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm#CHDCCHIC.

  • You do not have enough disk space to create the database...

    Hi all

    During the creation of the database, I received this message:

    + "You don't have enough disk space to create the database. +
    + You must at least 939008 on/U01 KB, you only 1981480960 available KB. +

    + Please allow more free disk space. » +

    I checked:
    Root@server# df h
    Size of filesystem used avail capacity mounted on
    / dev/dsk/c4t600A0B800033696A000017534E2F6F67d0s0
    2.2 T 2.2 G 2.2 T 1% / U01

    My Info:
    DB-INSUP2-C2VAS of SunOS 5.10 Generic_142909-17 sun4u sparc SUNW, Sun-Fire-V890
    Oracle database: 10.2.0.1


    Help, please!
    Thank you!
    Dan.

    Thank you all,

    I got the same warning messages and I created the point of editing/U01 with 50 GB for installation of Oracle and creation of database with no caveat. In my opinion, the warning appeared as the point of Assembly/U01 is too large (2.2 T).

    Sorting.

    Published by: hqtri on August 4, 2011 23:33

  • How to recover the database with RMAN avoiding blur

    Hi gurus,


    I'm stuck in a situation and need your help.

    We check if our backups are valid or not. So it gave me a new server and backups/archives to a 2 TB database I need to restore/recovery. I followed steps below.

    (1) copied the prod parameter file to test.

    (2) make the necessary changes in the init file.

    db_file_name_convert, etc..

    (3) start db in nomount mode.

    (4) restore the backup control file

    Restore controlfile to ' / oraback/ARCH/prod/backup_controlfiles/c-250795000-20141030-01';

    (5) mount the database.

    (6) created under the rman script and executed.

    Run {}

    Catalogue start with ' / oraback/RMAN/test "noprompt.

    Catalogue start with ' / oraback/ARCH/test "noprompt.

    allocate channel C1 device type disk;

    allocate channel C2 device type disk;

    allocated channel C3 device type disk;

    allocate channel C4 device type disk;

    allocate channel C5 device type disk;

    allocate channel C6 device type disk;

    allocate channel C7 device type disk;

    allocate channel C8 device type disk;

    @rename_datafiles.lst

    @rename_logfiles.lst

    until the SNA 144390584718.

    restore the database;

    switch datafile;

    recover the database

    }

    Questions-

    -Restore completed successfully, but I found that few archives are missing.

    -I pulled from database to recover until cancel using backup controlfile; There is a below error

    ORA-01152: 1 no file has been restored from a sufficiently old backup

    ORA-01110: data file 1: ' / u02/oradata/testsystem01.dbf'

    -Then tried to restore the archive of available backup archive and few of archives have been restored.

    i.e. of sequence between 759529 and 759552.

    And then I pulled the database until cancel using backup controlfile recovery and I got errors below.

    SQL > restore database using backup controlfile until cancel;

    ORA-00279: change 144185396330 September at 26/10/2014 to 08:14:01

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759541_535023608.arc

    ORA-00280: change 144185396330 thread 1 is in sequence #759541

    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    Auto

    ORA-00279: change 144187549215 September at 26/10/2014 to 08:22:05

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759542_535023608.arc

    ORA-00280: change 144187549215 thread 1 is in sequence #759542

    ORA-00278: log file ' / oraback/ARCH/arch_1_759541_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144187559176 September at 26/10/2014 08:28:41 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759543_535023608.arc

    ORA-00280: change 144187559176 thread 1 is in sequence #759543

    ORA-00278: log file ' / oraback/ARCH/arch_1_759542_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188388865 September at 26/10/2014 08:36:51 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759544_535023608.arc

    ORA-00280: change 144188388865 thread 1 is in sequence #759544

    ORA-00278: log file ' / oraback/ARCH/arch_1_759543_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188399424 September at 26/10/2014 08:46:40 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759545_535023608.arc

    ORA-00280: change 144188399424 thread 1 is in sequence #759545

    ORA-00278: log file ' / oraback/ARCH/arch_1_759544_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189462436 September at 26/10/2014 08:54:04 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759546_535023608.arc

    ORA-00280: change 144189462436 thread 1 is in sequence #759546

    ORA-00278: log file ' / oraback/ARCH/arch_1_759545_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189469985 September at 26/10/2014 08:58:13 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759547_535023608.arc

    ORA-00280: change 144189469985 thread 1 is in sequence #759547

    ORA-00278: log file ' / oraback/ARCH/arch_1_759546_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189577217 September at 26/10/2014 to 09:01:38

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759548_535023608.arc

    ORA-00280: change 144189577217 thread 1 is in sequence #759548

    ORA-00278: log file ' / oraback/ARCH/arch_1_759547_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189584836 September at 26/10/2014 to 09:05:26

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759549_535023608.arc

    ORA-00280: change 144189584836 thread 1 is in sequence #759549

    ORA-00278: log file ' / oraback/ARCH/arch_1_759548_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189699671 September at 26/10/2014 to 09:09:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759550_535023608.arc

    ORA-00280: change 144189699671 thread 1 is in sequence #759550

    ORA-00278: log file ' / oraback/ARCH/arch_1_759549_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189708674 September at 26/10/2014 to 09:14:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759551_535023608.arc

    ORA-00280: change 144189708674 thread 1 is in sequence #759551

    ORA-00278: log file ' / oraback/ARCH/arch_1_759550_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715134 September at 26/10/2014 to 09:21:51

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759552_535023608.arc

    ORA-00280: change 144189715134 thread 1 is in sequence #759552

    ORA-00278: log file ' / oraback/ARCH/arch_1_759551_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715148 September at 26/10/2014 to 09:21:52

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759553_535023608.arc

    ORA-00280: change 144189715148 thread 1 is in sequence #759553

    ORA-00278: log file ' / oraback/ARCH/arch_1_759552_535023608.arc' is no longer

    necessary for this recovery

    ORA-00308: cannot open archived log ' / oraback/ARCH/arch_1_759553_535023608.arc'

    ORA-27037: unable to get file status

    IBM AIX RISC System/6000 error: 2: no such file or directory

    Additional information: 3

    ORA-10879: error reported in parallel recovery slave

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -Now when I tried to open the database with resetlogs it gives below error.

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -I found that sequence backup archives are missing 759553 to 759599. This is not present in the primary also.

    -I tried to check the blur of datafiles and achieved lower results.

    ALTER session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS ";

    Set of feedback on

    topic on the value

    set pagesize 1000

    set linesize 175

    format of column checkpoint_change # 999999999999999999999

    Select the State, checkpoint_change #, fuzzy,.

    TO_CHAR (checkpoint_time, ' ' MON-DD-YYYY HH24:MI:SS) as checkpoint_time,.

    Count (*)

    v $ datafile_header

    Status group, checkpoint_change #, fuzzy, checkpoint_time

    order of the State, checkpoint_change #, fuzzy, checkpoint_time;

    STATUS CHECKPOINT_CHANGE # CHECKPOINT_TIME FUZZY COUNT (*)

    --------------------- ---------------------- --------- -------------------- ----------

    144189715148. ONLINE NO 26 OCTOBER 2014 09:21:52 123

    ONLINE 144375495577 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375495581 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375891732 YES 29 OCTOBER 2014 20:52 1

    ONLINE 144375891955 YES 29 OCTOBER 2014 20:52:03 1

    144376850545. ONLINE NO 29 OCTOBER 2014 21:13:10 1

    ONLINE 144376866610 YES 29 OCTOBER 2014 21:13:36 1

    ONLINE 144377230506 YES 29 OCTOBER 2014 21:31:42 1

    ONLINE 144377313738 YES 29 OCTOBER 2014 21:35:47 1

    144377571340. ONLINE NO 29 OCTOBER 2014 21:53:33 1

    ONLINE 144377625895 YES 29 OCTOBER 2014 21:57:39 1

    ONLINE 144378445278 YES 29 OCTOBER 2014 22:13:37 1

    ONLINE 144378578727 YES 29 OCTOBER 2014 22:20:43 1

    ONLINE 144378877241 YES 29 OCTOBER 2014 22:35:59 1

    ONLINE 144378912130 YES 29 OCTOBER 2014 22:42:25 1

    ONLINE 144379435791 YES 29 OCTOBER 2014 22:57:31 1

    ONLINE 144379545905 YES 29 OCTOBER 2014 23:03:17 1

    ONLINE 144379631677 YES 29 OCTOBER 2014 23:18:53 1

    ONLINE 144379637933 YES 29 OCTOBER 2014 23:24:18 1

    ONLINE 144380039550 YES 29 OCTOBER 2014 23:37:44 1

    ONLINE 144380054601 YES 29 OCTOBER 2014 23:41:40 1

    ONLINE 144380099883 YES 29 OCTOBER 2014 23:54:16 1

    ONLINE 144380114063 YES 29 OCTOBER 2014 23:59:41 1

    ONLINE 144380676881 YES 30 OCTOBER 2014 00:13:27 1

    ONLINE 144380869308 YES 30 OCTOBER 2014 00:20:33 1

    ONLINE 144381101372 YES 30 OCTOBER 2014 00:32:49 1

    ONLINE 144381124605 YES 30 OCTOBER 2014 00:40:54 1

    ONLINE 144381393417 YES 30 OCTOBER 2014 00:51:20 1

    ONLINE 144382166578 YES 30 OCTOBER 2014 01:00:46 1

    ONLINE 144382500313 YES 30 OCTOBER 2014 01:10:11 1

    ONLINE 144382666697 YES 30 OCTOBER 2014 01:18:47 1

    ONLINE 144382861398 YES 30 OCTOBER 2014 01:30:02 1

    ONLINE 144383132266 YES 30 OCTOBER 2014 01:37:38 1

    ONLINE 144383283837 YES 30 OCTOBER 2014 01:48:24 1

    ONLINE 144383580087 YES 30 OCTOBER 2014 01:55:49 1

    ONLINE 144384682269 YES 30 OCTOBER 2014 02:06:55 1

    ONLINE 144384792040 YES 30 OCTOBER 2014 02:12:50 1

    144385726601. ONLINE NO OCTOBER 30, 2014 02:24:16 1

    144385779382. ONLINE NO OCTOBER 30, 2014 02:29:51 1

    ONLINE 144385956865 YES 30 OCTOBER 2014 02:41:27 1

    ONLINE 144386015770 YES 30 OCTOBER 2014 02:46:22 1

    ONLINE 144386151651 YES 30 OCTOBER 2014 02:59:08 1

    ONLINE 144386317681 YES 30 OCTOBER 2014 03:04:13 1

    ONLINE 144386563076 YES 30 OCTOBER 2014 03:16:59 1

    ONLINE 144386565235 YES 30 OCTOBER 2014 03:18:44 1

    ONLINE 144386699656 YES 30 OCTOBER 2014 03:31:40 1

    144386801438. ONLINE NO OCTOBER 30, 2014 03:36:15 1

    144387128892. ONLINE NO OCTOBER 30, 2014 03:52:31 1

    ONLINE 144387143873 YES 30 OCTOBER 2014 03:53:56 1

    144387490033. ONLINE NO OCTOBER 30, 2014 04:09:52 1

    ONLINE 144387501235 YES 30 OCTOBER 2014 04:11:27 1

    144388180516. ONLINE NO OCTOBER 30, 2014 04:26:44 1

    ONLINE 144388433270 YES 30 OCTOBER 2014 04:31:19 1

    ONLINE 144388902410 YES 30 OCTOBER 2014 04:42:55 1

    ONLINE 144388917251 YES 30 OCTOBER 2014 04:53:11 1

    ONLINE 144389534812 YES 30 OCTOBER 2014 05:01:56 1

    ONLINE 144389556024 YES 30 OCTOBER 2014 05:08:42 1

    ONLINE 144389674922 YES 30 OCTOBER 2014 05:19:48 1

    ONLINE 144389831920 YES 30 OCTOBER 2014 05:26:13 1

    144389957543. ONLINE NO OCTOBER 30, 2014 05:42:59 1

    ONLINE 144389982414 YES 30 OCTOBER 2014 05:46:24 1

    144390137798. ONLINE NO OCTOBER 30, 2014 05:56:40 1

    ONLINE 144390460229 YES 30 OCTOBER 2014 06:12:36 1

    ONLINE 144390474106 YES 30 OCTOBER 2014 06:13:11 1

    144390582132. ONLINE NO OCTOBER 30, 2014 06:27:27 1

    144390582634. ONLINE NO OCTOBER 30, 2014 06:28:02 1

    (1) how to proceed from here.

    (2) all the changes I need to do to the RMAN script. As I need to automate the process of restoration.

    (3) I don't want to use under hidden settings

    _ALLOW_RESETLOGS_CORRUPTION = TRUE

    _CORRUPTED_ROLLBACK_SEGMENTS = (Automatic Undo segments comma-separated list)

    Thank you for the support.

    You can not ignore the archivelogs.

    If the archivelogs are not available, you need a database backup that was created after missing the last archivelog point.

    Hemant K Collette

  • Refresh the production database to test the database with RMAN

    Hi experts,

    I want to refresh the production database to test the database with RMAN. You can help me please how to do this.

    I saw a lot of blog on the internet but not got a satisfactory answer.

    Reg,

    Thomas verrma

    Thomas

    Follow these steps

    1. on the server target

    a. Add entry in oratab

    b. create init.ora for target db copy of source

    c. If you use catalog

    connect to the RMAN catalog, you can use the double option to clone run below

    one.

    RMAN > Connect target sys /@trgt

    RMAN > Connect Catalog rman /@catalog

    b. check that the backup connects to the source and to collect information on the elements of backup that contains the backup controlfile

    c. restore the controlfile

    RMAN > set DBID = xxxxxxxx (DBID of the source db)

    RMAN > run

    {

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    Restore controlfile from "/ c-DBID-xxxxxxxx-00';

    }

    Once the controlfile is restored, you can mount the db

    change the editing of the database;

    run

    {

    until ' TO_DATE (2014-SEPT-10 10:00 ', MY - DD - YYYY HH24 ') ";

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    restore the database;

    recover the database;

    }

    ALTER database open resetlogs;

    stop immediately;

    bootable media;

    nest target = / = dbname

    change the system db_name set = scope = spfile;

    stop immediately;

    Startup mount

    ALTER database open resetlogs;

Maybe you are looking for