Control.sql

Hi,
When I try to create control.sql & control.trc from the existing system. I get following error. Pls guide to sort this issue.
os.name = Windows 2003
os.arch = x86
os.version = 5.2
sun.cpu.endian = little
sun.arch.data.model = 32
sun.cpu.isalist = pentium i486 i386
file.encoding = Cp1252
file.separator = \
path.separator = ;
line.separator = CR/LF
user.name = gtpadm
user.home = C:\Documents and Settings\gtpadm
user.dir = P:\
user.language = en
user.country = US
java.version = 1.4.2_13
java.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
java.vm.version = 1.4.2_13-b06
java.vm.vendor = Sun Microsystems Inc.
java.vm.name = Java HotSpot(TM) Client VM
java.vm.info = mixed mode
java.compiler =
java.class.version = 48.0
java.home = C:\Program Files (x86)\Java\j2re1.4.2_13
java.ext.dirs = C:\Program Files (x86)\Java\j2re1.4.2_13\lib\ext
java.class.path = .\.;.\orabrcopy.jar;E:\oracle\GTP\102\jdbc\lib\classes12.jar
java.library.path = C:\Program Files (x86)\Java\j2re1.4.2_13\bin;.;C:\WINDOWS\system32;C:\WINDOWS;E:\oracle\GTP\102\bin;C:\Perl\bin\;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;E:\usr\sap\GTP\sys\exe\run;E:\oracle\GTP\102\bin;E:\usr\sap\GTP\SYS\exe\uc\NTAMD64;E:\usr\sap\GTP\SYS\exe\nuc\NTAMD64
java.io.tmpdir = C:\WINDOWS\TEMP\1\
Required system resources are missing or not available:
  Cannot establish connection to Oracle database as user SYSTEM using URL 'jdbc:oracle:oci8:@':
E:\oracle\GTP\102\BIN\ocijdbc10.dll: %1 is not a valid Win32 application.
Regards
SK

Hello Dinesh,
which application is that?
You can create a trace of the control file very easily via SQL*Plus
shell> sqlplus / as sysdba
SQL> alter database backup controlfile to trace;
Regards
Stefan

