Service Name Replacing SID?

The following excerpt from JDBC FAQ suggest that Oracle is replacing SID with Service Name (http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html)
"Oracle is replacing the SID mechanism for identifying databases with a new services approach. This has been available in the database since 8.1.7. JDBC supports services in the connect URL. We strongly encourage everyone to transition from SIDs to services as quickly as possible as SID's will be cease to be supported in one of the next few releases of the database."
Can we safely assume that all DB (version > 10g) will have Service Name configured by default ? Which one is more commonly used SID or Service Name ?

If I am correct, since 8i , Oracle is recommending people to go for Service name notation than the SID notation. Service name notation is the latest notation from sql*net protocol and SID is the older one. From 10g onwards, with the RAC incorporting services all over, service concept is now almost everywhere in the database. So yes, you should switch over to the service name than the sid notation wherever required.
HTH
Aman....

Similar Messages

  • Difference between service name and sid

    Hi All,
    1. I am not able to understand the difference between Service_name and SID.
    2. And I have 3 different databases(like 9i,10g,11g) with 3 instances in each(total 6), Can I configure one listener for all the databases and instances, as I have found in some documents that we need to set SID's list in listener.ora file.
    Please help me in this regard,
    Thanks in advance

    Rafi (Oracle DBA) wrote:
    Hi,
    If you wanted to have multiple databases specified you could nest more SID_DESC parameters in the SID_LIST. In the same way, if you wanted to listen on diffrent IP addresses you could use multiple DESCRIPTION sections in the DESCRIPTION_LIST. For example:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.0.130)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.0.10)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = anotherdb)
    For more details check below link from oracle:
    http://download-west.oracle.com/docs/cd/B12037_01/network.101/b10776/toc.htm
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/
    Hi Rafi,
    Thanks for your reply. Can I configure different version databases in same listener file with different port. For example:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.0.130)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.0.10)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = anotherdb)
    Edited by: user7280060 on Jun 15, 2011 2:36 AM
    Edited by: user7280060 on Jun 15, 2011 2:37 AM

  • NET8I 서비스 이름(SERVICE NAME) 사용 방법

    제품 : SQL*NET
    작성날짜 : 2000-05-31
    Oracle 8i 미만 버젼에서는 Oracle SID(System Identification) 정보만을 이용
    하여 클라이언트에서 서버로의 접속이 이루어졌으나, Oracle 8i부터 새로이 소개된
    Service Name을 이용하여 데이타베이스에 접속할 수 있게 되었다.
    그러나 만일 Service Name을 적절히 기술되지 않으면 다음과 같은 오류를 만나게
    되므로 그 사용 방법을 다루고자 한다.
    "ORA-12514 :TNS - Could not resolve service name"
    "ORA-12154 :TNS - Could not resolve service name"
    Net8 Easy Configuration 또는 Net8 Assistant 도구에서 Net Service Name을
    입력하여야 하며, SERVICE_NAME은 TNSNAMES.ORA 화일에 CONNECT_DATA 절에
    기술하여 하며, 과거 버젼의 (SID=<SIDname>) 절을 대치시킨 것이다.
    SERVICE_NAME을 TNSNAMES.ORA에 지정하는 방법은 다음 세 가지로 가능하다.
    (1) 만일 LISTENER.ORA에 GLOBAL_DBNAME 파라메터가 지정되어 있다면, 그 이름
    을 이용한다.
    (참고로 GLOBAL_DBNAME은 init 파라메터 <DB_NAME>.<DB_DOMAIN>의 형태로
    구성된다.)
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = RC815.o200.kr.oracle.com)
    (ORACLE_HOME = /mnt3/rctest8i/app/oracle/product/8.1.5)
    (SID_NAME = RC815)
    tnsnames.ora:
    ora815 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = tcp)(HOST = o200)(PORT = 1588))
    (CONNECT_DATA =
    (SERVICE_NAME = RC815.o200.kr.oracle.com)
    (2) 초기화 파라메터 <SERVICE_NAMES>.<DB_DOMAIN>의 형태를 이용한다.
    (참고로 SERVICE_NAMES의 디폴트 값은 <DB_NAME>.<DB_DOMAIN>이므로
    SERVICE_NAMES이 명시적으로 지정되어 있지 않으면 <DB_NAME>.<DB_DOMAIN>
    형태의 지정이 가능하다.)
    init<SID>.ora:
    SERVICE_NAMES = MYDB
    DB_DOMAIN = o200.kr.oracle.com
    tnsnames.ora:
    ora815 =
    (CONNECT_DATA =
    (SERVICE_NAME = MYDB.o200.kr.oracle.com)
    만일 둘 이상의 service name의 지정이 필요한 경우에는 다음과 같이
    init<SID>.ora화일에 SERVICE_NAMES에 이름을 연속하여 지정한 후 사용할 수 있다.
    init<SID>.ora:
    SERVICE_NAMES = MYDB1, MYDB2
    DB_DOMAIN = o200.kr.oracle.com
    tnsnames.ora:
    ora815_A =
    (CONNECT_DATA =
    (SERVICE_NAME = MYDB1.o200.kr.oracle.com)
    ora815_B =
    (CONNECT_DATA =
    (SERVICE_NAME = MYDB2.o200.kr.oracle.com)
    (3) 마지막으로 init<SID>.ora에 DB_DOMAIN 파라메터가 없고, listener.ora에도
    GLOBAL_DBNAME이 없는 경우에는 간단히 SID 값을 사용한다.
    tnsnames.ora:
    ora815 =
    (CONNECT_DATA =
    (SERVICE_NAME = ORA815)
    )

    또한 원격 oracle에 접속하는 경우라면 로컬에서는 LISTENER.ora에서 특별히 설정 해 줄건 없는 건가요?

  • How to connect to Oracle 11g using thin driver with service name & SID

    Hi Experts,
    Wish to know whether there is a common way to connect to Oracle 11g server using SID or service name.
    Earlier I used jdbc:oracle:thin:@<<server>:<<port>>:<<SID>> for connecting to individual Oracle server instances.
    Now I need to connect to Oracle RAC which provides service names. So I need to use jdbc:oracle:thin:@<<server>:<<port>>/<<service name>>.
    This connection string is internally constructed by a program and user inputs <<server>>, <<port>> and <<SID>> or <<Service Name>>. Now this requires two different connection strings based on the input whether its SID or service name.
    Is there a common connection string for these two? Based on some articles like this, I understood that we can generically use jdbc:oracle:thin:@<<server>:<<port>>/<<service>>, whether for SID and service.
    When I tried this format with SID, I am getting the below error. What I tried is jdbc:oracle:thin:@myoracleserver:1521/ORCL, where ORCL is the SID
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Request your help in solving this. What I want is a single connection string whether its SID or service. Any help is of great value.
    Regards
    Sunil

    Wish to know whether there is a common way to connect to Oracle 11g server using SID or service name.
    Earlier I used jdbc:oracle:thin:@<<server>:<<port>>:<<SID>> for connecting to individual Oracle server instances.
    Now I need to connect to Oracle RAC which provides service names. So I need to use jdbc:oracle:thin:@<<server>:<<port>>/<<service name>>.
    This connection string is internally constructed by a program and user inputs <<server>>, <<port>> and <<SID>> or <<Service Name>>. Now this requires two different connection strings based on the input whether its SID or service name.
    Is there a common connection string for these two? Based on some articles like this, I understood that we can generically use jdbc:oracle:thin:@<<server>:<<port>>/<<service>>, whether for SID and service.
    When I tried this format with SID, I am getting the below error. What I tried is jdbc:oracle:thin:@myoracleserver:1521/ORCL, where ORCL is the SID
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Request your help in solving this. What I want is a single connection string whether its SID or service. Any help is of great value.
    Oracle has an entire book for JDBC: The JDBC Developer Guide.
    There are chapters that provide ALL of the connection properties and the rules for creating connection urls.
    http://docs.oracle.com/cd/E11882_01/java.112/e16548/urls.htm#BEIDBFDF
    See table 8-3 in that doc

  • How to connect the database (JDBC) using service name rather than SID

    How should we make the connection to the database using service name. Initially, we are using the SID to make the database connection, with following setting in the data-source.xml in OC4J using ABCDB as the SID.
    <data-sources>
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="jdbc/ABCDB"
              location="jdbc/ABCDB"
              pooled-location="jdbc/OracleDSPooled"
              xa-location="jdbc/xa/OracleDSXA"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="ABC"
              password="ABC"
              url="jdbc:oracle:thin:@191.1.4.126:1521:ABCDB"
         />
    </data-sources>
    It work, but now we need to make the connection using this service name ABCSERVICE, but it doesn't work in the OC4J (JDBC). May I know how should we handle this connection?
    Thanks and Regards,
    Pang

    Finally, I got the solution to make the database connection using service name, with putting the tnsname setting in URL portion.
    url="jdbc:oracle:thin:@(description=(address=(host=191.1.4.126)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME = ABCSERVICE)))"
    And now, it is working fine.
    Regards,
    Pang

  • Getting SID with a given service name or host

    Hi.
    I am curious if there is a way or command line to get SID with a given service name or host. I have a service name, but I don't know how to get SID. I know that I can parse the tnsnames.ora file to get it, but if possible, I want to use the more official and safe way.
    I'd appreciated if somebody knows it.

    caesarkim wrote:
    Is there a way to take care of it as one command something like this?
    sqlplus username/password@localhost "SELECT NAME FROM V$DATABASE@SERVICE_NAME"
    Thanks.Make a text file, dbname.sql, that contains lines below
    spool sid_name.txt
    SELECT NAME FROM V$DATABASE@SERVICE_NAME;
    spool off
    exit
    then invoke it like below
    sqlplus username/password@localhost @dbname.sql

  • How to add a new database service name to 9iDS

    Hello,
    I installed 9iDS and 9iDB on my laptop which worked fine for few months. I had trouble with 9iDB I/O system so I reinstalled 9iDB with a new SID name. I updated 9iDS by replacing old SID name with new SID name in tnsnames.ora file but it did not work.
    Please someone suggest where should I update in 9iDS to access my newly installed database service with new SID so that forms appication builder can connect properly.
    Currently it is saying :
    ORA-12514: tns listener could not resolve service name given in connect descriptor.
    Thanks,
    [email protected]

    Shyam,
    could it be that you are still starting the old database tnslistener. Please make sure that you start the listener for your new Db instance.
    Frank

  • How to use the default database service name on creating procedure for data

    how to use the default database service name on creating procedure for datagaurd client failover ??? all oracle doc says create a new service as below and enable at DB startup. but our client is using/wanted database default service to connect from application on the datagaurd environment (rac to non rac setup).please help.
    Db name is = prod.
    exec DBMS_SERVICE.CREATE_SERVICE (service_name => 'prod',network_name =>'prod',failover_method => 'BASIC',failover_type => 'SELECT',failover_retries => 180,failover_delay => 1);
    says already the service available.
    CREATE OR REPLACE TRIGGER manage_dgservice after startup on database DECLARE role
    VARCHAR(30);BEGIN SELECT DATABASE_ROLE INTO role FROM V$DATABASE;
    IF role = 'NO' THEN DBMS_SERVICE.START_SERVICE('prod');
    END IF;
    END;
    says trigger created, but during a swithover still the service is listeneing on listener.
    tns entry.
    prod =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (LOAD_BALANCE = YES)
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod2)(PORT = 1521)) ---> primary db entry
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = proddr)(PORT = 1521)) --> DR DB entry
    (CONNECT_DATA =
    (SERVICE_NAME = prod)
    thanks in advance.
    Edited by: 854393 on Dec 29, 2012 11:52 AM

    Hello;
    So in the example below replace "ernie" with the alias you want the client to use.
    I can show you how I do it :
    First an entry need to be added to the client tnsnames.ora that uses a SERVICE_NAME instead of a SID.
    ernie =
    (DESCRIPTION =
        (ADDRESS_LIST =
           (ADDRESS = (PROTOCOL = TCP)(HOST = Primary.host)(PORT = 1521))
           (ADDRESS = (PROTOCOL = TCP)(HOST = Standby.host)(PORT = 1521))
           (CONNECT_DATA =
           (SERVICE_NAME = ernie)
    )Next the service 'ernie' needs to be created manually on the primary database.
    BEGIN
       DBMS_SERVICE.CREATE_SERVICE('ernie','ernie');
    END;
    /After creating the service needs to be manually started.
    BEGIN
       DBMS_SERVICE.START_SERVICE('ernie');
    END;
    /Several of the default parameters can now be set for 'ernie'.
    BEGIN
       DBMS_SERVICE.MODIFY_SERVICE
       ('ernie',
       FAILOVER_METHOD => 'BASIC',
       FAILOVER_TYPE => 'SELECT',
       FAILOVER_RETRIES => 200,
       FAILOVER_DELAY => 1);
    END;
    /Finally a database STARTUP trigger should be created to ensures that this service is only offered if the database is primary.
    CREATE TRIGGER CHECK_ERNIE_START AFTER STARTUP ON DATABASE
    DECLARE
    V_ROLE VARCHAR(30);
    BEGIN
    SELECT DATABASE_ROLE INTO V_ROLE FROM V$DATABASE;
    IF V_ROLE = 'PRIMARY' THEN
    DBMS_SERVICE.START_SERVICE('ernie');
    ELSE
    DBMS_SERVICE.STOP_SERVICE('ernie');
    END IF;
    END;
    /lsnrctl status - should show the new service.
    When I do this the Database will still register with the listener. I don't give that to the clients. That one will still be available but nobody knows about it. Meanwhile "ernie" moves with the database role.
    So in my example the default just hangs out in the background.
    Best Regards
    mseberg
    Edited by: mseberg on Dec 29, 2012 3:51 PM

  • Listener_scan1  could not find service name

    Hi All,
    I have installed 11203 on 2 node RAC cluster. I have created 1 scan listener. when i give lsnrctl status LISTENER_SCAN1, I am getting below error
    TNS-01101: Could not find service name LISTENER_SCAN1
    Please give your suggestions and help on this issue.
    Thanks,
    NR

    HI,
    Try to configure the tnsnames.ora in this format and let me know
    if you are using load balancing , try
    TBESTDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = node1_vip)(PORT = 1531))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node2_vip)(PORT = 1531))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TBESTDB)
    And you can add below if you would like to  connect to specific instance
    RAC1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = rac.oracle.com)
          (INSTANCE_NAME = rac1)
    RAC2=
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = rac.oracle.com)
          (INSTANCE_NAME = rac2)
    Note: Replace the SID, Servicename, hostname, port etc according to your environment, And also make sure that the tnsnames.ora should be in a proper format(eg : even the opening and closing bracket should be in correct order. If u add additional space also it will throw error..)
    Regards,
    Pradeep. V

  • Oracle8i Start problem - TNS:Service Name Incorrect

    Hi Folks
    My installation of Oracle8i was working fine. I installed webDB today and that was worked fine too.
    But before shutting down the machine I forgot to shutdown the database.
    When I reboot and try to start the database as root thus: ./oracle8i start, I get the following error -
    ORA-12162 TNS:Service name is incorrectly specified.
    Looks like something is wrong with SID or TNSNAMES.
    Could somebody suggest a solution please.
    Thanks.

    For information sake, if someone else comes across the same situation, here is the cause and solution:
    When webDB2.2 is installed it seems to make an entry in the /etc/oratab file for the service name that is provided during installation. Cosequently my 'oratab' file went from:
    ora8i:/../oracle/product/8.1.6:Y
    To:
    *:/../oracle/product/8.1.6:Y
    ora8i:/../oracle/product/webdb22:N
    Hence the problem when 'oratab' is invoked.
    I don't know if webDB is supposed to make this kind of a change.
    I replaced the '*' with 'ora8i' and everything works fine including webDB

  • Issue while creating connection pool in weblogic using SERVICE NAME

    Found two issues while creating connection pool in weblogic using SERVICE NAME
    1. While running apps from jdeveloper using xxx-jdbc.xml
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    2. Configuriing the jndi in Weblogic server
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:SERVICENAME
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    Problem
    database url is generated based on SID
    eg: jdbc:oracle:thin:@localhost:1521:SID
    Solution
    (generate seperate url for SERVICE NAME)
    jdbc:oracle:thin:@localhost:1521/SERVICENAME
    ------------------------

    It is so clear: host not found error for network connection and the other SID servcie name not found means your oracle instance name is not up. check with srvctl status for given servcie name or node, else check CRS_Stat -t if you are using RAC.

  • Unregister service name from listener

    Hi,
    I have a default listener (named LISTENER, port 1521) and a database with SID=ORCL. The database automatically registers with the listener, the output of "lsnrctl status" is:
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    And the value of the service_names parameter is:
    SQL> show parameter service_names
    NAME                                 TYPE        VALUE
    service_names                        string      orclNow I'd like to prevent clients to connect to the database using the service name 'ORCL', so I changed the service_names init parameter:
    SQL> alter system set service_names=testdb;
    System altered.
    Then I restarted the listener. The "problem" is that the database registers with the listener also the 'ORCL' service name:
    Service "TESTDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Is it possible to somehow prevent the database from registering the service name ORCL with the listener?
    If you're wondering why I'm asking that, it's because this database is a duplicated production database (on a different host), and I'd like to prevent the possibility of mistakenly connecting to the production DB. I'm aware it would be better if I change the database's SID altogether, but currently that's not possible.
    Thank you in advance for any answer.
    Regards,
    Jure

    Hi coskan,
    Thanks for the answer.
    Jut a question at the beginning. Doesn't the SID_LIST_listener_name parameter define which databases the listener listens to (and not the single services the database offers)? As I understand, I can prevent automatic registration of a database into the listener, but not selectively allow only some services the database offers? Maybe I'm completely wrong, so please correct me if it's so :-)
    As you suggetsed I tried the following:
    listener.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ORCL)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_4)
    tnsnames.ora:
    LISTENER=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    SQL> show parameter local_listener
    NAME                                 TYPE        VALUE
    local_listener                       string      LISTENERlsnrctl status:
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "ORCL" has 1 instance(s).
    Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    So, now only the service ORCL is registred, although the init parameter service_names=TESTDB. I can connect using ORCL as the service_name in the connection string, but not using TESTDB.
    Regards,
    Jure

  • TNS: could not resolve service name

    ERROR: ORA-12154: TNS: could not resolve service name
    does any1 know what this means...and how to overcome this problem
    username : scott
    passwd: tiger
    host string: myora
    i have personal oracle8i in d:\oracle
    and d2k in d:\d2k
    it connects with the SQLPlus
    however with d2k when i try to connect it gives the above error
    message.
    does any 1 know a solution to the problem...

    Hello,
    First of all, If you are using PO8i and D2k as a front end
    on single machine,no need of specifying Connect String. You can
    connect using scott,tiger. If still it is giving problem,try
    this one.
    Open TNSNAMES.ORA file from folder NET80/Admin in your PC
    using NOTEPAD. Look there entry for myora. If it is there,Check
    SID,IPAddress or remove word "World" from there. See E.g
    ora816 = -- Your connect string
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = 10.0.0.3) -- IP address
    (Port = 1521)
    (CONNECT_DATA = (SID = ora816) -- Database SID
    Hope it will work...
    Adi

  • Database Service Name or Global Database Name with Oracle 10G, when Oracle

    I have an old installation of Oracle 9i (SID=ORCL) and now have installed Oracle 10G (SID=ORC2). I can get connection to Oracle 10G if i define it as an Oracle 8 compatible identification (ie I access to a SID, and don´t provide a Service Name.
    Now I want to install Oracle HTML DB, and succeeded to install the SQL-script that came with the download, but when I install Apache and HTML DB from the Oracle Companion CD I am asked to give the Database Service Name (in the Help it is explained as the Global Database Name).
    When i give the Net Service Name I get error messages (incomprehensible).
    When I look in Net Manager, the Net Service Name does not have a Service Name, but only points to a SID (ie ORC2).
    Where can I find the Database Service Name (or Global Database Name), OR define it if it is not defined??
    Thanks for your help,

    create a net service for oracle10g and provide the name of this service during HTML DB installation it is required for installation.

  • How to change DB name and SID in RAC environment?

    I have 2 node RAC on Red Hat Linux, EL 4, upd. 4. It's using ASM
    and it is working great. However, after 2 years of faithful service
    I was asked to change DB name and SID. In non-RAC environment, that is
    easy. Rename a few files, change init.ora and re-create control file.
    I've done that many times. With 10g RAC, however, situation is different. There is also RAC registry which has the database under the certain name and, I believe, it also has SID registered. Can you, please, point me to a document describing how to do that? It's a production DB and I can't test it anywhere.

    It's in the manual:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17023/dbresource.htm#i1029540
    Larry

Maybe you are looking for

  • HT4623 I can't acces my wifi i don't know what's going on because I can't even turn it on

    I need someone to help me fix my phone my wifi doesn't work

  • Location of Widget Preferences/Data Files

    I've got the "Classic Notepad" widget installed to track job numbers, but after transferring everything to a newer machine, the widget no longer displays the content. I'd like to recover this list, as I (stupidly) don't have it anywhere else, by seei

  • Psd to swf

    Imageready CS2 had a fantastic export to swf option that as far as I can tell has completely dissapeared. Can we please get this back? It allowed you to take vector based layers in photoshop (with solid fills) right into flash and maintain full edita

  • Rolling text/image transition?

    okay so i'm completely stumped on this one...i'm trying to create an effect where when you click on a button like 'about us' or 'services' the text/images/information on teh page rolls up from the bottom (which i know how to do) but then i need it to

  • Trouble with yahoo mail "pushing" to iphone 4s

    Has anyone else had problems with their yahoo mail account "pushing" to their iphone 4s?  This problem has been happening off and on for about 2 months now.  Had an appointment with the genius bar at apple, tech wiped out the phone and told me to res