ORA-12505 error after setup tnsnames and listener properly.

Hello.
I'm having a very common issue. I can't connect using tnsnames on Windows 2003 server.
Facts.
1 - Tnsnames.ora file is properly set.
2 - Listener.ora file is properly set.
3 - tnsping works with no issues.
4 - Windows service is up and running.
However, I'm getting this error.
C:\Documents and Settings\sabreadm>sqlplus lps/first1@lm3dprd1
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 24 12:32:26 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12505: TNS:listener does not currently know of SID given in connect
descriptor
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
listener.ora file content
# listener.ora Network Configuration File: D:\Apps\oracle\network\admin\listener.ora
# Generated by Oracle configuration tools.
TRACE_LEVEL_LISTENER = USER
TRACE_DIRECTORY_LISTENER = D:\Apps\oracle\NETWORK\ADMIN
LOG_FILE_LISTENER = listener.log
LOG_DIRECTORY_LISTENER = D:\Apps\oracle\NETWORK\ADMIN
TRACE_FILE_LISTENER = listener.trc
MAX_REG_CONNECTIONS_LISTENER = 3000
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.58.44)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = lm3dtst1)
(ORACLE_HOME = D:\Apps\oracle)
(SID_DESC =
(SID_NAME = lm3dprd1)
(ORACLE_HOME = D:\Apps\oracle)
tnsnames.ora file content.
# tnsnames.ora Network Configuration File: D:\Apps\oracle\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
lm3dtst1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = 192.168.58.44)
(Port = 1521)
(CONNECT_DATA =
(SID = lm3dtst1
(GLOBAL_NAME = lm3dtst1)
lm3dprd1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = 192.168.58.44)
(Port = 1521)
(CONNECT_DATA =
(SID = lm3dprd1
(GLOBAL_NAME = lm3dprd1)
Any advice will be highly appreciated.
Thanks.
Alex.

Alex,
Next time when you post code or output or any configuration, enclose them between \ tags to preserve formatting
   Your code or output \h4.  Anyway, modify your tnsnames.ora file on your client machine and add this lm3dprd1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.58.44)(PORT = 1521))
(CONNECT_DATA =
(SERVER = dedicated)
(SERVICE_NAME = lm3dprd1)
(INSTANCE_NAME=lm3dprd1)
Regards
OrionNet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • ORA-12535 error but TNSPing Works and listener logs connection

    We recently migrated our firewall and then started seeing this problem for users outside of our own subnet. However, although the user gets this error when launching the application, the workstation is able to TNSPing the server successfully and listener.log does log the connection.
    I was hoping someone might have some ideas or suggestions as to what might be causing the error despite the apparent connectivity to the database.
    Thanks in advance.

    Thanks so much for the suggestions.
    1. telnet <host> 1521 connects
    2. sqlplus <username>/<pwd>@<instance> returns the ORA-12535 error
    Finally, the sqlnet.log on the client side doesn't log anything when launching the application so I have no information as to what exactly is occurring at that point. However, the sqlplus command above logged the following:
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 26-JAN-2007 08:43:41
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 60
    nt OS err code: 0
    I've been doing more research on this -- please note that I'm not an Oracle dba so I am just getting familiar with lots of things -- and have learned that user connect requests come in through 1521 but are then randomly redirected to other ports. Given the new firewall, I'm wondering if it's an issue that the random ports being selected aren't open for the users outside of our subnet. Does this sound like a plausible explanation? If so, how do administrators generally handle this -- by opening the necessary ports on the firewall? Is there some other standard approach?
    Again, thanks so much for any assistance you can provide.

  • 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.

  • ORA-12505 error help needed

    I have 10g on my laptop and tyring to connect to my local db on Laptop via TOAD and gives me error ORA-12505.
    here is my TNSNAMES.ORA file:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    EZAUDIT.2020LLC.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2020-5056)(PORT = 1521))
    (CONNECT_DATA =
    (SID = EZAUDIT)
    here is my LISTENER.ORA file:
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2020-5056)(PORT = 1521))
    "2020-5056" is my hostname of laptop.
    "EZAUDIT" is my SID name, which is the local DB name.
    Don't know what's going on. It was working fine for last 2 months, all of a sudden last 3-4 days i am having this issue. My Listener name is "LISTENER"
    If I change the SID = EZAUDIT to SERVICEf_NAME = EZAUDIT in my TNSNAMES.ORA file then the error I get is ORA-12514. Don't know what the issue. Please let me know ASAP, have to finish the project by next week.
    APPRCIATE your hlp.
    THANKS,
    Kas

    result of the lsnrctl services:
    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-JUL-2006 12:27
    :59
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=2020-5056)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    SQLNET.ORA file:
    # 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)
    Thanks,
    Kas

  • Changin from IPs to hostnames in tnsnames and listener heads to TNS-12541

    Hello.
    In order to prevent problems and extrawork in future with planned IP changes, i want to change the tnsnames and listener.ora server configuration files.
    Now they are using the IP in the HOST parameter, and I want to use the hostname. But it doesnt works:
    TNSNAMES.ORA:
    VCSBD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = 62.37.231.78)(PORT = 1524))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = vcsbd)
    LISTENER.ORA:
    LISTENER_VCSBD=
            (ADDRESS_LIST=
                    (ADDRESS=
                            (PROTOCOL=tcp)
                            (HOST=62.37.231.78)
                            (PORT=1524)
                    (ADDRESS=
                            (PROTOCOL=ipc)
                            (KEY=vcsbd)
    SID_LIST_LISTENER_VCSBD=
            (SID_LIST=
                    (SID_DESC=
                            (GLOBAL_DBNAME=vcsbd)
                            (SID_NAME=vcsbd)
                            (SERVICE_NAME=vcsbd)
                            (ORACLE_HOME=/usr/oracle/product/11.2.0)
    TESTING: --
    $ tnsping vcsbd
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 05-OCT-2012 13:32:30
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Archivos de parámetros utilizados:
    /usr/oracle/product/11.2.0/network/admin/sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Intentando contactar con (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST = 62.37.231.78)(PORT = 1524)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = vcsbd)))
    Realizado correctamente (0 mseg)I want to change the HOST parameter to server hostname, in order to make oracle resolve the hostname from the /etc/hosts.
    But wen I change it, I get TNS-12541 errors when tnsping. Ping works, but tnsping not.
    updating TNSNAMES:
    VCSBD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = servervcs)(PORT = 1524))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = vcsbd)
    updating LISTENER.ORA
    LISTENER_VCSBD=
            (ADDRESS_LIST=
                    (ADDRESS=
                            (PROTOCOL=tcp)
                            (HOST=servervcs)
                            (PORT=1524)
                    (ADDRESS=
                            (PROTOCOL=ipc)
                            (KEY=vcsbd)
    SID_LIST_LISTENER_VCSBD=
            (SID_LIST=
                    (SID_DESC=
                            (GLOBAL_DBNAME=vcsbd)
                            (SID_NAME=vcsbd)
                            (SERVICE_NAME=vcsbd)
                            (ORACLE_HOME=/usr/oracle/product/11.2.0)
    TESTING: ---
    $ cat /etc/hosts:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               servervcs localhost.localdomain localhost
    62.37.231.78            servervcs
    #62.37.231.68           servervcs
    ::1             localhost6.localdomain6 localhost6
    $ lsnrctl reload LISTENER_VCSBD
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 05-OCT-2012 13:37:05
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Conectándose a (ADDRESS=(PROTOCOL=tcp)(HOST=servervcs)(PORT=1524))
    TNS-12541: TNS:no hay ningún listener
    TNS-12560: TNS:error del adaptador de protocolo
      TNS-00511: No hay ningún listener
       Linux Error: 111: Connection refused
    Conectándose a (ADDRESS=(PROTOCOL=ipc)(KEY=vcsbd))
    El comando ha terminado correctamente
    $ lsnrctl status LISTENER_VCSBD
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 05-OCT-2012 13:37:12
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Conectándose a (ADDRESS=(PROTOCOL=tcp)(HOST=servervcs)(PORT=1524))
    TNS-12541: TNS:no hay ningún listener
    TNS-12560: TNS:error del adaptador de protocolo
      TNS-00511: No hay ningún listener
       Linux Error: 111: Connection refused
    Conectándose a (ADDRESS=(PROTOCOL=ipc)(KEY=vcsbd))
    LISTENER STATUS
    Alias                     LISTENER_VCSBD
    Versión                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Fecha de Inicio       28-MAY-2012 12:04:16
    Tiempo Actividad   130 días 1 hr. 32 min. 56 seg.
    Nivel de Rastreo        off
    Seguridad               ON: Local OS Authentication
    SNMP                      OFF
    Parámetros del Listener   /usr/oracle/product/11.2.0/network/admin/listener.ora
    Log del Listener          /usr/oracle/diag/tnslsnr/efacturaES-BD1/listener_vcsbd/alert/log.xml
    Recibiendo Resumen de Puntos Finales...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=62.37.231.78)(PORT=1524)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=vcsbd)))
    Resumen de Servicios...
    El servicio "vcsbd" tiene 2 instancia(s).
      La instancia "vcsbd", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
      La instancia "vcsbd", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "vcsbdXDB" tiene 1 instancia(s).
      La instancia "vcsbd", con estado READY, tiene 1 manejador(es) para este servicio...
    El comando ha terminado correctamente
    $ ping servervcs
    PING servervcs (127.0.0.1) 56(84) bytes of data.
    64 bytes from servervcs (127.0.0.1): icmp_seq=1 ttl=64 time=0.017 ms
    64 bytes from servervcs (127.0.0.1): icmp_seq=2 ttl=64 time=0.013 ms
    --- servervcs ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 999ms
    rtt min/avg/max/mdev = 0.013/0.015/0.017/0.002 ms
    $ tnsping vcsbd
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 05-OCT-2012 13:32:33
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Archivos de parámetros utilizados:
    /usr/oracle/product/11.2.0/network/admin/sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Intentando contactar con (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST = servervcs)(PORT = 1524)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = vcsbd)))
    TNS-12541: TNS:no hay ningún listenerAny clue?
    what i'm doing wrong? what did I forget?
    Regards
    Edited by: elvegaa_esp on 05-oct-2012 4:48

    Sure
    $ echo $HOSTNAME
    AOC-BD1
    $ /sbin/ifconfig
    eth0      Link encap:Ethernet  HWaddr **:**:**:**:**:**
              inet addr:192.168.76.8  Bcast:192.168.76.255  Mask:255.255.255.0
              inet6 addr: fe80::221:85ff:fe35:74c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:281062361 errors:0 dropped:0 overruns:0 frame:0
              TX packets:68084207 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1817935227 (1.6 GiB)  TX bytes:3856945523 (3.5 GiB)
              Base address:0x3000 Memory:dfb40000-dfb60000
    eth0:1    Link encap:Ethernet  HWaddr **:**:**:**:**:**
              inet addr:192.168.76.10  Bcast:192.168.76.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0x3000 Memory:dfb40000-dfb60000
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:210984342 errors:0 dropped:0 overruns:0 frame:0
              TX packets:210984342 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:3935512631 (3.6 GiB)  TX bytes:3935512631 (3.6 GiB)
    $ cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               AOC-BD1 localhost.localdomain
    192.168.76.8            AOC-BD1 localhost.localdomain
    $ cat /usr/oracle/product/10.2.0/network/admin/tnsnames.ora
    AOC-BD1_AOCPROD_HN=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=AOC-BD1)(Port=1521)))(CONNECT_DATA=(service_name=aoc-bd1_aocprod)(INSTANCE_NAME=aocprod)(SID=aocprod)))
    $ cat /usr/oracle/product/10.2.0/network/admin/listener.ora
    listener_aoc-bd1_aocprod=
       (ADDRESS_LIST=
          (ADDRESS=
              (PROTOCOL=tcp)
              (HOST=AOC-BD1)
              (PORT=1521)
         (ADDRESS=
              (PROTOCOL=ipc)
              (KEY=aoc)
    SID_LIST_listener_aoc-bd1_aocprod=
       (SID_LIST=
          (SID_DESC=
               (GLOBAL_DBNAME=aoc-bd1_aocprod)
               (SID_NAME=aocprod)
               (SERVICE_NAME=aocprod)
               (ORACLE_HOME=/usr/oracle/product/10.2.0)
    STARTUP_WAIT_TIME_listener_aoc-bd1_aocprod=0
    CONNECT_TIMEOUT_listener_aoc-bd1_aocprod=0
    $ lsnrctl status listener_aoc-bd1_aocprod
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 08-OCT-2012 13:20:17
    Copyright (c) 1991, 2006, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=AOC-BD1)(PORT=1521))
    STATUS of the LISTENER
    Alias                     listener_aoc-bd1_aocprod
    Version                   TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Start Date                17-DEC-2011 09:49:05
    Uptime                    248 days 13 hr. 13 min. 56 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /usr/oracle/product/10.2.0/network/admin/listener.ora
    Listener Log File         /usr/oracle/product/10.2.0/network/log/listener_aoc-bd1_aocprod.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=AOC-BD1)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=aoc)))
    Services Summary...
    Service "aoc-bd1_aocprod" has 1 instance(s).
      Instance "aocprod", status UNKNOWN, has 1 handler(s) for this service...
    Service "aocprod" has 1 instance(s).
      Instance "aocprod", status READY, has 1 handler(s) for this service...
    Service "aocprodXDB" has 1 instance(s).
      Instance "aocprod", status READY, has 1 handler(s) for this service...
    Service "aocprod_XPT" has 1 instance(s).
      Instance "aocprod", status READY, has 1 handler(s) for this service...
    The command completed successfully
    $ tnsping AOC-BD1_AOCPROD_HN
    TNS Ping Utility for Linux: Version 10.2.0.3.0 - Production on 08-OCT-2012 13:20:37
    Copyright (c) 1997, 2006, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=AOC-BD1)(Port=1521)))(CONNECT_DATA=(service_name=aoc-bd1_aocprod)(INSTANCE_NAME=aocprod)(SID=aocprod)))
    OK (0 msec)

  • Windows 7 becoming corrupt after "Setup Windows and ConfigMgr" step

    Hey all,
    Redid my reference images and now I got an issue with several machines I tried doing bare metal OSD on. 
    The TS aborts somehow, it still thinks it's running, after Setup Windows and ConfigMgr. After that step it reboots and I'm greeted with a weird Win 7 logon screen where the font kinda looks like Windings (the font folder on the machine is almost empty, that's
    why).
    Looked at the ccmsetup log. This error is listed: http://social.technet.microsoft.com/Forums/en-US/ee4e31cd-d456-44f4-a980-6a785d393d84/ccmsetup-failed-with-error-code-0x80040154-in-ccmsetuplog?forum=configmanagerdeployment
    The log also complains about BITS, too low version to be able to install ConfigMgr. But obviously Win 7 contains BITS v 4, so I don't get what happens.
    None of the apps I install in the reference image build I'm able to start (IE 10, Office apps), Office is not even listed in Add/Remove Programs.
    I have redone the reference images two times, once in plain MDT 2013 and once in SCCM. 
    The error is inconsistent. It happens most frequently on Dell Precision T1700 machines, but not always. Sometimes there's no error when installing the ConfigMgr client and I don't get any font issues, but I still can't start Office apps or IE 10. This is driving
    me mad.
    ccmsetup.log and smsts.log files are here if anyone wants to take a look: http://1drv.ms/1ETazJx
    Please help!

    You may have a similar issue we had. When we upgraded to R2, and updated our boot images from WinPE 4.0 to WinPE 5.0 we came across a bug with DISM. Our machines would get to the Setup Windows and ConfigMgr step and hang on a black screen/white cursor. After
    working with Microsoft for a few weeks we found using a x64 boot image resolved our issue deploying Windows 7 x64. 
    Can you try recreating your x86 boot image and if that does not work try creating x64?
    Daniel Ratliff | http://www.PotentEngineer.com
    For me, using a x64 boot image solved the problem. Why I don't know. I created a new x64 MDT boot image and task sequence and tested all newly captured wims on several different models, with different settings, and I couldn't reproduce the problem.
    Then I tested the old task sequence (basically only difference is that it uses x86 boot image) and the first deployment went fine. The next one gave me the ccmsetup/windings font error again.
    Thanks for your help! I'm also very eager to hear what Microsoft came up with during your support ticket.

  • TNS-12560 and ORA-12505 error

    Hi
    I have a debian based server, running with no problem Oracle XE for months.
    But now my server is getting a new ip address, after that my oracle-xe doesn't work well.
    When i try to connect to it i get: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor.
    I try to tnsping the XE service:
    tnsping XE
    the answer is: TNS-12560: TNS:protocol adapter error
    What can i do?
    Should i register the new IP address? If it, where can i configure it?
    Or what is wrong?
    Thanks for any help and sorry for my English!

    Paul M. wrote:
    $ lsnrctl statThen, depending on how it's configured, you may need to change tnsnames.ora file, in $ORACLE_HOME/network/admin.Just to add to this (since the issue is resolved):
    A TNS-12560 usuallly indicates that the listener can not start up correctly because of a hostname or an IP address problem. That may be due to resolution (bind, DNS or /etc/hosts) or the listener configuration.
    If the problem is in the listener configuration, the change must be in the listener.ora file (in the above directory).
    If the listener is OK, and the problem is in the client end (usually a TNS-12154) they "tnsnames.ora" needs to be adjusted.

  • Automatic renaming hostname in tnsnames and listener.ora

    Is it realy not possible to change hostname automaticly in TNSNAMES.ORA and LISTENER.ORA after installing an image-CD with Windows XP and Oracle11GR1. In Windows , there is a SID Change Tool and in Oracle?
    Thank's for your help !
    René

    Again, take a look at running "netca /silent ..." with a response file.
    Another (perhaps better) option would be to burn a cd with a software only install and that upon "activation" would then run a dbca noninteractive session to configure a database (I assume you want one, mentioning listener.ora).

  • Standby ORA-12505 error

    I have tried to create the standby without the DG broker .However , I am getting this error in alert log at primary which I am not able to resolve.
    PING[ARC6]: Heartbeat failed to connect to standby 'to_standby'. Error is 12505.
    Mon Jul 04 12:41:35 2011
    Error 12505 received logging on to the standby
    Mon Jul 04 12:41:35 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc6_1904.trc:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    PING[ARC6]: Heartbeat failed to connect to standby 'to_standby'. Error is 12505.
    Pfile of Primary Server
    *._B_TREE_BITMAP_PLANS=FALSE
    *._IN_MEMORY_UNDO=FALSE
    *._INDEX_JOIN_ENABLED=FALSE
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *._OPTIMIZER_MJC_ENABLED=FALSE
    *._SORT_ELIMINATION_COST_RATIO=10
    *._TABLE_LOOKUP_PREFETCH_SIZE=0
    *.archive_lag_target=0
    *.background_dump_dest='D:\oracle\P11\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='D:\oracle\P11\origlogA\cntrl\cntrlP11.dbf','D:\oracle\P11\origlogB\cntrl\cntrlP11.dbf','D:\oracle\P11\sapdata1\cntrl\cntrlP11.dbf'
    *.core_dump_dest='D:\oracle\P11\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=260938137
    *.db_files=254
    *.db_name='P11'
    *.db_unique_name='P11_primary'
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FAL_Client='to_primary'
    *.FAL_Server='to_standby'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.104)(PORT = 1521))'
    *.log_archive_config='dg_config=(P11_disaster,P11_primary)'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_primary'
    *.log_archive_dest_2='SERVICE=to_standby LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_disaster'
    *.log_archive_dest_state_1='enable'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=10
    *.log_archive_min_succeed_dest=1
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.parallel_execution_message_size=16384
    *.pga_aggregate_target=347917516
    *.processes=80
    *.query_rewrite_enabled='false'
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.replication_dependency_tracking=false
    *.sessions=96
    *.sga_max_size=521876275
    *.shared_pool_reserved_size=26093813
    *.shared_pool_size=300938137
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='true'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
    Pfile of Standby Server
    *._B_TREE_BITMAP_PLANS=FALSE
    *._IN_MEMORY_UNDO=FALSE
    *._INDEX_JOIN_ENABLED=FALSE
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *._OPTIMIZER_MJC_ENABLED=FALSE
    *._SORT_ELIMINATION_COST_RATIO=10
    *._TABLE_LOOKUP_PREFETCH_SIZE=0
    *.background_dump_dest='D:\oracle\P11\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='D:\oracle\P11\origlogA\cntrl\control01.ctl','D:\oracle\P11\origlogB\cntrl\control02.ctl','D:\oracle\P11\sapdata1\cntrl\control03.ctl'
    *.core_dump_dest='D:\oracle\P11\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=155870822
    *.db_files=254
    *.db_name='P11'
    *.db_unique_name='P11_disaster'
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FAL_Client='to_standby'
    *.FAL_Server='to_primary'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.102)(PORT = 1521))'
    *.log_archive_config='DG_CONFIG= (P11_primary, P11_disaster)'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_disaster'
    *.log_archive_dest_2='SERVICE=to_primary LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_primary'
    *.log_archive_dest_state_1='enable'
    *.log_archive_dest_state_2='enable'
    *.log_archive_max_processes=10
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.parallel_execution_message_size=16384
    *.pga_aggregate_target=207827763
    *.processes=80
    *.query_rewrite_enabled='false'
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.replication_dependency_tracking=false
    *.sessions=96
    *.sga_max_size=311741644
    *.shared_pool_reserved_size=15587082
    *.shared_pool_size=300870822
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='true'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
    TNSnames of Primary File
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    P11.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11.WORLD)
    TO_STANDBY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_DISASTER.WORLD)
    TO_PRIMARY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_PRIMARY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
    Listener.ora of Primary
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = P11)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = prod104)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    Tnsnames.ora of Standby
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    P11.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11.WORLD)
    TO_STANDBY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_STANDBY.WORLD)
    TO_PRIMARY.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_PRIMARY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.102)(port= 1527))
    Listener.ora of Standby
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = P11)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    Please advice.
    Regards
    Edited by: dharm.singh on Jul 4, 2011 12:33 AM

    It is working now after adding this entry
    SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(SID_NAME=P11)(ORACLE_HOME=D:\oracle\P11\102))) and also able to connect to primary to standby.
    using command
    sqlplus sys/****@to_standby as sysdba
    However , the Primary alter log is showing many errors
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Jul 04 14:56:05 2011
    SMON: enabling cache recovery
    Mon Jul 04 14:56:07 2011
    Incremental checkpoint up to RBA [0x3e4.3.0], current log tail at RBA [0x3e4.3.0]
    Mon Jul 04 14:56:08 2011
    Error 1033 received logging on to the standby
    Mon Jul 04 14:56:08 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc0_1532.trc:
    ORA-01033: ORACLE initialization or shutdown in progress
    Mon Jul 04 14:56:08 2011
    LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
    Error 1033 received logging on to the standby
    Mon Jul 04 14:56:08 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_lns1_400.trc:
    ORA-01033: ORACLE initialization or shutdown in progress
    LGWR: Error 1033 creating archivelog file 'to_standby'
    LNS: Failed to archive log 2 thread 1 sequence 996 (1033)
    Mon Jul 04 14:56:08 2011
    FAL[server, ARC0]: Error 1033 creating remote archivelog file 'to_standby'
    FAL[server, ARC0]: FAL archive failed, see trace file.
    Mon Jul 04 14:56:09 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc0_1532.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Mon Jul 04 14:56:09 2011
    Successfully onlined Undo Tablespace 1.
    Mon Jul 04 14:56:09 2011
    SMON: enabling tx recovery
    Mon Jul 04 14:56:10 2011
    Database Characterset is UTF8
    Starting background process QMNC
    QMNC started with pid=26, OS id=180
    Mon Jul 04 14:56:16 2011
    Completed: ALTER DATABASE OPEN
    Mon Jul 04 14:57:00 2011
    Shutting down archive processes
    Mon Jul 04 14:57:05 2011
    ARCH shutting down
    ARCa: Archival stopped
    Mon Jul 04 15:02:06 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc2_500.trc:
    ORA-16143: RFS connections not allowed during or after terminal recovery
    Mon Jul 04 15:02:06 2011
    PING[ARC2]: Heartbeat failed to connect to standby 'to_standby'. Error is 16143.
    p11arc0_1532.trc log file_
    Dump file d:\oracle\p11\saptrace\background\p11_lns1_400.trc
    Mon Jul 04 14:56:04 2011
    ORACLE V10.2.0.2.0 - 64bit Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 2 - type 8664, 1 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:2627M/3319M, Ph+PgF:9964M/11161M
    Instance name: p11
    Redo thread mounted by this instance: 1
    Oracle process number: 26
    Windows thread id: 400, image: ORACLE.EXE (LNS1)
    *** SERVICE NAME:() 2011-07-04 14:56:03.968
    *** SESSION ID:(73.1) 2011-07-04 14:56:03.968
    *** 2011-07-04 14:56:03.968 57032 kcrr.c
    LNS1: initializing for LGWR communication
    LNS1: connecting to KSR channel
    Success
    LNS1: subscribing to KSR channel
    Success
    *** 2011-07-04 14:56:04.031 57085 kcrr.c
    LNS1: initialized successfully ASYNC=1
    Destination is specified with ASYNC=61440
    *** 2011-07-04 14:56:08.203 70857 kcrr.c
    Sending online log thread 1 seq 996 [logfile 2] to standby
    Opening logfile [logno 2]
    LGWR: Archivelog for thread 1 sequence 996 will NOT be compressed
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1033 and errmsg is 'ORA-01033: ORACLE initialization or shutdown in progress
    *** 2011-07-04 14:56:08.812 60639 kcrr.c
    Error 1033 received logging on to the standby
    Error 1033 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'to_standby'
    Error 1033 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'to_standby'
    ORA-01033: ORACLE initialization or shutdown in progress
    *** 2011-07-04 14:56:08.843 60639 kcrr.c
    LGWR: Error 1033 creating archivelog file 'to_standby'
    *** 2011-07-04 14:56:08.859 58901 kcrr.c
    kcrrfail: dest:2 err:1033 force:0 blast:1
    *** 2011-07-04 14:56:11.296
    *** 2011-07-04 14:56:11.296 70857 kcrr.c
    Sending online log thread 1 seq 996 [logfile 2] to standby
    Opening logfile [logno 2]
    LGWR: Archivelog for thread 1 sequence 996 will NOT be compressed
    *** 2011-07-04 14:56:11.796 70982 kcrr.c
    Shutting down [due to no more ASYNC destination]
    LNS1: Doing a channel reset for next time around...
    Edited by: dharm.singh on Jul 4, 2011 2:31 AM

  • ORA-12505 error with oracle 11.2.0.2 RAC Grid

    Hi,
    We have just installed Oracle 11.2.0.2 with oracle clusterware. Every thing went well during the installation, How ever after install we can not connect to the RAC instance from clients, through jdbc OR oracle sql developer.
    We get following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor.
    After the installation we created service (myrac) through OEM Cluster Managed Database Services tab. and We are using service name as following:
    jdbc:oracle:thin:@orap-cluster.mydomain.com:1521:myrac
    Here below is Service TNS string:
    myrac = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = orap-cluster.mydomain.com)(PORT = 1521))(LOAD_BALANCE = YES)(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = myrac)))
    Any help..??
    Cheers

    HI,
    to clarify:
    if you try with
    <SERVER>:<PORT>:<SID> you are accessing the server with a database SID, whereas
    <SERVER>:<PORT>/<SERVICE> will access a service.
    The SCAN Listener only know of services, and not of database SIDs.
    This is the reason you should always create separate services for your RAC databases, since only they are registered. If you connect via. a service the listener will forward you to (one of) the corresponding instances servicing the service.
    Database SIDs are only known to the local listener on the node (not to the SCAN listener). And SIDs actually should not be used anymore.
    However if you still need to access the SID you can use the virtual hostname of the server resp. the VIP address of the server in the connection and this will work:
    <VIP>:<PORT>:<SID>
    Note the SID of a RAC database is either myrac1 or myrac_1 (depending on administrator or policy managed database).
    I still would recommend using services and not SIDs.
    Furthermore the SCAN can only be resolved correctly by 11.2 clients.
    Any pre 11.2 client should use an address_list containing the SCAN VIPs:
    PRE112 =
    (DESCRIPTION =
    (LOAD_BALANCE=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.41)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.42)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.43)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pre112)
    If a application server does not understand / then try using the TNSNAMES entry directly:
    jdbc:oracle:thin:@(DESCRIPTION = (LOAD_BALANCE=ON)(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.41)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.42)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.43)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = pre112)))
    Hope that helps
    Regards
    Sebastian

  • Error: ORA-12505, error when i want to change database in webaccess.

    Hello
    I want to change the database for webaccess. I use a database in MS Sql Server now. for that I choose "Database Configuration Setup" from the Start menu,
    Programs, Oracle - Primavera P6> Primavera P6 Web Access Utilities . I open this tool and in the 1st step I select Oracle in the 2nd step I entered the below informationusername and passsword: admuser
    database name: pmdb (I create this database before and I tested that successfully in P6)
    Database Host Address: *127.0.0.1*
    Database Host Address: 1521 (I'm sure the port is 1521)
    I didn't select SSL and Public Group ID set to 1
    after i click on next one error returned that "ORA-12505, TNS:listener does not currently know of SID given in ..."
    I added XE as SID before database name and correct database name to XE:PMDB. but I below error returned:
    Error:Unable to resolve privileged username and password
    Invalid connection string
    format, a valid form at is: "host :port:sid"
    Please verify the information you entered.

    wow, I found the solution.
    you must set database name as XE
    correct information are as below:
    username and passsword: admuser
    database name: XE
    Database Host Address: *127.0.0.1*
    Database Host Address: *1521*
    then click next.

  • Ora 12505 error in Sql developer

    can any one help.... when i was about to create a table in oracle sql developer i got error mesg ora 12505 listener refused the connection... tns doesnt respond

    892111 wrote:
    can any one help.... when i was about to create a table in oracle sql developer i got error mesg ora 12505 listener refused the connection... tns doesnt respond
    12505, 00000, "TNS:listener does not currently know of SID given 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 SID for an instance (usually a database instance) 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 instances are currently known by the listener by executing:
    //    lsnrctl services <listener name>
    //  - Check that the SID parameter in the connect descriptor specifies
    //    an instance known by the listener.
    //  - Check for an event in the listener.log file.

  • Change Archive Log Mode, Restart instance, show ORA-12505 error!!!

    We are still use Oracle 9i.
    Now we want to use Symantec Backupexec 12 to backup oracle 9i.
    In accordance with Backupexec's requirements. must change recovery mode to Archive Log Mode.
    I use the Enterprise manager console to change it. and select restart immediately.
    a error message be display in the step 2 (starting up the database). see below
    ORA-12505: TNS:listener could not resolve SID given in connect descriptor
    I'm a new oracle user. Hope you give me some suggestion.
    THK.

    If database is down, then start it up directly login to server and
    sqlplus "/ as sysdba"
    startup;
    Read this thread for first:
    Re: ORA-12505, TNS:listener does not currently know of SID given in connect
    The main problem is Your listner doesn't know the sid in connect descriptor.
    Check
    lsnrctl services
    and look in tnsnames.ora file - is there such sercive defined in Your connection description.
    issue tnsping in order to check is it able to read and connect correctly tnsnames.ora entry.

  • Failed to sqlplus into ASM  with the notorious ORA-12505 error

    Hi guys,
    I have a 2-node RAC testing environment and i have been having trouble trying to LOCALLY sqlplus into the ASM instance.
    If I do "sqlplus sys/xxxxx@asm1", it just throws "ORA-12505:TNS: listener does not currently know of SID given in connect descriptor".
    If I do "sqlplus / as SYSASM", it says "ORA-01031: insufficient privileges".
    Can' figure out where I did wrong so really appreciate some help here (maybe in the listener file, i should give the GRID home for one of the ORACLE_HOME parameters)?
    Here is the tns and listener file:
    tnsnames.ora:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vbox-cluster)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    ASM1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vbox-cluster)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = +ASM1)
    listener.ora:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line a
    dded by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    SID_LIST_LISTENER_ASM=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtProc)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=extproc)
    (SID_DESC=
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME=+ASM1)
    )

    user11957149 wrote:
    Hi guys,
    I have a 2-node RAC testing environment and i have been having trouble trying to LOCALLY sqlplus into the ASM instance.
    If I do "sqlplus sys/xxxxx@asm1", it just throws "ORA-12505:TNS: listener does not currently know of SID given in connect descriptor".
    If I do "sqlplus / as SYSASM", it says "ORA-01031: insufficient privileges".
    Can' figure out where I did wrong so really appreciate some help here (maybe in the listener file, i should give the GRID home for one of the ORACLE_HOME parameters)?
    Here is the tns and listener file:
    tnsnames.ora:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vbox-cluster)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    ASM1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vbox-cluster)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = +ASM1)
    listener.ora:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line a
    dded by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    SID_LIST_LISTENER_ASM=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtProc)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=extproc)
    (SID_DESC=
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME=+ASM1)
    )with regard to ASM instance, it is NEVER "online"
    There is never any requirement to connect to ASM instance via SQL*Net.
    Log onto DB Server directly & just start ASM instance

  • ORA-12154 Error After Install of Enterprise Manager

    I have a new new laptop with minimal software installed. Everything was fine and I was able to connect to 4 different Oracle 9i databases.
    This morning I installed Oracle Enterprise Manager (10g) and now I get the dreaded ORA-12154 error.
    I now find a copy of TNSNAMES.ORA in three places. I have copied the correct version to the two new 10G locations and I have verified that all three copies of TNSNAMES.ORA and SQLNET.ORA are correct and identical.
    Do anybody have any idea what else could be wrong?

    I am certain the TNSNAMES.ORA file is fine as it is "pushed" from a central IT department. I have compared it to the one on a second computer (which has only 9i installed) in my office and they are identical.
    I examined the Oracle 9i directories and there was no LISTENER.ORA anywhere. On the 9i only computer the command - C:\>dir listener.ora /s /p executed in a DOS window returned no files.
    Everything was working fine until I installed Enterprise Manager 10g (10.2.0.2.1).
    I have TOAD installed and it connects to both of the 9i development and production databases, so I know the TNSNAMES.ORA is okay.
    It woudl seem that there is a conflict between 10g and 9i Developer/2000.

Maybe you are looking for

  • Pop up based on selected rows

    Hi, I have a multi-row select report with checkboxes. I would like to have it so you can check off your desired rows and click a button to have another window popup with the row information displayed in a different layout. The reason I am doing this

  • Unable to access files on Windows 7 computer from Windows 8.1 computer

    I have a Windows 7 desktop and a Windows 8.1 laptop.  Both connect wirelessly to the internet via my Home Hub.  Because the desktop is my main repository of documents / pictures etc. I want to be able to access them from the laptop, but despite spend

  • OS X 10.10.1 installer says the requirement for the update does not meet

    Greetings. I noticed the auto update setting of my MacBook Air had been not working for a month or so today. So I tried to manually update OS X 10.10.1 (released Nov 17, 2014) and got this message from the installer: "OS X Update can't be installed o

  • Possible to install fire wire card on Envy j157cl laptop

    I have a HP Envy 17 j157cl laptop that I plan to use as adedicated video editing platform. The only problem is that it doesnot have an I.link (hot wire) connector, only usb connectors. I have found a cable with USB terminal at one end and fire wire a

  • Linked text boxes and flowing text in iBooks Author

    Flowing text from 1 text box to another works perfectly and pages are automatically added when needed, but what happen if you need 2 separated flowing text boxes? For example one with italian text on the left side and one for english on the right sid