TNS service name gives preference to connect instance which is in a mount

OS:HPUX
Oracle version: 11.1.0.7
why TNS service name give preference to connect instance which is in a mount mode and dsiaply 'ORA-01033' as mentioned below.
I wanted to connect only instance which are OPEN(not MOUNT) using connect string and want to know status of all instances using SQL query "select instance_name,status from gv$instance". How can I achive this?
I have four node rac cluster and four instance, one instance on each node and status of instances are as shown below
SQL> select instance_name,status from gv$instance;
INSTANCE_NAME STATUS
dtrac1 OPEN
dtrac4 STARTED
dtrac3 OPEN
dtrac2 MOUNTED
I have tried to connect using "dtrac" service name ( details of tnsnames gives below) from any node it gives priority to instance which is mount and shows following error messages
SQL> conn system/vcs@dtrac
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
Warning: You are no longer connected to ORACLE.
SQL> conn system/vcs@dtrac
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
SQL> conn system/vcs@dtrac
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
SQL>
when I changes dtrac2 instance to either NOMOUNT or OPEN state then connection properly goes to instances which are OPEN state.
tnsname.ora file:
==================
# tnsnames.ora Network Configuration File: /oracle/db11g/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DTRAC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
DTRAC4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
(INSTANCE_NAME = dtrac4)
DTRAC3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
(INSTANCE_NAME = dtrac3)
DTRAC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
(INSTANCE_NAME = dtrac2)
DTRAC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
(INSTANCE_NAME = dtrac1)
LISTENERS_DTRAC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
LISTENER_DTRAC4 =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
LISTENER_DTRAC3 =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
LISTENER_DTRAC2 =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
LISTENER_DTRAC1 =
(ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))

Hi Bjoern
Thanks again for your input.
I have some commnet on your input.
I have started instance in mount mode using sqlplus. But it doesn't make diffrence if I stated using srvctl since service get ready as we started instance either OPEN/MOUNT mode using srvctl or sqlplus.
As you are saying diffrent way of configuration of service by mentioning preferred and available attributes for instances but its not useful to know instances which are open. Its useful for segregate work to specific nodes by creating diffrent services for diffrent application.
'crs_stat -t' shows resources online even instance is either nomount/mount/open state. I want to exact state of instance so its not useful for me.
Below example showing service get READY status even I start instanc with mount option using SRVCTL
(oracle@slpal06)[~/db11g/network/admin] srvctl stop instance -d dtrac -i dtrac2
(oracle@slpal06)[~/db11g/network/admin] lsnrctl stat
LSNRCTL for HPUX: Version 11.1.0.7.0 - Production on 17-JUN-2009 18:10:03
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER_SLPAL06
Version TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
Start Date 03-JUN-2009 20:38:19
Uptime 13 days 21 hr. 31 min. 45 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/db11g/network/admin/listener.ora
Listener Log File /oracle/db11g/diag/tnslsnr/slpal06/listener_slpal06/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.138.26)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.137.145)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "dtrac" has 3 instance(s).
Instance "dtrac1", status READY, has 1 handler(s) for this service...
Instance "dtrac3", status READY, has 1 handler(s) for this service...
Instance "dtrac4", status READY, has 1 handler(s) for this service...
Service "dtracXDB" has 3 instance(s).
Instance "dtrac1", status READY, has 1 handler(s) for this service...
Instance "dtrac3", status READY, has 1 handler(s) for this service...
Instance "dtrac4", status READY, has 1 handler(s) for this service...
Service "dtrac_XPT" has 3 instance(s).
Instance "dtrac1", status READY, has 1 handler(s) for this service...
Instance "dtrac3", status READY, has 1 handler(s) for this service...
Instance "dtrac4", status READY, has 1 handler(s) for this service...
The command completed successfully
(oracle@slpal06)[~/db11g/network/admin] srvctl start instance -d dtrac -i dtrac2 -o mount (oracle@slpal06)[~/db11g/network/admin] lsnrctl stat
LSNRCTL for HPUX: Version 11.1.0.7.0 - Production on 17-JUN-2009 18:11:19
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER_SLPAL06
Version TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
Start Date 03-JUN-2009 20:38:19
Uptime 13 days 21 hr. 33 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/db11g/network/admin/listener.ora
Listener Log File /oracle/db11g/diag/tnslsnr/slpal06/listener_slpal06/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.138.26)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.137.145)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "dtrac" has 4 instance(s).
Instance "dtrac1", status READY, has 1 handler(s) for this service...
Instance "dtrac2", status READY, has 2 handler(s) for this service...
Instance "dtrac3", status READY, has 1 handler(s) for this service...
Instance "dtrac4", status READY, has 1 handler(s) for this service...
Service "dtracXDB" has 3 instance(s).
Instance "dtrac1", status READY, has 1 handler(s) for this service...
Instance "dtrac3", status READY, has 1 handler(s) for this service...
Instance "dtrac4", status READY, has 1 handler(s) for this service...
Service "dtrac_XPT" has 4 instance(s).
Instance "dtrac1", status READY, has 1 handler(s) for this service...
Instance "dtrac2", status READY, has 2 handler(s) for this service...
Instance "dtrac3", status READY, has 1 handler(s) for this service...
Instance "dtrac4", status READY, has 1 handler(s) for this service...
The command completed successfully
(oracle@slpal06)[~/db11g/network/admin]

