2 listener 2 instance 2 sid 1 server oracle 10g

hi forum,
I'm new to oracle, and gut stuck if using 2 instance:
I'm configuring 1 oracle 10gR2 in a windows 2003 R2 Enterprise with SP1
CPU using 2.4GHz and mem 16GB with swap 32GB.
I already succeeded creating 1 instance and 1 listener with DBCA and NetCA
I can see that I can create another instance and another listener with a different port
but I can't make both work.
- can oracle have 2 listener and listening to 2 different port (port 1521 & 1522) with 2 different instance and 2 different sid name in one server oracle?
- if can how to configure the listener.ora and the tnsnames.ora?
Thanks in advanced guys, really need your input and help.. thanks

user2647692 wrote:
hi forum,
I'm new to oracle, and gut stuck if using 2 instance:
I'm configuring 1 oracle 10gR2 in a windows 2003 R2 Enterprise with SP1
CPU using 2.4GHz and mem 16GB with swap 32GB.
I already succeeded creating 1 instance and 1 listener with DBCA and NetCA
I can see that I can create another instance and another listener with a different port
but I can't make both work.
- can oracle have 2 listener and listening to 2 different port (port 1521 & 1522) with 2 different instance and 2 different sid name in one server oracle?
- if can how to configure the listener.ora and the tnsnames.ora?
Thanks in advanced guys, really need your input and help.. thanksNot only do you need only one listener, but it only has to use one port. The listener is just a broker, and the port specified is used only by the listener, not the db.