Similar Messages

  • System Copy Error @ CreateDB using control.sql file

    Hi Experts,
    I am doing A Homogeneous System Copy. I have installed DB and patched 10.2.0.2 as source is of the same level.
    After DB Installation, restored DB , run the control.sql file and opened it. Recovered DB using this way: "Recover Database using backup controlfile until cancel;" and opened reset logs
    Once DB is open, i continued other steps from the point Backup/Restore DB in sapinst. It said CONTROL.SQL file is missing, so i have placed the same in installation directory. In this step "CREATE DATABASE with control.sql file" it has been throwing me error:  Ora-00265 instance recovery required, cannot set ARCHIVE log mode DB altered. DB Closed. DB Dismounted and DB Closed.
    Could you please explain why it is asking for Archive logs and shutting down the DB.
    Thanks,
    Subbu

    Hi,
    well the copy guide says you have to do an OFFLINE backup.
    So sapinst expects a restored database (from offline backup) with non existing controlfiles
    and the need to do a CREATE CONTROLFILE ...
    You already did that manually. You already opened the db...
    So there is no way to run a CREATE CONTROLFILE with "SET database" (not sure
    about the RESETLOGS in this case for a second time...).
    I do not know what state your DB is in right now. If it is completely operational
    and fully recovered and can be opened and shutdown normal, try to substitute
    your control.sql with simply (copy the original content somewhere else)
    alter database mount;
    alter database open;
    Repeat the sapinst step.
    Depending on how far it put in the progress bars in the xml file, you might need
    only one of those two statements in control.sql.
    If the restored DB is not operational now, then the controlfiles might be garbled due to the
    second try top create them from sapinst. Not sure what the situation is then.
    Volker

  • URGENT-System Copy 2004s (control.sql not found)

    Hi everybody,
    I am in the middle of an homogenous system copy (with installation method backup/restore) with oracle on windows.  The SAP version is N2004s ABAB+Java.
    I am doing this procedure with the Netweaver Guide for this type of copies, this time i have tried not to do my "standard" procedure which is to install the complete new system and after finished the complete new system install, then restore the source database and make adjustments at database level.
    This time i am doing the "official" procedure.  I have installed the oracle sw at the database host.  I have installed the SCS instance at the scs instance with no problems. And... right know i am installing the database instance on the database host, selecting System Copy --> Homogenous Copy (Backup/Restore).  I have restored the datafiles in the target database host and i have create the control.sql file and initSID.ora file from the source system with ora_br_copy.bat.
    I am in the middle of the database instance installation, at this time sapinst have not created yet the OracleServiceNEWSID service in windows, i am assuming sapinst is going to create it (is it right???).
    Ressuming, Righ now, Sapinst have stopped indicating to restore the backup (which i have done), and now i am continuing sapinst but i receive the message :
    MDB-06020   File not found [CONTROL.SQL]
    I don't know where sapinst is looking for the CONTROL.SQL script file, i have tried many locations, can you help me please??????
    Regards,
    Christian

    I read carefully the system copy guide, there i found the paths:
    control.sql debe colocarse en <sap_instdir> path, en mi caso "d:\program files\sapinst_instdir"
    initSID.ora, obviamente debe colocarse en el "db_home\database", en mi caso "l:\oracle\SID\102\database"
    The installation ran successfully.  Sapinst created the windows oracle services, and ran automatically the control.sql script to create and start the new instance.
    What a installation tool!!!
    Cheers.

  • LRM-00112: multiple values not allowed for parameter 'control' - SQL Loader

    Hi,
    Please can someone help me identify why the below SQL* Loader test doesn't work and i get the error in the subject header?
    ctl file (load.ctl)
    load data
    infile 'C:\Documents and Settings\My Documents\loader\TEST.csv'
    into table XXCPP.SQL_LOADER_TEST
    fields terminated by "," optionally enclosed by '"'
    ( PERSON_ID, EMP_NAME, EMP_NUMBER )
    command line prompt
    sqlldr thompsos/generate control='C:\Documents and Settings\My Documents\loader\load.ctl' log='C:\Documents and Settings\My Documents\loader\load.log'
    I'm obviously missing a key piece of code, but can't locate it?
    Many Thanks

    Thanks, unforunately it's still the same. What i have done is move the file to the c drive rather than using a location which has spaces on it.
    I no longer have the same issue as before, but Now i get a different message that would imply my directory isn't correct. I've double checked and everthing seems in order and files are where i've selected.
    Error:
    sqlldr thompsos/generate control='C:\loader\load.ctl' log='C:\loader\load.log'
    SQL*Loader: Release 8.0.6.3.0 - Production on Wed Jan 12 13:31:50 2011
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    SQL*Loader-500: Unable to open file (C:loaderload.ctl)
    Linux Error: 2: No such file or directory
    ctl file (load.ctl)
    load data
    infile 'C:\loader\TEST.csv'
    into table XXCPP.SQL_LOADER_TEST
    fields terminated by "," optionally enclosed by '"'
    ( PERSON_ID, EMP_NAME, EMP_NUMBER )
    Command Line
    sqlldr thompsos/generate control='C:\loader\load.ctl' log='C:\loader\load.log'

  • Urgent: DBrefresh error 354 while creating control file, oracle9i, SAP R3

    Hi experts,
    I have created trace file in Source system and moved the same to target system and edited and then while executing the trace file to create control file the following eeror is coming
    my trace file is like this. . .
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "P47" RESETLOGS ARCHIVELOG
    --  SET STANDBY TO MAXIMIZE PERFORMANCE
        MAXLOGFILES 255
        MAXLOGMEMBERS 3
        MAXDATAFILES 336
        MAXINSTANCES 50
        MAXLOGHISTORY 8168
      '/oracle/P47/sapdata9/btabd_63/btabd.data63',
      '/oracle/P47/sapdata9/stabi_27/stabi.data27',
      '/oracle/P47/sapdata9/btabi_122/btabi.data122',
      '/oracle/P47/sapdata9/stabd_28/stabd.data28',
      '/oracle/P47/sapdata9/btabi_123/btabi.data123',
      '/oracle/P47/sapdata9/btabd_64/btabd.data64',
      '/oracle/P47/sapdata9/btabi_124/btabi.data124'
    CHARACTER SET WE8DEC
    i run command like this:
    SQL> @/oracle/P47/saptrace/usertrace/control.sql
    ORACLE instance started.
    Total System Global Area          1249618992 bytes
    Fixed Size                                     732208 bytes
    Variable Size                             788529152 bytes 
    Database Buffers                       459022446 bytes
    Redo Buffers                                1335296 bytes
    <b>354</b>
    when I press 'enter' again SQL prompt is comming
    Please help
    rgds

    Hi markus,
    thanks for reply . .
    control files are not created. . . .
    alertSID logs shows as follows
    orap47> tail -f alert_P47.log
    ARCH shutting down
    Thu Dec 13 13:01:51 2007
    ARC0: Archival stopped
    Thu Dec 13 13:01:51 2007
    ARC1: Archival stopped
    Thu Dec 13 13:01:54 2007
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    <b>When @/oracle/saptrace/usertrace/control.sql command given in sepearate SQL window</b>
    Thu Dec 13 13:03:37 2007
    Starting ORACLE instance (normal)
    Disable cache advisory with old cache parameters
    Thu Dec 13 13:03:37 2007
    WARNING: EINVAL creating segment of size 0x000000004b800000
    fix shm parameters in /etc/system or equivalent
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 3
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.4.0.
    System parameters with non-default values:
      processes                = 80
      sessions                 = 96
      timed_statistics         = TRUE
      shared_pool_size         = 704643072
      enqueue_resources        = 8000
      control_files            = /oracle/P47/sapdata1/cntrl/cntrlP47.dbf, /oracle/P47/sapdata2/cntrl/cntrlP47.dbf, /oracle/P47/sapdata3/cntrl/cntrlP47.dbf
      db_block_buffers         = 56033
      db_block_checksum        = FALSE
      db_block_size            = 8192
      compatible               = 9.2.0
      log_archive_start        = TRUE
      log_archive_dest         = /oracle/P47/saparch/P47arch
      log_buffer               = 1048576
      log_checkpoint_interval  = 0
      db_files                 = 354
      db_file_multiblock_read_count= 8
      log_checkpoints_to_alert = TRUE
      control_file_record_keep_time= 30
      dml_locks                = 2500
      row_locking              = always
      replication_dependency_tracking= FALSE
      transactions_per_rollback_segment= 20
      rollback_segments        = PRS_0, PRS_1, PRS_10, PRS_11, PRS_12, PRS_13, PRS_14, PRS_2, PRS_3, PRS_4, PRS_5, PRS_6, PRS_7, PRS_8, PRS_9
      transaction_auditing     = FALSE
      remote_os_authent        = TRUE
      db_domain                = world
      parallel_max_servers     = 20
      hash_join_enabled        = FALSE
      background_dump_dest     = /oracle/P47/saptrace/background
      user_dump_dest           = /oracle/P47/saptrace/usertrace
      core_dump_dest           = /oracle/P47/saptrace/background
      optimizer_features_enable= 9.2.0
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = P47
      open_cursors             = 800
      optimizer_mode           = choose
      btree_bitmap_plans     = FALSE
      pushjoin_predicate     = FALSE
      optimizer_index_cost_adj = 10
      newinitial_join_orders = FALSE
      optimpeek_user_binds   = FALSE
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Thu Dec 13 13:03:39 2007
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=8
    ARC0: Archival started
    ARC1 started with pid=9
    Thu Dec 13 13:03:39 2007
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Thu Dec 13 13:03:39 2007
    ARC0: Thread not mounted
    Thu Dec 13 13:03:39 2007
    ARC1: Archival started
    ARC1: Thread not mounted
    rgds

  • Error creating a user defined report in the grid control

    I am trying to create a simple User Defined report in the Grid OEM
    Under the 'Elements' tab I have a 'Type' - 'Database Table from SQL'
    And I have this 'Statement' - SELECT * FROM SYS.DBA_USERS
    When I Click the 'Preview' button I get this error.
    Error rendering element. Exception: ORA-00942: table or view does not exist
    I'm logged on as SYSTEM.
    Isn't the SYS.DBA_USERS table accessible by SYSTEM?
    Any advice on what I'm doing wrong/
    Edited by: bfee_sdc on Oct 19, 2010 9:12 AM

    What are the tricks?
    It has to be some what supported since I found this somewhere in an Oracle note...
    How to create custom reports on tables other than mgmt* views.
    To create reports on other tables, grant permissions to MGMT_VIEW user as MGMT_VIEW is responsible for creating reports in grid control
    SQL> GRANT SELECT on SYSMAN.<table_name> to MGMT_VIEW;
    And then create the reports in the reporting framework referencing SYSMAN.<table_name> in the query.
    I tried GRANT SELECT on SYS.DBA_USERS to MGNT_VIEW but this did not work.

  • Error during creation of CONTROL.trc file using ora_db_copy.sh

    Dear all,
    I' trying to perform a system copy using the BACKUP/RESTORE procedure. As described in system manual for my NW2004s (SAP BW7.0, Oracle 10g, AIX) i need to generate the the control file structure.
    First of all I've update my ORABRCOPY.SAR downloading a new version from SAPNET.
    Now, I need to execute the following command
    ./ora_br_copy.sh -generateFiles -forceLogSwitches -targetSid BWP -password <password> -listenerPort 1527
    but I have the following error
    Incorrect application options:
    At least one from 'generateFiles' or 'forceLogSwitches' options is required.
    This is the log file conteined into OraBRCopy.console.log
    os.name = AIX
    os.arch = ppc64
    os.version = 5.3
    cpu.count = 4
    sun.cpu.endian =
    sun.arch.data.model = 64
    sun.cpu.isalist =
    file.encoding = ISO8859-1
    file.separator = /
    path.separator = :
    line.separator = LF
    user.name = orabwt
    user.home = /home/orabwt
    user.dir = /export/appo
    user.language = en
    user.country = US
    java.version = 1.4.2
    java.vendor = IBM Corporation
    java.vendor.url = http://www.ibm.com/
    java.vm.version = 1.4.2
    java.vm.vendor = IBM Corporation
    java.vm.name = Classic VM
    java.vm.info = J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20090307 (SR13) (JIT enabled: jitc)
    java.compiler = jitc
    java.class.version = 48.0
    java.home = /usr/java14_64/jre
    java.ext.dirs = /usr/java14_64/jre/lib/ext
    java.class.path = ./.:./orabrcopy.jar:/oracle/BWT/102_64/jdbc/lib/classes12.jar
    java.library.path = /usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/sap/BWT/SYS/exe/run:/oracle/BWT/102_64/lib:/us
    r/java14_64/jre/bin/sovvm:/usr/lib
    java.io.tmpdir = /tmp/
    Incorrect application options:
    At least one from 'generateFiles' or 'forceLogSwitches' options is required.
    Thanks a lot!
    Marzia

    Theres a similar case here,
    System Copy-Erorr in Generating CONTROL.SQL file
    Please search before posting
    Regards
    Juan

  • Promt from user to proceed in case of error in sql script in sqlplus

    I am using Oracle 10g on Linux platform. I am executing a control.sql script from sqlplus from where i cam calling three *.sql scripts:
    control.sql
    SPOOL test.log
    SELECT 'Start of Control File at:'||systimestamp from dual;
    @00_create_table_scripts.sql
    @01_alter_table_scripts.sql
    @02_insert_scripts.sql
    SELECT 'End of Control File at:'||systimestamp from dual;
    SPOOL OFFI want that whenver there is an error in any of the three sql scripts, a prompt should be displayed asking the user if he wants to continue or not(Y/N). If he presses Y, then the remaining script shall be executed, otherwise execution should be stopped there.
    Can any body guide me how can i do this?
    Thanks.

    I want that whenver there is an error in any of the three sql scripts, a prompt should be displayed asking the user if he wants to continue or not(Y/N). If he presses Y, then the remaining script shall be executed, otherwise execution should be stopped there.If you have toad installed on your machine ,please run control.sql file from your machine .Toad will prompt an alert message saying that so and so error occurred and do you want to continue with that exception or not .
    Thanks,
    Prakash

  • [QUESTION] File CONOTRL.SQL is not being created!!

    Dear experts,
    I am doing a Java refresh from our production to our development system.
    I have first restored the oracle 11 database. As it is NetWeaver 7.3 EHP1, it
    should be possible to do a refresh or system copy using the backup/restore
    method, which according to SAP is supported for v. 7.3.
    Afterwards, I started SWPM for NetWeaver 7.3 in order to do a target system
    installation, in order to manage the mess with the java IDs.
    Though this installation is asking for a file, named CONTROLSQL or CONTROL.SQL
    (both names are mentioned in different parts of the same screen!! How
    confusing, dear SAP !!!)
    Then at the bottom of this infamous window, there is an explanation, that the file
    is being created during the source system export preparation.
    Grrr, fine!! I went to the source system, inflated quickly another SWPM there, did
    the export preparation and... GUESS WHAT !! No CONTROLSQL or CONTROL.SQL
    file!! Nor in the install directory (which I have separate - not /tmp), neither in the
    export location. And I even searched in /tmp and nothing like this !!
    Now I am exporting the entire source system while it is running !! (can't shutdown
    the production!). Where is this file pleasseeeeee...???
    I have done the same procedure on another project with MSSQL Server and it
    went flawlessly without any control sql-files!!
    Thanks a lot for your help!!

    Hi Symon,
    Note: As a part of backup/ restore process we create a new control.sql file using the command
    SQL> alter database backup controlfile to trace;
    Rename this trace file to control.sql and place it in target system.
    Please check the installation log folder for file CONTROL.SQL SAP installer checks for this file in installation log folder.
    IF the database is up and running in target system & If file does not exist, you may create a new file with name CONTROL.SQL and add EXIT; line into it and save it.
    Post this installation should proceed.
    Hope this helps.
    Regards,
    Deepak Kori

  • SQL 2012 Memory usage analysis

    We have this clustered SQL Server, win 2008 R2 + SQL 2012 Standard SP2,
    Server RAM is 64GB, maximum memory is set at 50GB, and minimum memory is set at 10GB.
    When I check memory usage, it seems
    CLR takes more memory than Buffer Pool, is it normal? Or does it show memory allocation issue? Thanks a lot!
    The "total server memory" and "target server memory" performance counters are both 50GB.
    Please kindly see below screen shots below:

    Hi Vivian,
    I would assume you are asking question related to SQL Server 2012 memory the whole discussion would change if it is SQL Server 2008 r2 memory
    You are not drawing correct information from first query.
    CLR has Reserved 6 G but ONLY committed 12 MB. And that too you are looking at virtual memory which is 6TB for SQL Server process so of course CLR can reserve there is actually no issue with it. A committed memory is actually what SQL Server is using
    reserved in simple language is what SQL Server thinks it might need in near future.
    As you said Target and total memory are same its good.
    For both 2012 and 2008 r2 below query will give total memory utilization by SQL Server instance
    select
    (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
    (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
    (total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
    process_physical_memory_low,
    process_virtual_memory_low
    from sys. dm_os_process_memory
    If you want to see Breakdown of memory utilized by various clerks in 2008 r2
    select
    type,
    (SUM(single_pages_kb)/1024) Single_page_allocator_memory,
    (SUM(multi_pages_kb)/1024) multi_page_allocator_memory,
    (sum(awe_allocated_kb)/1024) [AWE API memory]
    from sys.dm_os_memory_clerks
    group by type
    order by Single_page_allocator_memory desc
    For 2012
    select type,
    (SUM(pages_kb)/1024) as Memory_Utilized
    (sum(awe_allocated_kb)/1024) as Memory Allocated by AWE API
    from
    sys.dm_os_memory_clerks
    group by type
    order by Memory_Utilized desc
    Starting from 2012 Max server memory controls much more than buffer pool
    Max server memory controls SQL Server memory allocation, including the buffer pool, compile memory, all caches, qe memory grants, lock manager memory, and CLR memory (basically any “clerk” as found in dm_os_memory_clerks). Memory for thread stacks, heaps,
    linked server providers other than SQL Server, or any memory allocated by a “non SQL Server” DLL is not controlled by max server memory
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Ora_br_copy  not creating control file

    Hi Everybody
    In order to run homogeneous system copy i am running ora_br_copy,using these option looks like it is running but it doesn't create control.sql file
    ora_br_copy.bat -generatefiles -forceLogSwitches -targetSID SMD  -password ********  -listnerport 1527
    and log file is this
    INFO: 2008-06-12 11:11:53
    Oracle Backup/Restore Copy tool is started.
    CONFIG: 2008-06-12 11:11:53
    Application options:
    forceLogSwitches=
    generatefiles=
    listnerport=1527
    oracleHome=H:\oracle\SMD\102
    password=*****
    sourceSid=smd
    targetSID=SMD
    INFO: 2008-06-12 11:11:53
    Executing Oracle database shutdown.
    INFO: 2008-06-12 11:12:00
    Oracle database shutdown output:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jun 12 11:11:53 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    INFO: 2008-06-12 11:12:00
    Executing Oracle database startup.
    INFO: 2008-06-12 11:12:07
    Oracle database startup output:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jun 12 11:12:00 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 2634022912 bytes
    Fixed Size              2055872 bytes
    Variable Size           1459618112 bytes
    Database Buffers      1157627904 bytes
    Redo Buffers             14721024 bytes
    Database mounted.
    Database opened.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    INFO: 2008-06-12 11:12:08
    Forcing log switches is successfully completed.
    INFO: 2008-06-12 11:12:08
    Executing Oracle database shutdown.
    INFO: 2008-06-12 11:12:13
    Oracle database shutdown output:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jun 12 11:12:08 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    INFO: 2008-06-12 11:12:13
    Oracle Backup/Restore Copy tool is stopped.

    Hi Everybody
    This problem was due to ora_br_bopy tool itself,I download new tool from Service Market Place and it is working fine,I am able to create control.sql file
    Hardeep

  • WINDOWS 용 SQL*NET 사용 시 TNS-12203

    제품 : SQL*NET
    작성날짜 : 2004-11-09
    WINDOWS 용 SQL*NET 사용 시 TNS-12203
    ====================================
    PURPOSE
    TNS-12203 "TNS:unable to connect to destination"은 여러가지 원인 때문에
    발생할 수 있습니다. 여기서는 가장 일반적인 몇 가지 원인을 설명합니다.
    1. WINDOWS 용 TCP/IP 어댑터를 설치하지 않은 상태에서 연결하려 하면 TNS-
    12203이 발생할 수 있습니다. SQL*NET TCP/IP V2는 SQL*NET V2와 V2 TCP/IP
    어댑터 등 두가지 제품으로 구성됩니다. 이들은 별도의 두 키트로 되어 있는데,
    반드시 두 키트를 모두 설치해야 합니다.
    2. TNS-12203 에러는 WINDOWS 용 ORACLE SQL*NET소프트웨어가 ORACLE HOME
    디렉토리를 찾을 수 없다는 의미일 수 있습니다. 이 문제를 해결하려면, 먼저
    WIN.INI 화일의 ORACLE 부분에 다음 항목이 있는지 확인하십시오.
    [ORACLE]
    ORA_CONFIG=C:\WINDOWS\ORACLE.INI
    WINDOWS디렉토리가 C:\WINDOWS가 아니면, 위 행의 C:\WINDOWS 부분을 그
    이름으로 바꾸십시오. 그런 다음, ORACLE 소프트웨어를 다시 설치하십시오.
    ORACLE.INI 화일이 있으면 그 ORACLE.INI 화일에 다음 행이 있는지
    확인하십시오.
    ORACLE_HOME=C:\ORAWIN
    ORACLE 홈 디렉토리가 C:\ORAWIN이 아니면 위 행의 C:\ORAWIN 부분을 그
    이름으로 바꾸십시오.
    3. TNSNAMES.ORA가 ORACLE 홈 디렉토리 아래의 NETWORK\ADMIN에 있는지
    확인하십시요. ORACLE 홈 디렉토리는 ORACLE.INI(또는 WIN.INI의
    ORA_CONFIG 매개변수가 지시하는 파일)의 ORACLE_HOME 에 의해 정의됩니다.
    4. 서버 쪽에서 실행 중인 SQL*NET V2 TCP/IP Listener가 없어도 TNS-12203이
    발생할 수 있습니다. 서버 쪽에서 실행 중인 SQL*NET V2가 있는지 확인하십시오.
    서버 쪽에서 Listener Control 유틸리티(LSNRCTL)를 사용하면 서버의 V2
    Listener가 실행 중인지 확인할 수 있습니다. 서버에서 "LSNRCTL STATUS"
    명령을 실행하십시오. Listener Control 유틸리티에 대해서는 SQL*NET
    Administrator's Guide를 참조하십시오.
    5. 연결할 SERVICES 이름에 대해 CONNECT DESCRIPTOR에 정확한 ADDRESS
    매개 변수를 지정했는지 확인하십시오. 정확한 ADDRESS 매개변수를 사용 중인지
    확인하는 방법은, WINDOWS 클라이언트에서 사용 할 것과 같은 ADDRESS 매개
    변수를 가진 TNSNAMES.ORA를 사용하여 서버에서 루프백을 해 보는 것입니다.
    루프백을 수행한다는 것은 데이타베이스와 같은 기계에서 SQL*DBA 등을
    호출하고 연결 스트링을 지정함으로써 SQL*NET V2를 통해 연결한다는 뜻입니다.
    6. JSB VSL 소켓이 초기화되지 않으면 TNS-12203이 발생할 수 있습니다. 이
    문제를 해결하려면 다음 사항을 점검하여 JSB VSL 레이어가 정확하게
    초기화되었는 지 확인하십시요.
    1) ORACLE.INI 파일(또는 WIN.INI의 ORA_CONFIG 매개변수가 지시하는 파일)의
    업체키 매개변수 TCP_VENDOR가 정확하게 설정되었는 지 확인하십시요
    2) ORACLE_HOME\BIN 디렉토리에 MSOCKLIB.DLL이 있는지 확인하십시요.
    3) ORACLE_HOME\BIN 디렉토리에 선택된 JSB 업체 특유의 DLL이 있는지, 또는
    그 JSB 업체 특유의 TSR 파일이 실행되는 지 확인하십시요.
    4) WINDOWS 홈 디렉토리에 VSL.INI 파일이 있는 지 확인하십시요.
    7. TNS-12203에 이어 실제 문제가 무엇인지 더 자세하게 나타내 주는
    또 다른 에러가 발생할 수 있습니다. 화면에서 다른 에러가 보이지 않으면
    ORACLE_HOME\NETWORK\LOG 디렉토리의 SQLNET.LOG 파일을 점검하십시오.

    change (Port = 1526) to 1521 and try to connect
    add the entry to tnsnames.ora file on both client and server
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.25.16 )(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )Edited by: rajeysh on May 15, 2011 3:02 PM

  • SQL Server and TFS integration: can't see TFS SQL Server project

    Hi:
    From SQL Server Management Studio 2012 FILE-> OPEN FROM SOURCE CONTROL -> SQL Server doesn't recognize the SQL Server Project in TFS I specify; I have carefully checked that the project files are in the path specified. I have placed the solution/project
    additionally into the VS Studio 2012 path -> whatever path I point to, SQL Server is unable to open the project and I cannot get to the checked in SQL source. Thank you for your help :)

    The problem is that SSMS doesn't see existing SQL server projects that are checked into TFS by others; I cannot get my SSMS instance to connect to TFS and see the existing projects and check them out. The tutorial is no help.
    Hi,
    According to your description, you could not add the project or solution to source control in SQL Server Management Studio 2012. I recommend you if you install and configure the Team Foundation Server MSSCCI Provider successfully. And check if you can launch
    the client (File >> Source Control >> Launch Team Foundation server MSSCCI Provider). If yes, I recommend you install
     the latest Cumulative Update of SQL Server 2012 , which can be downloaded from Microsoft website.
    In addition, if the error still exists, I recommend you post more details about error log for analysis. When you connect to TFS server, we need to verify if you supply the right information and sign-in credentials for your Team Foundation Server .
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Unable to crate new control file

    Dear All,
    I am going to refresh SANDBOX i want to create new control file but am am not able to create controlfile following is the mssage:
    SP2-0310: unable to open file "control.sql"
    Pls. guide me,
    Regards,
    Madhus

    Hi,
    Make sure that user ora<sid> is authorizate to read that file, so provide authorzation.
    Command you run should looks like this one
    ./ora_br_copy.sh -generateFiles -forceLogSwitches -targetSid TRG -password secretb -listenerPort 1527
    this is only example you should change TRG, secretb and port for listener.
    Best regards,
    Peter Nechala

  • LabVIEW SQL Toolkit and Oracle 8i - need alternativ​es

    Hello,
    We recently upgraded our databases from Oracle 7 to 8i (8.1.6).
    Immediately found out that LabVIEW SQL Toolkit is not compatible with
    the shipping version of Oracle. If you have a VCHAR field over 255 the
    toolkit reads garbage. NI admits to this and is working on an ADO
    upgrade version due out ? that will fix all of these problems. In the
    mean time I am wondering if anybody controls SQL through some other
    application under the control of LabVIEW? Got any ideas or knowledge of
    an alternate SQL method let me know.
    Regards,
    Jim Morrison

    Thanks for the reply. I may just try doing this. Typically though the SQL
    toolkit uses ODBC on your machine to talk to an Oracle client on your local
    machine. That machine in turn talks to the database specified via a socket.
    What the client does I don't know? Its a good point though, I have the IP,
    I'll just fire an SQL off and see what happens.
    What really is making me mad is that TestStand and CVI has no problem with
    Oracle 8i, only the LabVIEW SQL Toolkit. So you wonder why NI just doesn't
    creat the LabVIEW SQL toolkit out of a CVI dll? Baffling.
    Jim
    Johannes Niess wrote:
    > James Morrison/Joan Lester writes:
    >
    > > Hello,
    > >
    > > We recently upgraded our databases from Oracle 7 to 8i (8.1.6).
    > > Immediately fo
    und out that LabVIEW SQL Toolkit is not compatible with
    > > the shipping version of Oracle. If you have a VCHAR field over 255 the
    > > toolkit reads garbage. NI admits to this and is working on an ADO
    > > upgrade version due out ? that will fix all of these problems. In the
    > > mean time I am wondering if anybody controls SQL through some other
    > > application under the control of LabVIEW? Got any ideas or knowledge of
    > > an alternate SQL method let me know.
    > >
    > > Regards,
    > >
    > > Jim Morrison
    >
    > Jim,
    >
    > My knowledge about SQL and Oracle is quite limited, but it should use
    > a TCP/IP connection between Client and Server like (nearly) all
    > services do. You just open a TCP connection to the right port, do the
    > login procedure, fire off your SQL commands, wait for replies and
    > close the connection.
    >
    > Commands are expected to be plain text, so the SQL Toolkit should not
    > have any "black magic" in it. It's just a question of time and money
    > to roll your own SQL Toolkit.
    >
    >
    Johannes Niess

Maybe you are looking for

  • DVD drive won't read media.

    I recently removed my SONY CD-RW CRX320E: from my G4 Tower to boot windows vista on a newly built PC, The PC BIOS read the drive, but could not read the media on it. When I put the drive back into my mac it stopped reading media. It still shows up in

  • How could i export a JPanel as a pdf ??

    is there any package to help me encode a pdf from a bufferedImage or what else ?? Thanks @

  • Access Denied on ListView Web Part

    I have a SharePoint App that I am creating for SharePoint Online. I am leveraging the out of the box SharePoint Snippet in Visual Studio using the listview snippet. List View Snippet: <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly"

  • BEA vs. Oracle Portal

    Were a BEA shop using BEA application server 8.x and currently evaluating Portal solutions, for the most part we have settled on BEA but Corporate has asked us to consider Oracle. I already have some competitive info from our BEA sales guy but I was

  • PRT material process

    Dear experts, I need a complete step by step process regarding the PRT materials 1) PRT material -- Procurement ( FHMI material type don't have  purchasing view , no accounting view) How can we stock this PRT material if procured 2) PRT Material -- B