Similar Messages

  • TNS Service Name

    While I am configuring DNS for Oracle 10g at that time i come to the TNS Service Name
    but as i dnt know what TNS Service means ?? I wanted to know what does it stand for ?
    And also I am seeing three options to select named as below
    EXTPROC_CONNECTION_DATA
    ORACLR_CONNECTION_DATA
    XE
    I also wanted to know the purpose of each above attributes. So please Guide me..!! and know me what it means ?? Thanks in advance

    You can refer this http://www.ispirer.com/wiki/sqlways/users-guide/setting-up-database-connection/oracle/tns-service-name
    TNS service name is used to connect to a database remotely.
    PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <HOSTNAME>)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = prim)
    In the above example, PROD is the NET ORACLE SERVICE NAME(alias name). This is used while connecting to the database from the remote server.
    Host is the hostname where the database resides.
    SERVICE_NAME is the db_unique_name of the database that you are connecting.
    So when connecting to the database remotely, you use
    sqlplus username/<password>@<connection string>
    sqlplus username/<password>@<prod>

  • TNS Service Names

    I am unable to get the ODBC Driver version 8.1.6.4.0 to get a list of TNS Service names from a shared TNSNAMES.ORA file. If I type in the service name and test the connection the test is successfull so I know that the shared file is being used. Is there a way to get the TNS services from a shared tnsnames.ora file to be listed in the pulldown?

    Can future versions of the ODBC driver get the location of the TNS names file from the registry if the TNS_ADMIN value exists for the ORACLE HOME corresponding to the ODBC driver you are using?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Justin Cave ([email protected]):
    If I remember correctly, when I implemented the TNS name dropdown, I blindly grab the tnsnames.ora file in the local Oracle home. If the shared file isn't there, I wouldn't expect this to work.
    Justin<HR></BLOCKQUOTE>
    null

  • Resolving a Server Name from a TNS Service Name

    A computer client has an Oracle ODBC connection that is attached to a TNS Service Name "X". The TNS Service Name is running in Server "Y".
    Does anybody know a quick way to resolve the Server Name "Y" from the TNS Service Name "X" ???
    Our current solution is based on opening the file tnsnames.ora, which is normally located in $ORAHOME\network\ADMIN\TNSNAMES.ORA, and by parsing the file resolve the server name. However, we were wondering if there would be a more reliable way to do this. Is there an Oracle API that we can execute? Something like "GetHostName(TNSServiceName)"?
    Many Thanks

    tring TNSPING <service>
    the outputline contents the HOSTname

  • Resolving the Server Name from a TNS Service name

    A computer client has an Oracle ODBC connection that is attached to a TNS Service Name "X". The TNS Service Name is running in Server "Y".
    Does anybody know a quick way to resolve the Server Name "Y" from the TNS Service Name "X" ???
    Our current solution is based on opening the file tnsnames.ora, which is normally located in $ORAHOME\network\ADMIN\TNSNAMES.ORA, and by parsing the file resolve the server name. However, we were wondering if there would be a more reliable way to do this. Is there an Oracle API that we can execute? Something like "GetHostName(TNSServiceName)"?
    Many Thanks

    Not that I'm aware of.
    If you were using an Oracle Names server to resolve tnsnames, rather than a tnsnames.ora file, this would be a lot easier. You'd just update the Oracle Names server and all the clients would start pointing at the right machine.
    Justin

  • TNS Service Name selector for ODBC config on W2k shows trash w/ IC 10g

    Hello!
    I'm having some problems with the Instant Client 10g on a Windows 2000 Server SP4 machine. On this machine, I'm trying to setup a ODBC connection and fail, as the "TNS Service Name" list only contains "junk". Please see the screenshot at
    http://server3.pictiger.com/img/613385/computer-games-and-screenshots/w2k-oracle-odbc-tns-service-name-trash.php
    To get so far, I downloaded and unzipped the following files to C:\Oracle\instantclient_10_2:
    * instantclient-basic-win32-10.2.0.2-20060508.zip
    * instantclient-odbc-win32-10.2.0.2-20060508.zip
    * instantclient-sqlplus-win32-10.2.0.2-20060508.zip
    Next, I added some System environment variables:
    * ORACLE_HOME=C:\Oracle\instantclient_10_2
    * TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.ora
    To PATH, I added (at the end): C:\Oracle\instantclient_10_2. After having done so, I created the file C:\Oracle\instantclient_10_2\network\admin\tnsnames.ora, which contains exactly this (see http://vz6tml.pastebin.ca/211376):
    ORABDE.EUROPE.DELPHIAUTO.NET =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.233.30.8)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orabde.delphi)
        )That's the only file with "tnsname" in its name on the local harddrives of this server.
    After having done all of this, I ran odbc_install and had the server rebooted later in the night.
    This morning, ie. after reboot, I logged on to the system and started the "Data Sources (ODBC)" configuration of Windows 2000. I clicked on "Add" and selected "Oracle in instantclient10-2". Then I expanded the list of the available TNS Service Name entries and see only junk. On a different W2k server, I am able to setup a ODBC connection using the Oracle Instant Client 10g.
    What am I doing wrong, and how do I do it correctly?
    Thanks a lot,
    Alexander

    Hi!
    I found the error:
    TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.oraThat's wrong. The environment variable TNS_ADMIN has to point to the directory containing the tnsnames.ora file; it must not contain the complete path to the tnsnames.ora file.
    After changing TNS_ADMIN to C:\Oracle\instantclient_10_2\network\admin, all is fine.
    Thanks,
    Alexander

  • 48 character limit on TNS Service Name

    In the Oracle ODBC Driver Configuration Dialogue Box there is a 48 character limit in the TNS Service name file. In my case, I need 56 characters if I use the //HOST:PORT/service_name format. The service_name is the format SID.host. The full TNS service name can get quite long since the host is repeated twice.
    For me a workable workarounds is to use the IP address in the HOST field (but not the service_name). I didn't test, but another workaround I presume is to use a TNS_NAMES.ora file, but that adds complexity to a tool that's supposed to be simple.
    Better yet, Oracle developers need to make the TNS service name field a bit longer (96 chars?).
    Now that it is working I am happy with the concept and usability of the Instant Client.
    Trenton

    Hi!
    I found the error:
    TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.oraThat's wrong. The environment variable TNS_ADMIN has to point to the directory containing the tnsnames.ora file; it must not contain the complete path to the tnsnames.ora file.
    After changing TNS_ADMIN to C:\Oracle\instantclient_10_2\network\admin, all is fine.
    Thanks,
    Alexander

  • 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

  • TNS Service Name is : OracleORACLE_HOMETNSListener and is failing to start

    I think one of my guys has been messing with the configuration of my Oracle 10g server and not being an expert in this I am somewhat bermused !!
    Can anyone tell me where the TNS Service is picking up its name from....as you can see it contains ORACLE_HOME instead of the name of the oracle instance.
    Please help me if you can
    Many Thanks in advance,
    Andy

    I have copied just some of the lines from the entries from yesterday (no entries for today) I hope this will give you enough information :
    24-NOV-2010 09:00:02 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=62821)) * establish * BOBJCMS * 0
    24-NOV-2010 09:00:06 * service_update * bobjcms * 0
    24-NOV-2010 09:00:43 * ping * 0
    24-NOV-2010 09:00:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:00:52 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=62908)) * establish * BOBJCMS * 0
    24-NOV-2010 09:02:19 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=services)(ARGUMENTS=64)(SERVICE=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521))))(VERSION=169870336)) * services * 0
    24-NOV-2010 09:02:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:04:43 * service_update * qci * 0
    24-NOV-2010 09:04:46 * service_update * bobjcms * 0
    24-NOV-2010 09:04:58 * service_update * qci * 0
    24-NOV-2010 09:05:20 * service_update * bobjcms * 0
    24-NOV-2010 09:05:31 * service_update * qci * 0
    24-NOV-2010 09:05:43 * ping * 0
    24-NOV-2010 09:05:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:05:52 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=63355)) * establish * BOBJCMS * 0
    24-NOV-2010 09:05:59 * service_update * bobjcms * 0
    24-NOV-2010 09:06:01 * service_died * bobjcms * 12547
    TNS-12547: TNS:lost contact
    24-NOV-2010 09:06:01 * service_died * qci * 12547
    TNS-12547: TNS:lost contact
    24-NOV-2010 09:06:03 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\bin\emagent.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=63673)) * establish * BOBJCMS * 12505
    TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
    and these are from the sqlnet.log :
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=qci.euroking.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=BOBJ_CMS)(SERVER=DEDICATED)(CID=(PROGRAM=C:\oracle\product\10g\jdk\jre\bin\java.exe)(HOST=QCI)(USER=Administrator))))
    VERSION INFORMATION:
         TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 10.2.0.4.0 - Production
    Time: 25-NOV-2010 10:09:24
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0

  • TNS service name error

    Hi. I faced some problems when I try to create a linkage between 2 DB on 2 different machine. Initially there is a linkage between these DBs, which connect DB A to DB B.
    I can get DB B's data when I logon to DB A.
    Then I want to create another linkage which connect DB B to DB A but failed.
    The sql statement I used to create the linkage is:
    create public database link L_TEST
    connect to DB_B_USER
    using 'DB_B';
    but this error occured:
    ORA-12154: TNS:could not resolve service name
    Please advise. Thank you

    It could be a db_domain problem. Ensure that it is defined the same on both machines. If it is not (and you can't change it) change you db link to include the db_domain in the connect string i.e 'DB_B.world' vice 'DB_B'.

  • ToadFree-ORA-12154: TNS:Could not resolve service name

    Hello forum,when I install my oracle9.2.0.1.0 last week, I connected to it with taodFree succesfully, but now when try to connect by using taod the same user/password I get the following message.
    ORA-12154: TNS:Could not resolve service name
    But I can connect to the database with sqlplus.
    using the same user/password
    I am trying to connect to JULSOF.
    tnsnames.ora.
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    JULSOF =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)(HOST = jean)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = JULSOF)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = jean)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)

    Thanks Michel for your time.
    well please look here.
    C:\oracle\ora92\bin>tnsping julsof
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 30-AUG-2003 13:03:53
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Brugte parameterfiler:
    C:\oracle\ora92\network\admin\sqlnet.ora
    Brugte TNSNAMES adapter til at tolke aliaset
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = jean)(PORT =
    1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = JULSOF)))
    OK (30 msec)
    here is sqlnet.ora
    SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    listner.ora
    # LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = jean)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = JULSOF)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = JULSOF)
    here is init.ora.724200395724
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=JULSOF
    # Diagnostics and Statistics
    background_dump_dest=C:\oracle\admin\JULSOF\bdump
    core_dump_dest=C:\oracle\admin\JULSOF\cdump
    timed_statistics=TRUE
    user_dump_dest=C:\oracle\admin\JULSOF\udump
    # File Configuration
    control_files=("C:\oracle\oradata\JULSOF\CONTROL01.CTL", "C:\oracle\oradata\JULSOF\CONTROL02.CTL", "C:\oracle\oradata\JULSOF\CONTROL03.CTL")
    # Instance Identification
    instance_name=JULSOF
    # Job Queues
    job_queue_processes=10
    # MTS
    dispatchers="(PROTOCOL=TCP) (SERVICE=JULSOFXDB)"
    #dispatchers="(PROTOCOL=TCP) (SERVICE=JULSOF)"
    # Miscellaneous
    aq_tm_processes=1
    compatible=9.2.0.0.0
    # Optimizer
    hash_join_enabled=TRUE
    query_rewrite_enabled=FALSE
    star_transformation_enabled=FALSE
    # Pools
    java_pool_size=33554432
    large_pool_size=8388608
    shared_pool_size=50331648
    # Processes and Sessions
    processes=150
    # Redo Log and Recovery
    fast_start_mttr_target=300
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=524288
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_retention=10800
    undo_tablespace=UNDOTBS1
    *********************************************************

  • CONCSUB failed due to ORA-12154: TNS:could not resolve service name

    Hiall,
    While bringing up concurrent managers getting the below error.
    Cause: CONCSUB failed due to ORA-12154: TNS:could not resolve service name
    I just cloned the instance.
    urgent help is appreciated as I am missing the dead line to complete clone.
    Regards,
    Siva

    Pleas post OS and EBS version
    Please check the listener is up and running on DB tier.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1
    Edited by: 3Amigos on Nov 21, 2010 9:16 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can I get the "Service Name" the user used to connect to the DB with

    My application has code that is dependent on the databases "Global Name" make application processing chooses. I want to switch that to the "Service Name" the the user connected to. I have looked at SYS_CONTEXT but I do not seem to see it their. Any ideas?

    Sky13 wrote:
    My application has code that is dependent on the databases "Global Name" make application processing chooses. I want to switch that to the "Service Name" the the user connected to. I have looked at SYS_CONTEXT but I do not seem to see it their. Any ideas?09:19:31 SQL> select * from global_name;
    GLOBAL_NAME
    V112
    09:19:39 SQL>

  • Service Name

    Hi,
    I have installed Oracle 8.1.6 fo Win 98 on my computer. How can I configure listener.ora, sqlnet.ora and tnsnames.ora to use Service Name: Test.
    I need to use this any service name on localhost without connecting to the network.
    Thank's
    Ondrej
    null

    Dear Ondrej,
    The easiest way to configure the TNS network after successfully installing the Oracle8i software is to use one of the GUI-based tools - Net8 Configuration Assistant or Net8 Assistant (my choice).
    After you become familiar with the ".ora" files in the <ORACLE_HOME>/Network/Admin directory, you may even edit these files directly using any text editor.
    By the way: Do check your Release Notes and verify the operating systems that are compatible with the Oracle8i software you have.
    Ciao!
    null

  • Query to get the service name

    Hi There,
    I want to append the SERVICE name to my email subject sent using UTL_SMTP. I am running it within PL/SQL so that it can change based on the instance. I can do a V$instance, but that shows the sid and not the service name.
    Thanks

    sys_context is the function which gives you such info:
    SELECT sys_context('USERENV', 'SERVICE_NAME') FROM DUAL;Cheers,
    Manik.