Similar Messages

  • Singl/Multiple Server Oracle 10g DB and AS- Advantages and DisAdvantages

    Hi Friends,
    I am using Application1 using Oracle 10g Application Server and Oracle 10g database.
    Now i planned to use Application2 using Oracle 10g AS and Oracle 10g DB
    I need to know what will be the Advantages and Disadvantages if i have the schema for Application2 in the existing Oracle 10g DB / having it in another Oracle 10g DB Server
    sameway what will be the advantages and disadvantages if i have the Application2 regsiterd in existing Oracle 10g AS(Multiple OC4J Instance) / having it in another Oracle 10g AS Server.
    Regards

    To start the list, for me some of the advantages are:
    Same DB:
    - less overhead and wasted CPU Cycles (therefore potentially lower license fees)
    - easier maintenance (backup, recovery)
    - easier tuning (fewer conflicting external environments asking for same resources)
    - Oracle is designed for this, allows use of Resource Manager
    - technically RAC is a clustered 'same DB'
    Same AS:
    - less overhead and wasted CPU Cycles (therefore potentially lower license fees)
    - easier maintenance (backup, recovery)
    - easier tuning (fewer conflicting external environments asking for same resources)
    - Oracle is designed for this, use AS clustering
    Different DB:
    - separate maintenance (patch, upgrade) cycles for different SLA
    - easier tuning (isolate tuning to one app)
    - easier security (most developers have no idea about Oracle security and make merge impossible)
    Different AS:
    - separate maintenance (patch, upgrade) cycles for different SLA
    - easier tuning (isolate tuning to one app)
    - easier security (most developers have no idea about security)

  • SID Name in oracle 10g

    Dear Experts,
    how I can find SID name in Oracle 10g databse, which i forget.
    thanks in advance

    On Unix/Linux, under $ORACLE_BASE/admin you should have a subdirectory for each SID. If the DB is active you can also do something like this
    $ ps -ef | grep smon | grep -v grep | cut -f8 | awk -F"_" '{print $3}'
    On Windows you should have a service OracleService<SID> for each SID.

  • Can we have Multiple Instance on same Node in Oracle 10g RAC

    Hi All,
    I am planning to implement the RAC in Oracle 10g.Before that i have one doubt regarding RAC.
    My question is "Can we create multiple Instance on Same node(Server) ?"
    is it possible.
    Any ideas or thoughts would be apperciable.
    Thanks in Advance.
    Anwar

    This is where it is important to keep the separation between 'database' and 'instance'.
    A database is the set of files that contains the data (and the redo, control files, etc). A database does nothing by itself, other than take up lots of disk space.
    An instance is theCPU cycles (running software) and the memory to control the database.
    In Oracle RAC, you can have as many instances controlling one database [at the same time] as you want (within reason). Each instance must be able to access the disk(s) that contains the database.
    These multiple instances can be on the same computer (effectively taking up a lot of server memory and CPU for nothing) or they can be on separate computers.
    If they are on separate computers, the disk subsystems must be able to be shared across computers - this is occasionally done using operating system clusterware and is the main reason why clusterware is required at all. (This is also the toughest part of the pre-requisites in setting up a RAC and is very vendor dependent unless you use ASM.)
    These instances need a communication connection to coordinate their work (usually a separate network card for each computer) so they do not corrupt the disk when they are trying to access the same file, and possibly the same block, at the same time.
    In a RAC configuration, instances can be added, started, running, stopped and removed independent of each other (allowing a lot of high availability) or can be started and stopped as a group.
    Each instance gets it's own SID, which is in no way any different than a non-RAC SID. It's just the name of a service that can be invoked. The neat thing is that the SID
    a) helps the DBA keep things straight by lettiung us talk about 'instance A' (the Oracle software to be running over on computer A) vs 'instance B' when starting, stopping and managing;
    b) helps the application by providing targets that can be listed in the TNSNAMES.ORA [against one service alias], which is used by ORacle Networking to provide automated load balance or failover (instance/SID a is not available, I guess I'll try the next in the list)
    Hope that helps the concept level a bit.

  • Unable to create ASM instance in Sol 10 with oracle 10g

    Hi
    I am trying to create ASM instance in oracle 10g, getting an error will try to add localconfig add command
    "bash-3.00# /export/home/oracle/oracle/product/10.2.0/db_1/bin/localconfig add reset
    Failure at scls_scr_create with code 1
    Internal Error Information:
    Category: 1234
    Operation: scls_scr_create
    Location: mkdir
    Other: Unable to make user dir
    Dep: 2
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Configuration for local CSS has been initialized
    Adding to inittab
    /etc/init.d/init.cssd: /var/opt/oracle/scls_scr/Sun/root/cssrun: cannot create
    Startup will be queued to init within 30 seconds.
    Checking the status of new Oracle init process...
    Expecting the CRS daemons to be up within 600 seconds.
    Giving up: Oracle CSS stack appears NOT to be running.
    Oracle CSS service would not start as installed
    Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started "
    initcssd has been installed and unable to start also getting an error
    # svcs -x svc:/system/initcssd:default
    svc:/system/initcssd:default (system activity reporting package)
    State: maintenance since Wed Nov 16 10:39:29 2011
    Reason: Start method failed repeatedly, last exited with status 2.
    See: http://sun.com/msg/SMF-8000-KS
    See: sar(1M)
    See: /var/svc/log/system-initcssd:default.log
    Impact: This service is not running.
    Can some please help me to create this instance, alos need a initcssd.zip file for 10g

    Hi thanks,
    I have passed more steps, CSS is started after changing the hostname, after that I created two drive and mounted properly
    when I try to create a ASM disk its failing with following error and idea
    SQL> CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
    2 FAILGROUP controller1 DISK '/dev/dsk/c0d1s0'
    3 FAILGROUP controller2 DISK '/dev/dsk/c1d1s0';
    CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification '/dev/dsk/c1d1s0' matches no disks
    ORA-15025: could not open disk '/dev/dsk/c1d1s0'
    ORA-15056: additional error message
    Intel SVR4 UNIX Error: 13: Permission denied
    Additional information: 42
    Additional information: 134497888
    Additional information: -809278080
    ORA-15031: disk specification '/dev/dsk/c0d1s0' matches no disks
    ORA-15025: could not open disk '/dev/dsk/c0d1s0'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 25: Inappropriate ioctl for device
    Additional information: 16
    Additional information: 134497888
    Additional information: -809278080

  • No Response From Application Server - Oracle 10g

    I am Using Oracle 10g Application server.
    When running a transaction (query to the DB) sometimes it takes more than the "x" session.timeout minutes seted.
    Then 'No Response From Application Server ' error message comes out.
    I don`t want to increase the session.timeout minutes because i do want it to work in other issues. The thing is that i don`t want the session to be terminated when waiting for the response from the DB.
    How can i overcome this?
    Thanks

    Thanks for answering...
    Sorry, i`m new in this. I`m using j2EE technology.
    The thing is that i was trying to do a page that prints a loading... while waiting for the response from the DB, but when it comes the resultset, and i redirect to another servlet to print the results, an illegalStateException came out (the response has already made the commit).
    So i was thinking maybe there was a solution for the application to know that the query is being made in the DB(and that the app/session isn`t stopped).
    Maybe with another driver? now i`m trying the ojdbc14.jar.
    Or maybe in J2EE I can do a page that self reloads every "x" minutes while waiting for the response from the DB as you said and when it comes prints it ?
    Thanks a lot
    Andres

  • Connect linux 4 oracle 10g client to window 2003 server oracle 10g server

    Hi,
    I have my oracle 10g server installed on windows 2003 server.
    On another system i have oracle 10g client is installed having RedHad enterprise edition 4.
    I want to connect my client to the database server.
    I check using oracle universal installer it shows in installed products i.e.
    oracle 10g client is installed on linex system.
    but when i try to write any command like
    [oracle@satish ~]$ sqlplus$
    bash: sqlplus$: command not found
    [oracle@satish ~]$ tnsping
    bash: tnsping: command not foundand it doen't show any enty in applications for oracle which is strange.
    as i am new to linux.
    how to overcome this problem.
    Thanks
    Umesh

    thanks for quick reply
    i work like
    [oracle@satish ~]$ cd /home/oracle/oracle/product/10.2.0/client_1
    [oracle@satish client_1]$ ./tnsping
    bash: ./tnsping: No such file or directory
    [oracle@satish client_1]$ ./sqlplus /nolog
    bash: ./sqlplus: is a directory
    [oracle@satish client_1]$ ls
    assistants   has               jdbc     nls          oui       root.sh      wwg
    bin          hs                jdk      odbc         owm       root.sh.old  xdk
    cdata        install           jlib     olap         perl      slax
    cfgtoollogs  install.platform  jpub     OPatch       plsql     sqlj
    classes      instantclient     jre      opmn         precomp   sqlplus
    crs          inventory         ldap     oracore      racg      srvm
    css          jar               lib      oraInst.loc  rdbms     sysman
    diagnostics  javavm            network  ord          relnotes  uix
    [oracle@satish client_1]$
    and
    [oracle@satish ~]$ expot ORACLE_HOME=/home/oracle/oracle
    bash: expot: command not found
    [oracle@satish ~]$ expoRt ORACLE_HOME=/home/oracle/oracle
    bash: expoRt: command not found
    [oracle@satish ~]$ export ORACLE_HOME=/home/oracle/oracle
    [oracle@satish ~]$ export ORACLE_SID=neo
    [oracle@satish ~]$ export PATH=$PATH:/home/oracle/oracle/product/10.2.0/client_1[oracle@satish ~]$
    [oracle@satish ~]$ ./sqlplus /nolog
    bash: ./sqlplus: No such file or directory
    [oracle@satish ~]$ ./tnsping
    bash: ./tnsping: No such file or directory
    [oracle@satish ~]$thanks
    Edited by: Umesh Sharma on Feb 20, 2009 6:33 AM

  • USER: terminating instance due to error 472 (Oracle 10g)

    Hi folks,
    We come across a problem that our instance was down suddenly. When checking with the alert log file, it shows that the instance was terminated due to error 472. Did you come across such situation before? Any suggestions would be welcomed.
    Following are some information about our Oracle and the log file, trace file.
    Oracle Database 10g Release 10.2.0.2.0 - Production
    ORACLE_HOME = /app/oracle/lmes
    System name: Linux
    Node name: lmes-oracle2.ust.hk
    Release: 2.4.21-32.ELsmp
    Version: #1 SMP Fri Apr 15 21:17:59 EDT 2005
    Machine: i686
    Alert Log File
    Fri Feb 23 09:11:07 2007
    Shutting down archive processes
    Fri Feb 23 09:11:12 2007
    ARCH shutting down
    ARC2: Archival stopped
    Fri Feb 23 15:16:09 2007
    The value (30) of MAXTRANS parameter ignored.
    kupprdp: master process DM00 started with pid=32, OS id=1072
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_01', 'SYSTEM', 'KUPC$C_1_20070223151610', 'KUPC$S_1_20070223151610', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=33, OS id=1077
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_01', 'SYSTEM');
    Fri Feb 23 15:16:28 2007
    Thread 1 advanced to log sequence 1309
    Current log# 3 seq# 1309 mem# 0: /app/oracle/oradata/elop/redo03.log
    Fri Feb 23 15:20:29 2007
    The value (30) of MAXTRANS parameter ignored.
    kupprdp: master process DM00 started with pid=32, OS id=1526
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_01', 'SYSTEM', 'KUPC$C_1_20070223152029', 'KUPC$S_1_20070223152029', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=33, OS id=1528
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_01', 'SYSTEM');
    Fri Feb 23 22:15:35 2007
    Thread 1 advanced to log sequence 1310
    Current log# 1 seq# 1310 mem# 0: /app/oracle/oradata/elop/redo01.log
    Fri Feb 23 23:04:10 2007
    USER: terminating instance due to error 472
    Instance terminated by USER, pid = 7779
    Trace File - elop_lgwr_2312.trc
    /app/oracle/admin/elop/bdump/elop_lgwr_2312.trc
    Oracle Database 10g Release 10.2.0.2.0 - Production
    ORACLE_HOME = /app/oracle/lmes
    System name: Linux
    Node name: lmes-oracle2.ust.hk
    Release: 2.4.21-32.ELsmp
    Version: #1 SMP Fri Apr 15 21:17:59 EDT 2005
    Machine: i686
    Instance name: elop
    Redo thread mounted by this instance: 1
    Oracle process number: 6
    Unix process pid: 2312, image: [email protected] (LGWR)
    *** SERVICE NAME:() 2007-02-23 09:10:07.372
    *** SESSION ID:(331.1) 2007-02-23 09:10:07.372
    LGWR: Archivelog for thread 1 sequence 1308 will NOT be compressed
    tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x1)
    tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x1)
    Maximum redo generation record size = 156160 bytes
    Maximum redo generation change vector size = 150672 bytes
    tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x10)
    tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x10)
    *** 2007-02-23 15:16:27.116
    LGWR: Archivelog for thread 1 sequence 1309 will NOT be compressed
    *** 2007-02-23 22:15:35.383
    LGWR: Archivelog for thread 1 sequence 1310 will NOT be compressed
    Trace File - elop_ora_2336.trc
    /app/oracle/admin/elop/udump/elop_ora_2336.trc
    Oracle Database 10g Release 10.2.0.2.0 - Production
    ORACLE_HOME = /app/oracle/lmes
    System name: Linux
    Node name: lmes-oracle2.ust.hk
    Release: 2.4.21-32.ELsmp
    Version: #1 SMP Fri Apr 15 21:17:59 EDT 2005
    Machine: i686
    Instance name: elop
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 2336, image: [email protected]
    *** SERVICE NAME:() 2007-02-23 09:10:05.988
    *** SESSION ID:(324.3) 2007-02-23 09:10:05.988
    Thread 1 checkpoint: logseq 1307, block 2, scn 27684035
    cache-low rba: logseq 1307, block 30724
    on-disk rba: logseq 1307, block 33205, scn 27699991
    start recovery at logseq 1307, block 30724, scn 0
    ----- Redo read statistics for thread 1 -----
    Read rate (ASYNC): 1240Kb in 0.03s => 40.38 Mb/sec
    Total physical reads: 4096Kb
    Longest record: 21Kb, moves: 0/1975 (0%)
    Change moves: 1/24 (4%), moved: 0Mb
    Longest LWN: 285Kb, moves: 0/245 (0%), moved: 0Mb
    Last redo scn: 0x0000.01a6ab16 (27699990)
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 2
    Average hash chain = 346/345 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 4783/5281 = 0.9
    *** 2007-02-23 09:10:06.132
    KCRA: start recovery claims for 346 data blocks
    *** 2007-02-23 09:10:07.153
    KCRA: blocks processed = 346/346, claimed = 346, eliminated = 0
    *** 2007-02-23 09:10:07.154
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 1307 Reading mem 0
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 2
    Average hash chain = 346/345 = 1.0
    Max compares per lookup = 2
    Avg compares per lookup = 3424/5126 = 0.7
    tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x1)
    tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x1)
    Error in executing triggers on database startup
    *** 2007-02-23 09:10:11.557
    ksedmp: internal or fatal error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12663: Services required by client not available on the server
    ORA-36961: Oracle OLAP is not available.
    ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
    ORA-06512: at line 15
    Thanks & Regards,
    Liona

    Hi,
    I have the same error:
    I have gridcontrol 10gR3 installed on VM / Linux 4 AS box. This is second time down time:
    finally I found the DB tiers is down.
    I have the following message:
    Private_strands 18 at log switch
    Thread 1 advanced to log sequence 215
    Current log# 2 seq# 215 mem# 0: /u02/ora/gridcontrol10g/oradata/emrep/redo02.log
    Thu Apr 19 14:30:33 2007
    Private_strands 18 at log switch
    Thread 1 advanced to log sequence 216
    Current log# 3 seq# 216 mem# 0: /u02/ora/gridcontrol10g/oradata/emrep/redo03.log
    Thu Apr 19 15:42:34 2007
    Private_strands 18 at log switch
    Thread 1 advanced to log sequence 217
    Current log# 4 seq# 217 mem# 0: /u02/ora/gridcontrol10g/oradata/emrep/redo04.log
    Thu Apr 19 16:52:05 2007
    LGWR: terminating instance due to error 472
    Instance terminated by LGWR, pid = 26049
    Thu Apr 19 17:27:08 2007
    I have no idea why this happen. is it because DB is ona VM machine?
    I remember one time whe I took a snapshot on VM server, grid control services are down for a moment, 4 minutes, WebCache seemed cleaned, this page is gone, after 3 minutes, it comes back.
    Anyone has the same issue, please share your experience.
    Thanks a lot,
    Hank
    Message was edited by:
    Hank@AHM

  • Application server Oracle 10g connectivity by using real IP

    I have configured the Oracle application server 10g on RHEL update 2 version. It is posible to connet from client pc by using LAN network. But it is not possible to connect from client pc by using real ip over internet.

    This is a network related problem. Quite likely a firewall issue. Nothing to do with the Oracle RDBMS product itself.
    The only Oracle related issue is the Oracle Listener. It listens for network connections to the IP addresses owned by that Oracle server platform. You can make it listen to only a single address (on a specific NIC). Or on a set or all IP addresses (all NICs) on that server.
    It does not care where the originating connection request comes from. If it is to a port and IP address it is listening on, it will accept that connection.
    Talk to your network admins.

  • Netweaver 2004S installation on Windows 2003 server : Oracle 10g Problem

    Hi Friends,
    I am installing the SAP Netweaver 2004s on a server which has Windows 2003 server Operating system  on it.
    It has got 6GB RAM  and  has, 5gb of free space in C drive, H: drive has 70 gb and I: drive has 50 GB of free space in it.
    I am running  Pre_requiste checker tool to check my hardware & software requirements in order to go ahead with installation, as a part of SAPInst.exe execution.
    The results of Prerequisite checker tool are satisfied  except for one  " SWAP SPACE VALUES"
    I am getting the message as follows
    "The Minimum SWAP SPACE values required is 10994MB and currently you have 5993MB"
    How to increase this SWAP space value? Please let me know the procedure.
    Currently my server has a paging file details as below : Min size : 2MB & Max size : 9214MB allocated on C: drive. No other drive has paging file allocation.
    What effect will I have if i proceed without meeting this requirement??
    Suitable answers will be rewarded.
    Thanks
    Diwakar

    OPen windows explorer and right click my computer
    Select Properties
    Click Advanced Tab
    Click Settings (performance)
    Select Advanced Tab
    In virtual memory - click change.
    Increase swap space/page file here.

  • Not able to start the listener in oracle 10g  after the domain name changed

    Hi
    I had installed the oracle 10g on zLinux. It was working fine( was able to mount the database and start the listener). Now my server's domain name got changed. So i have added the new domain name in the tnsnames.ora and listeners.ora file . now i could able to mount the databases but am not able to start the listener . whille starting the listener , am getting the following error
    oracle@ptcr4d00:~> lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 05-AUG-2009 10:31:05
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /opt/oracle/10g/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.2.0 - Production
    System parameter file is /opt/oracle/10g/network/admin/listener.ora
    Log messages written to /opt/oracle/10g/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PTCR4D00)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 104: Connection reset by peer
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PTCR4D00)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    I have posted the contents of the tnsnames.ora and listeners.ora
    TNSNAMES.ORA
    TC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PTCR4D00)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TC)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    LISTENERS.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/10g)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = PTCR4D00)(PORT = 1521))
    Could you please help me to resolve this issue ?
    Regards
    Mani

    Hi
    Please find the content of the /etc/hosts below
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #127.0.0.1 localhost
    9.124.114.49 PTCR4D00
    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback
    fe00::0 ipv6-localnet
    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    9.124.114.49 PTCR4D00 PTCR4D00
    Regards
    Mani

  • How do we find instance name in ORACLE 10g

    Hi All,
    How do we find SID name in Oracle 10g
    Thanks in advance
    Pandiarajan

    Apology accepted.
    But yes, of course I was harsh (not at you, actually, but at the plonker who thinks he can tell me that 'echo $something' is "not right").
    Do you know how many questions could be answered here if people weren't forever debating perfectly acceptable answers? If people actually stopped to read what had been written before deciding to add their tuppence-worth? If people stopped to think, "well, that's not how I would answer it... but it's good enough".
    I see so many threads here where 58 people dive in to a thread to say, 'Me too'. Another 42 will dive in to say, 'that's not right' when actually it is. And another 137 or so will usually chime in to say nothing very much except to demonstrate that they didn't understand something that was explained a lot earlier on quite clearly. Threads go on and on, when actually all that was sought originally was a simple answer to a technical issue. God knows why it happens.
    I have no problem at all being asked for clarification. I have no problem at all being corrected and having someone point out that actually that parameter doesn't exist, you made a typo, that's not the command to achieve X. When I am technically wrong, I would expect nothing less. But where so much of my time gets wasted is demonstrated in this thread perfectly. I answered the question in one post. It might not have been a perfect answer. There are many different ways of coming up with the answer on Windows, for example, and yet I didn't mention the registry at all or the Control Panel/System applet for checking environment variables once. And yet, despite all of that, in answer 1 there was sufficient information to make the OP happy. But no, that's not enough to shut some people up (and I am again not referring to you at this point).
    I don't know what it is. Some sense of, maybe, in a democracy my opinion is as good as yours even if it's entirely unnecessary, potentially confusing and adds absolutely nothing to the outcome? A desire on the part of some people to boost their post numbers?
    Too right I'm harsh. I am results-driven. I am here because I want to help others. Not because I think my opinions deserve a hearing even though the answer was posted ages ago. When I see something that looks like the opposite of that -grandstanding, look how clever I am, my opinion counts too- yeah, it annoys me somewhat. And largely because I usually end up having to untangle the confusion caused by unnecessary "contributions" from others.

  • ORA-12514 & Listener Status Instance status Unknown issue

    Dear All,
    Database Version - 10.2.0.5.0
    Operating System - Windows XP
    I am using Oracle 10g version, which has two services (bit10g and ora10g) installed on it.
    Service ora10g was working before upgradation of Database to 10.2.0.5.0 and it was fine.
    On upgradation I was unable to start and connect using ora10g so I created another that is bit10g.
    Service bit10g was working fine for quite a long time. The last I worked and connected was on thu and it was connecting with no issues.
    Now when I am trying to connect to database today I am unable to connect as I am getting
    ORA12514 - TNS:listener does not currently know of service.
    Secondly I tried to search forums which guided me to check the Listener Status.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Admin>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.5.0 - Production on 12-JAN-2013 11:42
    :54
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=toshiba-arif)(PORT=1521)
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.5.0 - Produ
    ction
    Start Date                12-JAN-2013 11:18:12
    Uptime                    0 days 0 hr. 24 min. 43 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\ora10g\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File         C:\ora10g\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=toshiba-arif)(PORT=1521)))
    Services Summary...
    Service "Oracle8" has 1 instance(s).
      Instance "bit10g", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyFollowing is my listener.ora file
    # listener.ora Network Configuration File: C:\ora10g\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = Oracle8)
          (SID_NAME = bit10g)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = toshiba-arif)(PORT = 1521))
      )Please note that I am a developer with no DBA exposure.
    So please guide me so that I will be able to resolve my issue.
    Thanks & Regards
    Arif Khadas

    Once again Thanks Paul for your quick response.
    I also have Oracle 9i installed on my machine but the service and Listener for 9i is stopped.
    Following is the tnsnames.ora for 9i
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    BIT10G =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = toshiba-arif)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bit10g)
    BIT_ORA9I =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IAS)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORA9I)
    ORA10G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = toshiba-arif)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora10g)
    ORA9I =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = toshiba-arif)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora9i)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = AH-IBM)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    CRCPROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.1.1.185)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = bridges)
    IAS_ORA10G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IAS)(PORT = 1522))
    (CONNECT_DATA =
    (SID = ORA10G)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    BIT_ORA10G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IAS)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORA10G)
    )

  • Cannot connect: ORA-12505 error (listener does not know SID..)

    I have an Oracle 10g installation insde a VM with private IP (192.168.109.128) and I'm trying to access it from the host operating system with aqua data studio, but get ORA-12505 error (listener does not currently know of SID...). The identical error occurs if I try to cennect from within the VM itself.
    "tnsping dbdemo" prints:
    ==================
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = VMDSINW2K3S)(PORT = 1521)) (CONNECT_DATA =
    (SERVER = DEDICATED) (SERVICE_NAME = dbdemo.datadsin)))
    OK (10 msec)
    and lsnrctl status:
    =============
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 12-MAR-2007 15:22:55
    Uptime 0 days 0 hr. 5 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VMDSINW2K3S)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    and the listener.log:
    ===============
    12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1325)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1327)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1328)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:45 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1331)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1335)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1336)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1338)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1339)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    my sqlnet.ora is:
    ============
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

    12514, 00000, "TNS:listener does not currently know of service requested in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a service name for a service (usually a database service)
    // that either has not yet dynamically registered with the listener or has
    // not been statically configured for the listener.  This may be a temporary
    // condition such as after the listener has started, but before the database
    // instance has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which services are currently known by the listener by executing:
    //    lsnrctl services <listener name>
    //  - Check that the SERVICE_NAME parameter in the connect descriptor of the
    //    net service name used specifies a service known by the listener.
    //  - If an easy connect naming connect identifier was used, check that
    //    the service name specified is a service known by the listener.
    //  - Check for an event in the listener.log file.

  • Listener could not resolve SID given in connect descriptor

    Hello,
    I have three servers : two with oracle 9.2.0.1 databases and one with application. I have a load balancer, with a virtual IP, that manage the connections to the databases. The two databases are the same. My application connects to the database via the virtual IP of the load balancer. When my application connects, I have the following error in the listener.log :
    13-JUL-2006 11:53:48 * (CONNECT_DATA=(SID=SSOSESS)(CID=(PROGRAM=NSora20.so)(HOST=ssops1)(USER=smuser))) * (ADDRESS=(PROTOCOL=tcp)(HOST=<my_ip>)(PORT=8409)) * establish * SSOSESS * 12505
    TNS-12505: TNS:listener could not resolve SID given in connect descriptor
    But, when I do an sqlplus request from the server of the application to the virtual IP of the databases, it works fine :
    13-JUL-2006 11:54:57 * (CONNECT_DATA=(SERVICE_NAME=SSOSESS)(CID=(PROGRAM=)(HOST=ssops1)(USER=smuser))) * (ADDRESS=(PROTOCOL=tcp)(HOST=<my_ip>)(PORT=8411)) * establish * SSOSESS * 0
    I have you got an idea of the cause of the error ?
    Thanks...
    Delphine

    The tnsnames.ora that my application uses iscorrect,
    I think :
    (SERVICE_NAME = SSOSESS)This does not say "SID=..." which was used in the
    failed connect attempt (per listener.log)?
    >
    Do you have several tnsnames.ora files, maybe?
    (search the drive/file systems)
    Maybe some app specific config?I don't have several tnsnames.ora. In my application, I have to setup the host name, the user, the password, the port and the sid.
    >
    Hm, I was sure sid/service_name from tnsnames.ora and
    listener services had to match but now I'm not...
    Dont have a setup to test in right now.
    What does lsnrctl serv output?I dit the lsnrctl command on my database server, and I had the following result :
    oracle@ssosess1$ lsnrctl services
    LSNRCTL for Solaris: Version 9.2.0.1.0 - Production on 13-JUL-2006 17:05:14
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ssosess1-frontend)(PORT=1521)))
    Services Summary...
    Service "SSOSESS" has 1 instance(s).
    Instance "SSOSESS1", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:32922 refused:0
    LOCAL SERVER
    Service "SSOSESS1" has 1 instance(s).
    Instance "SSOSESS1", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    >
    Message was edited by:
    orafadThanks again...

Maybe you are looking for