Maybe you are looking for

  • Error code 403  in Java Server Proxy

    Hi All, I developed Java Server Proxy. 1. I get the Generated files from IR. 2. Implement those files in J2EE Application. 3. Configure all .xml configuration files. 4. Deploy the .ear file. 5. Register the Bean in JPR registry. finally i put the fil

  • ICal Alarm Window Mostly Off Screen

    When an alarm window pops up I can barely see it. Only a little bit of the window is visible as the rest if off the screen. I can drag it into the screen. It will stay there. But every time a new alarm window pops up its in the same position mostly o

  • Only one root tag is allowed.

    I'm trying to run the following (from Flex 2.0 Online help) : <?xml version="1.0"?> <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"> <mx:XML id="capitals" format="e4x"> <Capitals label="U.S. State Capitals"> <capital label="AL" value="Mont

  • How to handle the error ORA-04052

    We have two Oracle database servers Primary and Secondary, and a DBLINK from Primary to Secondary. We have a table EmployeeDetails in both the database. we have written a query to retreive data from both the database using DBLINK without any problem.

  • 'Save button' in BI integrated planning

    Dear All, I have created an input ready query and I put it into a workbook. I created a Button in the workbook to Save plan values. The problem is that when I click on the Button all the values which was newly recorded are deleted and not saved. If I