ORA-12519...shared/dedicated

Hi,
I installed oracle 10g express edition. I need to access the database from two machines using different users. However, the second user can not access the database and get the following error:
Caused by: java.sql.SQLException: [tibcosoftwareinc][Oracle JDBC Driver][Oracle]
ORA-12519 The listener could not find any available service handlers that are ap
propriate for the client connection. One possible cause for this error is that t
he server was not configured for the specified server type (shared/dedicated).
I have read the documentation on http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10739/manproc.htm.
I have tried the following:
1. Change (SERVER = DEDICATED) to (SERVER = SHARED) in tnsnames.ora.
2. Change
dispatchers="(PROTOCOL=TCP) (SERVICE=XE)(DISPATCHERS=50)"
shared_servers=50
in
SPFILE='C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora' (This line is in initXE.ora).
But I still get the same error. What could be the issue?
Thank you for your help in advance.
Shuwen

This should work with dedicated servers, you don't need to setup shared servers. Check that the XE instance has registered against the listener, and it allows incoming connections. This could be due to another reason different from the connectivity issue. Check the alertXE.log and find out if there are other error messages listed there.
~ Madrid

Similar Messages

  • ORA-27101: shared memory realm does not exist urgent cannot connect

    Hi i can't succeed connectivity test with netmgr
    Initializing first test to use userid: scott, password: tiger
    Attempting to connect using userid: scott
    The test did not succeed.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    There may be an error in the fields entered,
    or the server may not be ready for a connection.
    Here is what i get from tcpdump:
    0x00a0: 5241 2d30 3130 3334 3a20 4f52 4143 4c45 RA-01034:.ORACLE
    0x00b0: 206e 6f74 2061 7661 696c 6162 6c65 0a4f .not.available.O
    0x00c0: 5241 2d32 3731 3031 3a20 7368 6172 6564 RA-27101:.shared
    0x00d0: 206d 656d 6f72 7920 7265 616c 6d20 646f .memory.realm.do
    0x00e0: 6573 206e 6f74 2065 7869 7374 0a4c 696e es.not.exist.Lin
    0x00f0: 7578 2045 7272 6f72 3a20 323a 204e 6f20 ux.Error:.2:.No.
    0x0100: 7375 6368 2066 696c 6520 6f72 2064 6972 such.file.or.dir
    0x0110: 6563 746f 7279 0a ectory.
    Here an attempt with sqlplus that didn't work
    sqlplus scott/tiger@CHUCKY
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 17:05:03 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Another attempt with sqlplus that succeed i dunno why
    oracle@debian:~$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 17:06:02 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    Can someone help me to understand what is wrong please?

    user499283 wrote:
    Well I don't understand exactly what you mean
    here is the listener status
    SNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-MAR-2006 18:24:33
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=debian)(PORT=1521)))
    Services Summary...
    Service "CHUCKY" has 1 instance(s).
    Instance "CHUCKYSON", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0
    LOCAL SERVER
    Service "chucky.rss-global.com" has 1 instance(s).
    Instance "CHUCKY", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "chuckyXDB.rss-global.com" has 1 instance(s).
    Instance "CHUCKY", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: debian, pid: 11725>
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=49930))
    Service "chucky_XPT.rss-global.com" has 1 instance(s).
    Instance "CHUCKY", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    I dont know if it is a good thing i copy an init.ora file to initCHUCKY.ora and now database is using it I have just changed some values in it like control files dbname ... that were pointing to another database maybe this is why i dont manage to get this database runing.
    Now i am stucked I dunno what to do
    racle@debian:~$ tnsping chucky
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 29-MAR-2006 18:27:45
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = debian)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = CHUCKY)) (HS = OK))
    OK (0 msec)
    I am so new to it as i understand the listener is working if i beliave what reports tnsping
    As I understand the database is started
    SQL> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 62916852 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2973696 bytes
    Database mounted.
    Database opened.
    As Inunderstand it is listeneing on 1521
    netstat -anp | grep 1521
    tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 11762/tnslsnr
    tcp 0 0 127.0.0.1:46370 127.0.0.1:1521 ESTABLISHED11703/ora_pmon_CHUC
    tcp 0 0 127.0.0.1:1521 127.0.0.1:46370 ESTABLISHED11762/tnslsnr
    unix 2 [ ] DGRAM 43990 11521/su
    I made a tcpdump i saw the data is comong on localhost port 1521
    Synthese I think the listener is runing, the database too, it is making a listen on 1521 port , when I try to connect data arrives on the right interface.
    But I can't login by
    sqlplus scott/tiger@CHUCKY
    qlplus SCOTT/tiger@CHUCKY
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 18:32:49 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    I dunno what is this fuckin shared memoryThis fuckin shared memory is how oracle does interprocess communication. When you connect to Oracle, you have to connect to this area. If you tell it the wrong area, it won't find it. You can see the areas with the ipcs command on the server. Since you can connect locally, but can't connect remotely, there is something wrong with how you told Oracle to connect remotely. Remotely can be on the same host if you have an @ in the connect string.
    >
    env | grep ORACLE
    ORACLE_SID=CHUCKY
    ORACLE_BASE=/home/oracle
    ORACLE_HOME=/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/
    seems like my variables are good.
    Well I dunno what to do I didn't think getting a simple login locally over tcp/ip would be so difficult, I am afraid of what will happen after this will work :) As it should be one of the easiest things on oracle what about the hardest :)Well, first try removing the trailing slash from ORACLE_HOME everywhere, including if you have it in the listener.ora. Then compare the tnsnames.ora ORACLE_HOME with your environment ORACLE_HOME. In fact, if you have a listener.ora, try renaming it to something else and restarting the listener.
    That error is normally due to a bad ORACLE_HOME or ORACLE_SID. Since your tnsping works, that indicates the ORACLE_HOME is good. But all that tells you is that the listener responds. Other causes may be inadequate processes in init.ora or case issues with the sid, or just generally not following the installation instructions. But are there installation instructions for debian?
    With multiple databases on one host, some kernel parameters may need to be increased.

  • (HELP) ORA-27101: shared memory realm does not exist

    Contributors,
    I am a newbie in Oracle and have oracle database installed and working as expected until few days ago. One day i was getting these ugly messages when connecting via SQLplus
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Process ID: 0
    Session ID: 0 Serial number: 0I did some searches on this topic but haven't found solutions.
    * Some suggested to check[b] environment variables ORACLE_HOME and ORACLE_SID : my ORACLE_HOME is fine, and i DO NOT have ORACLE_SID on the day i realize the problem.
    I am not sure if ORACLE_SID variable is usually exist when my database was up and running. So i set ORACLE_SID yet did not help.
    * Some said check if the required services are running :
    - OracleOraDb11g_home1TNSListener : RUNNING
    - OracleServiceORCL : RUNNING
    * Other said that they have the same problem, but everything back to normal after several hours without anything configured / changed (miraculous)
    * I tried to restart or shut down, but no luck
    * In the same thread few days ago, Vlado helped me with suggestion to acces ADRCI and type SHOW PROBLEM also SHOW INCIDENT
    but the reply is DIA-48494: ADR home is not set, the corresponding operation cannot be done* Other implied to check the .ora files in NETWORK\ADMIN. I will post it (TNSNAMES.ORA, LISTENER.ORA, SQLNET.ORA) after this.
    My platform and some info :
    * OS : MS Windows Vista Ultimate
    * Oracle Database 11g Release 1 (11.1.0.6.0) Enterprise/ Standard Edition for Microsoft Windows 32-bit
    Mostly i used SQLplus and SQLdeveloper, for developing procedures/ functions/ packages in Oracle Spatial.
    Also, am running it in one laptop (server and client altogether).
    There is only one database in the Laptop (no other oracle database).
    How to fix this ? Please kindly help me.
    Many thanks in advance,
    Damon

    Here are the ORA files :
    ( Btw the service name / SID is "orcl")
    =====================================
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: C:\ORACLE\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = geoltmatt)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
      )=====================================
    LISTENER.ORA
    # listener.ora Network Configuration File: C:\ORACLE\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = geoltmatt)(PORT = 1521))
      )=====================================
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: C:\ORACLE\product\11.1.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)=====================================
    also other said that we need to issue commands like
    LSNRCTL STATUS
    TNSPING [host]
    Here they are :
    LSNRCTL STATUS
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-MAY-2008 18:12
    :46
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date                22-MAY-2008 12:03:17
    Uptime                    0 days 6 hr. 9 min. 29 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\ORACLE\product\11.1.0\db_1\network\admin\listener.o
    ra
    Listener Log File         c:\oracle\product\11.1.0\db_1\log\diag\tnslsnr\geoltma
    tt\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=geoltmatt)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    TNSPING [host]
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-MAY-2
    008 18:14:15
    Copyright (c) 1997, 2007, Oracle.  All rights reserved.
    Used parameter files:
    C:\ORACLE\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTO
    COL=TCP)(HOST=128.250.171.197)(PORT=1521)))
    OK (0 msec)Please kindly help me... (also thanks for vlado)
    TIA.
    =Damon

  • ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exi

    Hi all,
    suddenly our oracle 10g database stopped working. When we tried export the database following was the output
    C:\Documents and Settings\Administrator>EXP PMIS/PMIS FILE=C:\PMIS.DMP
    Export: Release 10.2.0.1.0 - Production on Wed Mar 25 16:15:08 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    EXP-00056: ORACLE error 1034 encountered
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    EXP-00005: all allowable logon attempts failed
    EXP-00000: Export terminated unsuccessfullyalert log file had the output as
    Wed Mar 25 16:02:12 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:>sessions = 49
    >__shared_pool_size = 71303168
    >__large_pool_size = 8388608
    >__java_pool_size = 4194304
    >__streams_pool_size = 0
    >spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
    >sga_target = 146800640
    >control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    >__db_cache_size = 58720256
    >compatible = 10.2.0.1.0
    >db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
    >db_recovery_file_dest_size= 10737418240
    >undo_management = AUTO
    >undo_tablespace = UNDO
    >remote_login_passwordfile= EXCLUSIVE
    >dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    >shared_servers = 4
    >job_queue_processes = 4
    >audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
    >background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
    >user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
    >core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
    >db_name = XE
    >open_cursors = 300
    >os_authent_prefix =
    >pga_aggregate_target = 41943040
    PMON started with pid=2, OS id=1632
    PSP0 started with pid=3, OS id=1312
    MMAN started with pid=4, OS id=200
    DBW0 started with pid=5, OS id=1864
    LGWR started with pid=6, OS id=188
    CKPT started with pid=7, OS id=1328
    SMON started with pid=8, OS id=1848
    RECO started with pid=9, OS id=1760
    CJQ0 started with pid=10, OS id=1920
    MMON started with pid=11, OS id=768
    MMNL started with pid=12, OS id=948
    Wed Mar 25 16:02:13 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Wed Mar 25 16:02:13 2009
    alter database mount exclusive
    Wed Mar 25 16:02:17 2009
    Setting recovery target incarnation to 2
    Wed Mar 25 16:02:17 2009
    Successful mount of redo thread 1, with mount id 2563569989
    Wed Mar 25 16:02:17 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Wed Mar 25 16:02:17 2009
    alter database open
    Wed Mar 25 16:02:18 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_lgwr_188.trc:
    ORA-00600: internal error code, arguments: [3700], [1], [15], [2], [2], [], [], []
    Wed Mar 25 16:02:18 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_lgwr_188.trc:
    ORA-00600: internal error code, arguments: [3700], [1], [15], [2], [2], [], [], []
    Wed Mar 25 16:02:18 2009
    LGWR: terminating instance due to error 470
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_dbw0_1864.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_ckpt_1328.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_psp0_1312.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_mman_200.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_pmon_1632.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_reco_1760.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_smon_1848.trc:
    ORA-00470: LGWR process terminated with error
    Instance terminated by LGWR, pid = 188Again when we tried by connecting sqlplus following was output
    SQL> connect sys/manager as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 146800640 bytes
    Fixed Size 1286220 bytes
    Variable Size 83890100 bytes
    Database Buffers 58720256 bytes
    Redo Buffers 2904064 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channelWe actually need database dump for user PMIS, any help would be highly appreciated

    Hi Wim
    You should say that "It may be Control File problem", but you shouldn't say that "it's due to Control File" problem
    Please refer to Errors Documentation for more information on ORA-00600
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e0.htm#sthref371
    ORA-00600: internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]
    Cause: This is the generic internal error number for Oracle program exceptions. This indicates that a process has encountered an exceptional condition.
    Action: Report as a bug - the first argument is the internal error number
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • ORA-27101: shared memory realm does not exist

    Hi    all
        I  have  a    problem   related  to sap xi-7.0   server. 
        when    I  start  server  than dispature  is not  started .  and the  trans file  show these  problem ,    i am     past the  this   trans   file ,
      so plz  solve this problem,
    4 ETW000 R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 20.02.2009 - 01:11:50
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Fri Feb 20 01:11:52 2009                            3963  0.003963
    4 ETW000  [dev trc     ,00000]  db_con_init called                                   710  0.004673
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                            188  0.004861
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dboraslib.dll' ...                71  0.004932
    4 ETW000  [dev trc     ,00000]  load shared library (dboraslib.dll), hdl 0         74699  0.079631
    4 ETW000  [dev trc     ,00000]      using "D:\usr\sap\D10\SYS\exe\uc\NTI386\dboraslib.dll"
    4 ETW000                                                                              75  0.079706
    4 ETW000  [dev trc     ,00000]  Library 'dboraslib.dll' loaded                        19  0.079725
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dboraslib.dll
    4 ETW000                                                                              22  0.079747
    4 ETW000  [dev trc     ,00000]  Version of 'dboraslib.dll' is "700.08", patchlevel (0.73)
    4 ETW000                                                                            5493  0.085240
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dboraslib.dll
    4 ETW000                                                                              42  0.085282
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dboraslib.dll
    4 ETW000                                                                              91  0.085373
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              59  0.085432
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              32  0.085464
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         43  0.085507
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              17  0.085524
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              21  0.085545
    4 ETW000  [dev trc     ,00000]  CLIENT_ORACLE_HOME is not set as environment variable or
    4 ETW000                        DIR_CLIENT_ORAHOME is not set as profile parameter.
    4 ETW000                          assuming using instant client with unspecified location.
    4 ETW000                                                                            9668  0.095213
    4 ETW000  [dev trc     ,00000]  Fri Feb 20 01:11:54 2009                         1849124  1.944337
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.1.0'                   58  1.944395
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         23  1.944418
    4 ETW000  [dev trc     ,00000]  Fri Feb 20 01:11:55 2009                          511982  2.456400
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8            59  2.456459
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           18  2.456477
    4 ETW000  [dev trc     ,00000]  Connecting as /@D10 on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    4 ETW000                                                                              44  2.456521
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                           39103  2.495624
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1   0241DCB8   024231EC   02422A74
    4 ETW000                                                                              31  2.495655
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0    31702  2.527357
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      47  2.527404
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server D10 (con_hdl=0,svchp=024229C0,svrhp=02434234)
    4 ETW000                                                                             230  2.527634
    4 ETW000  [dev trc     ,00000]  Fri Feb 20 01:12:01 2009                         5281432  7.809066
    4 ETW000  [dev trc     ,00000]  Assigning server context 02434234 to service context 024229C0
    4 ETW000                                                                              67  7.809133
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                        56  7.809189
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=024229C0,srvhp=02434234,usrhp=0246F9C8)
    4 ETW000                                                                            2370  7.811559
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1034
    4 ETW000                                                                          656067  8.467626
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=1,svrhp=02434234)       16  8.467642
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=024229C0,srvhp=02434234)
    4 ETW000                                                                              19  8.467661
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 02434234        23932  8.491593
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1034'
    4 ETW000                                                                              64  8.491657
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  83  8.491740
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@D10 on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    4 ETW000                                                                              21  8.491761
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              21  8.491782
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1   0241DCB8   024231EC   02422A74
    4 ETW000                                                                              21  8.491803
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      48  8.491851
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server D10 (con_hdl=0,svchp=024229C0,svrhp=02434234)
    4 ETW000                                                                              35  8.491886
    4 ETW000  [dev trc     ,00000]  Fri Feb 20 01:12:02 2009                          458152  8.950038
    4 ETW000  [dev trc     ,00000]  Assigning server context 02434234 to service context 024229C0
    4 ETW000                                                                              56  8.950094
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 0246F9C8           17  8.950111
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 0246F9C8           35  8.950146
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=024229C0,srvhp=02434234,usrhp=0246F9C8)
    4 ETW000                                                                              24  8.950170
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1034
    4 ETW000                                                                          234917  9.185087
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=1,svrhp=02434234)      799  9.185886
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=024229C0,srvhp=02434234)
    4 ETW000                                                                              42  9.185928
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 02434234         1364  9.187292
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1034'
    4 ETW000                                                                              61  9.187353
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 1034   performing CON [dblink#3 @ 431]
    4 ETW000                                                                           10170  9.197523
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-01034: ORACLE not available           49  9.197572
    4 ETW000                        ORA-27101: shared memory realm does not exist [dblink#3 @ 431]
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'D10'"

    Hello Pankaj,
    Try starting Oracle database from SQL plus using orasid as user and then start SAP
    Refer to Note 491174 and perform all the tests as mentioned
    You will be able to solve it
    Let me know if it helps
    Rohit

  • ORA-27101: shared memory realm does not exist after kernel upgrade

    Hi,
    I have installed ECC 6.0 on windows 32 bit.  After I upgraded the kernel, the database can't be started as well as SAP.  When I checked the logs, the error ORA-27101: shared memory realm does not exist was encountered.
    M  calling db_connect ...
    C  Prepending E:\usr\sap\ERP\DVEBMGS01\exe to Path.
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@ERP on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   06E217E8   06E26D84   06E2660C
    C  Attaching to DB Server ERP (con_hdl=0,svchp=06E26558,srvhp=06E38144)
    C  Starting user session (con_hdl=0,svchp=06E26558,srvhp=06E38144,usrhp=06E4CEB8)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
    [dboci.c      4532]
    C  Detaching from DB Server (con_hdl=0,svchp=06E26558,srvhp=06E38144)
    C  *** ERROR => CONNECT failed with sql error '1034'
    [dbsloci.c    11042]
    C  Try to connect with default password
    C  Connecting as SAPSR3/<pwd>@ERP on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   06E217E8   06E26D84   06E2660C
    C  Attaching to DB Server ERP (con_hdl=0,svchp=06E26558,srvhp=06E38144)
    C  Starting user session (con_hdl=0,svchp=06E26558,srvhp=06E38144,usrhp=06E4CEB8)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
    [dboci.c      4532]
    C  Detaching from DB Server (con_hdl=0,svchp=06E26558,srvhp=06E38144)
    C  *** ERROR => CONNECT failed with sql error '1034'
    [dbsloci.c    11042]
    B  ***LOG BV3=> severe db error 1034      ; work process is stopped [dbsh#2 @ 1199] [dbsh    1199 ]
    B  ***LOG BY2=> sql error 1034   performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1426]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10283]

    Please help.
    Thanks.
    Regards.

    Hi. First restart the server, then start the LISTENER, and repeat startsap again. Check if messages repeated. Regards.

  • ERROR - ORA-01034: shared memory realm does not exist

    Hallo!I am a newbie in Oracle in Linux.I have just installed Oracle 10g in Oracle Eenterprise Linux version 4 Update 7.The installation was successful and I could
    work with sqlplus,isqlplus and Enterprise Manager.When I restarted my machine,I manually started the listener,OEM and isqlplus which started successfully.
    However,when I try to log into OEM and isqlplus,the error message below appears
    ERROR - ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: 2: No such file or directory
    How do I resolve this?
    Thanks.

    4joey1 wrote:
    However,when I try to log into OEM and isqlplus,the error message below appears
    ERROR - ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: 2: No such file or directory An Oracle instance consists of a number of Oracle server processes (the limbs) and a shared memory area (the brain). Each and every server process participating in that Oracle instance needs to attach to the shared memory area.
    The error message you see, states that the server process (launched in order to service your sqlplus/OEM client), failed to find and attach to this shared memory segment.
    Two basic reasons for the failure.
    The Oracle instance is not running. There are no shared memory area and Oracle server processes running for that instance. Solution: start up the database instance.
    The server process was launched with the incorrect parameters (ORACLE_SID specifically) and attempted to attach to shared memory that does not exist. Solution: review the TNS/JDBC parameters of the client connection and configuration of the Oracle Listener to ensure that a server process launched to service a client, does so with the correct parameters and environment.

  • ORA-27101: shared memory realm does not exist and ORA-01139: RESETLOGS

    HI ALL,
    After the oracle has installed on a solaries server successfully, i am unable to login into oracle database.
    Below are the errors messages :
    1) ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    2) Media recovery complete.
    alter database open resetlogs
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery.
    and When i try to login into oracle as root .
    this is the error :
    sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Feb 12 15:52:49 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ld.so.1: oracle: fatal: libskgxp10.so: open failed: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact
    my Operating system details :
    SunOS Blade3-Chassis2 5.10 Generic_142900-03 sun4v sparc SUNW,Netra-CP3060
    Anyone please help me here. waiting for your reply.
    Below are the ORACLE_SID Details :
    1) echo $ORACLE_SID ----- > ems
    2)ps -eaf | grep smon -------> ora_smon_ems
    do you need any data?
    Edited by: user8959150 on Feb 11, 2010 7:19 PM

    Hi
    We mostly receive this error message ( ORA-27101: shared memory realm does not exist and ORA-01139)
    When our SGA_MAX_SIZE is greater than 1.7 G.b on
    You again configure your sga size
    and sga_max_size paramete will not greater than 1.7 G.b
    Hope your database will work correctly.
    for test purpose you set all your init.ora parameter
    db_cache_size=512m
    db_keep_cache_size=64m
    db_recycle_cache_size=16m
    java_pool_size=8m
    large_pool_size=16m
    shared_pool_size=256m
    shared_pool_reserved_size=64m
    sga_max_size=1600m
    sga_max_size will not be grater than combination of of db_cache_size db_keep_cache_size,db_recycle_cache_sizejava_pool_size+share_pool_size+share_pool_reserved_size
    Hope it will work fine.
    Regard
    Abdul Hameed Malik
    [email protected]

  • ORA-12519 with servlet connect

    Hi,
    I'm facing a strange behaviour on my tomcat webserver with a servlet. I'm using Oracle 10g as the database and try to access it with my servlet.
    The doPost-method throws the following exception while trying to establish the connection to the RDBMS:
    "SQLException:
    Connecting not possible:
    Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: localhost:1521:DBTEN"
    After starting my servlet, the connection to the database for other applications blocks with the same error message
    for a few minutes. After these few minutes connecting to the database is possible again!!! Restarting the database and the listener also helps...
    public void doPost( HttpServletRequest request, HttpServletResponse response ) throws IOException, ServletException {
    Connection conn = null;
    response.setContentType( "text/html" );
    PrintWriter out = response.getWriter();
    String connStr = "jdbc:oracle:thin:@localhost:1521:DBTEN";
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    }catch( ClassNotFoundException cnf ){
    out.println( "CNFException: "+cnf.getMessage() );
    //retrieve Connection
    try{
    conn = DriverManager.getConnection( connStr, "scott", "tiger" );
    }catch( SQLException sqle ){
    out.println( "SQLException: <BR> Connecting not possible: <BR> "+sqle.getMessage()+"<BR>" );
    When I put that part in a 'normal' main program everything is ok. I can connect to the database and access tables with select statements and everything is ok.
    public static void main(String[] args) {
    Connection conn = null;
    //retrieve Connection
    try{
    String connStr = "jdbc:oracle:thin:@localhost:1521:DBTEN";
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    }catch(ClassNotFoundException cnf){
    System.out.println( "CNFException: "+cnf.getMessage() );
    conn = DriverManager.getConnection( connStr, "scott", "tiger" );
    }catch( SQLException sqle ){
    System.out.println( "SQLException:"+sqle.getMessage() );
    Does anyone have an idea what the problem is in this case?
    Regards,
    Lars

    "Note: The use of the DriverManager class to establish a connection to a database is deprecated." --
    http://download-uk.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25320/getconn.htm
    To open a connection use something like this:
    OracleDataSource ods = new OracleDataSource();
    ods.setUser("username");
    ods.setPassword("password");
    ods.setURL("jdbc:oracle:thin:@localhost:1521:XE");
    ods.getConnection();
    Instead of this:
    Class.forName("oracle.jdbc.OracleDriver");
    DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE", "username", "password");

  • ORA-12519 TNS:No appropriate service handler found!

    Dear All,
    I am facing a strange problem since yesterday and it happened for 4 times now.
    My database is 10gR2 and Linux is the operating system.
    There is not much load on DB but some users while connecting to DB get this error:
    ORA-12519 TNS : No appropriate service handler found.
    Howe ever there existing sessions remain open and they are fine. Problem is only faced when the new connection if in process.
    I think that maybe some procedure is opening up connection in loop and not closing it at the end, but how to find this procedure.
    This is the output of my processes parameter:
    SQL> show parameter PROCESSES;
    NAME TYPE VALUE
    aq_tm_processes integer 0
    db_writer_processes integer 1
    gcs_server_processes integer 0
    job_queue_processes integer 10
    log_archive_max_processes integer 2
    processes integer 150
    Kindly help.
    Regards, Imran Baig

    Well, I have manually added the entry in bold and restarted the listener. This is my listener.ora file now.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    *(SID_DESC =*
    *(SID_NAME = ORCL)*
    *(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)*
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = db.myserver.private)(PORT = 1521))
    Now This is the status of my listener:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 07-JUL-2011 10:34:14
    Uptime 0 days 0 hr. 6 min. 54 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db.myserver.private)(PORT=1521)))
    Services Summary...
    Service "ORCL" has 2 instance(s).
    Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
    Instance "ORCL", status READY, has 1 handler(s) for this service...
    Service "ORCLXDB" has 1 instance(s).
    Instance "ORCL", status READY, has 1 handler(s) for this service...
    Service "ORCL_XPT" has 1 instance(s).
    Instance "ORCL", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Now I will have to wait for the error to come again.
    Regards, Imran

  • ORA-12519 TNS NO APPROPRIATE SERVICE HANDLER - ERROR

    Hi,
    We are using JDeveloper 11g for developing our web applications in our company and connecting oracle database through DB Connectivity option. We give the informations like username, password, hostname, sid, port number for getting the DB connectivity and developing web applications through ADF Faces in JDeveloper 11g, and around 25 people are getting connected to Database and developing their respective pages.
    For first 30 minutes there is no DB problem, working quitely. After 30 minutes we are getting the error ORA-12519 TNS No appropriate service handler error, we tried to solve this problem by raising process number to 200 in init.ora file and killed the inactive sessions by getting session id from V$session table and restarted the DB Server. But still we are having this problem ORA-12519, after 30 minutes of starting the DB Server.
    Can anyone suggest or help to overcome this problem ORA-12519.
    Thanks
    Saravanan N
    Edited by: user11100608 on May 21, 2009 11:25 PM

    See if metalink note 552765.1 helps you in this case.

  • ORA-12519: too many new conenctions

    Hello,
    with 10.2 XE the number of PROCESSORS is limited to 40, the Problem exists with the Listener that it quickly starts to refuse new connections with ORA-12519, even when the maximum number of connects at the same time is not reached. At least this is the situation as I understand it from metalink 424566.995: the problem is, that the listener counts new connections, but only seldomly gets the number of closed conenctions from the instance.
    For my application with connection pools this is not a big issue, however I have a ANT script which installs the application and this unfortunatelly triggers the problem often, because connections are not recycled.
    I wonder if it is "legal" and "possible" to increase processrs/sessions or better configure the listner to not reject those connections. It does not look like it is allowing me 50 connections anyway.
    Interesting enough lsnctrl (verbose display mode) does not show any rejects (but I see them in the logfile) and I cant see a way to read listeners' concurrency limit?
    logfile Looks like:
    04-NOV-2005 18:22:01 * service_update * xe * 0
    04-NOV-2005 18:22:01 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3672)) * establish * XE * 0
    04-NOV-2005 18:22:01 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3673)) * establish * XE * 0
    04-NOV-2005 18:22:01 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3674)) * establish * XE * 0
    04-NOV-2005 18:22:01 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3675)) * establish * XE * 0
    04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3676)) * establish * XE * 0
    04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3677)) * establish * XE * 0
    04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3678)) * establish * XE * 0
    04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3679)) * establish * XE * 0
    04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3680)) * establish * XE * 0
    04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3682)) * establish * XE * 0
    04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3683)) * establish * XE * 0
    04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3684)) * establish * XE * 0
    04-NOV-2005 18:22:03 * service_update * CLRExtProc * 0
    04-NOV-2005 18:22:03 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3685)) * establish * XE * 0
    04-NOV-2005 18:22:03 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3686)) * establish * XE * 0
    04-NOV-2005 18:22:03 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3687)) * establish * XE * 0
    04-NOV-2005 18:22:03 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3688)) * establish * XE * 0
    04-NOV-2005 18:22:04 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3689)) * establish * XE * 0
    04-NOV-2005 18:22:04 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3690)) * establish * XE * 12519
    TNS-12519: TNS:no appropriate service handler found
    04-NOV-2005 18:22:04 * service_update * xe * 0
    In this case I have 18 conenctions in 4 seconds where the last one was rejected.
    Anybody can help?
    Bernd

    The system does not enforce a limit to the number of processes or sessions. You may change the parameters to meet your needs.
    Do note that increasing either parameter will use more memory. The amount will be based on the application requirements so it's not possible to give a blanket answer to "how many before we use up the 1GB RAM limit?"
    To determine your current per-process memory use, I recomend reading Tom Kyte's "Expert Oracle Database Architecture ..." (http://www.apress.com/book/bookDisplay.html?bID=10008) which will explain the numbers derived from the simple SQL statements.

  • ORA-12519, TNS:no appropriate service handler found on OdiSqlUnload

    Hi all,
    I'm using OdiSqlUnload in a target code of a procedure, where the output of the source code is the parameter.I'm using the source connection as parameters to the target connections:
    OdiSqlUnload "-FILE=#filename"   "-DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%>" "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" -FILE_FORMAT=variable "-FIELD_SEP=," "-ROW_SEP=;" "-DATE_FORMAT=yyyyMMddHHmmss"
    It loops ok for a few times but then I get ORA-12519, TNS:no appropriate service handler found error.
    Do you have an idea, or do you think the best way to export the data to csv using regular IKMs?
    Nimrod

    Source:
    SELECT mvno_id, mvno_name
      FROM (SELECT DISTINCT mvno_id, mvno_name
              FROM <?=snpRef.getObjectName("L", "COS_TO_MVNO", "ODI_USER", "", "D") ?>
             WHERE EXISTS
                      (SELECT 1
                         FROM <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>
                        WHERE CDRS_TO_EXPORT.mvno_id = COS_TO_MVNO.mvno_id))
    Target:
    OdiSqlUnload "-FILE=#V_BASE_DIR/#MVNO_NAME/gprs/GPRS_#WHOLESALE_SEQ_NEXTVAL.csv"   "-DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%>" "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" -FILE_FORMAT=variable "-FIELD_SEP=," "-ROW_SEP=;" "-DATE_FORMAT=yyyyMMddHHmmss"  "-DATE_FORMAT=yyyyMMddHHmmss"
    WITH Samso_NPA_NXX_VH
         AS (SELECT HOME_SID, npa, nxx
               FROM <?=snpRef.getObjectName("L", "SAMSON_NPA_NXX_VH", "REPORT", "", "D") ?>
              WHERE expiration_date IS NULL)
    SELECT Event_Parameter1,
           #MVNO_ID,
           wholesale_seq.NEXTVAL,
           event_parameter14,
           event_parameter17,
           Answer_Time,
           Event_Parameter18,
           Event_Parameter15,
           (SELECT HOME_SID
              FROM Samso_NPA_NXX_VH
             WHERE NPA || NXX = SUBSTR (Event_Parameter17, 0, 6)),
           NULL,
           Event_Parameter19,
           NULL,
           NULL,
           Event_Parameter5,
           Event_Parameter13,
           NULL,
           Event_Parameter4,
           PRICE_ITEM_ID1,
           Event_Parameter5 * Event_Parameter14,
           Event_Parameter4,
           Event_Parameter23,
           Event_Parameter20,
           Event_Parameter21,
           BILLING_NUMBER,
           transaction_time,
           Event_Parameter24,
           Event_Parameter22
      FROM <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>, <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>
    WHERE     UPPER (Event_Parameter1) = 'DATA'
           AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.transaction_time =
                  <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.day
           AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.SERVER_ID =
                  <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.SERVER_ID
           AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.SYS_DR_NUMBER =
                  <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.sys_dr_number
           AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.parent =
                  <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.parent
           AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.child_index =
                  <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.child_index
           AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.BILL_CYCLE_ID =
                  <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.bill_cycle_id
           AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.LRE_ID =
                  <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.lre_id
           AND <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.mvno_id = #MVNO_ID

  • ORA-01034: ORACLE not available and ORA-27101: shared memory realm does not

    Hi guys:
    I´m getting the error:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    I tried setting my oracle_sid and i still having the error. Then i do the follow
    C:\infra\BIN>sqlplus "/as sysdba"
    SQL*Plus: Release 10.1.0.3.0 - Production on Vie Ago 18 09:49:58 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORA-02778: Name given for the log directory is invalid
    SQL> startup c:\infra
    SP2-0714: invalid combination of STARTUP options
    SQL> startup c:\infra\database\SPFILEBDINFRA.ora
    SP2-0714: invalid combination of STARTUP options.
    I tried stopping and starting my listener and it doesn't work. Can anybody Help me??
    I´m working with db 10gr1 in windows 2000
    Thanks
    Alex

    If i try:
    SQL> startup unmount
    SP2-0714: invalid combination of STARTUP options
    SQL> startup mount
    ORA-02778: Name given for the log directory is invalid
    Here my spfile
    *.background_dump_dest='C:\admin\bdinfra\bdump'
    *.compatible='10.1.0.2.0'
    *.control_files='C:\infra\oradata\bdinfra\CONTROL01.CTL','C:\infra\oradata\bdinfra\CONTROL02.CTL','C:\infra\oradata\bdinfra\CONTROL03.CTL'
    *.core_dump_dest='C:\admin\bdinfra\cdump'
    *.db_block_size=8192
    *.db_cache_size=50331648
    *.db_domain='com'
    *.db_file_multiblock_read_count=16
    *.db_name='bdinfra'
    *.dispatchers='(PROTOCOL=TCP)(PRE=oracle.aurora.server.GiopServer)','(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)'
    *.java_pool_size=67108864
    *.job_queue_processes=5
    *.large_pool_size=8388608
    *.max_commit_propagation_delay=0
    *.open_cursors=300
    *.pga_aggregate_target=33554432
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sessions=400
    *.shared_pool_size=150994944
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS'
    *.user_dump_dest='C:\admin\bdinfra\udump'
    Thank you very much for your help
    Oscar

  • ORA-01034: ORACLE not available ORA-27101: shared mem  Linux-x86_64 Error 2

    Hello,
    I was in the process of importing a table and my VM Rhel 6 Oracle machine hung. I rebooted the machine and Im getting the following issues.
    SQL*Plus: Release 11.2.0.1.0 Production on Wed May 9 12:51:47 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter user-name: example
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    I am a bit concerned over the Linux-x86_64 Error 2 issue. Can someone assist here please.
    Thanks Kevin Decker

    Request per the 1st earlier post.
    id=601(oracle) gid=517(oinstall) groups=517(oinstall),518(dba)
    -bash-3.2$ env | sort
    _=/bin/env
    CLASSPATH=/usr/app/oracle/product/11.2.0/jlib:/usr/app/oracle/product/11.2.0/rdb ms/jlib
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/usr/app/oracle
    HOSTNAME=LPLCLDDB105.lab.trcn.aexp.com
    INPUTRC=/etc/inputrc
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=/usr/app/oracle/product/11.2.0/lib:/lib:/usr/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;0 1:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31: *.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:* .bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_BASE=/usr/app/oracle
    ORACLE_HOME=/usr/app/oracle/product/11.2.0
    ORACLE_HOSTNAME=LPLCLDDB105.phx.aexp.com
    ORACLE_SID=DOC105P
    ORACLE_UNQNAME=DOC105P
    PATH=/usr/app/oracle/product/11.2.0/bin:/sbin:/usr/sbin:/bin:/usr/bin
    PWD=/usr/app/oracle
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=10.68.13.164 49281 22
    SSH_CONNECTION=10.68.13.164 49281 10.68.58.50 22
    SSH_TTY=/dev/pts/0
    TERM=xterm
    TMPDIR=/tmp
    TMP=/tmp
    USER=oracle
    Refer to the SQL*Plus User's Guide and Reference for more information.
    -bash-3.2$ sqlplus '/as sysdba'
    SQL*Plus: Release 11.2.0.1.0 Production on Wed May 9 14:33:45 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    SQL> startup
    ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
    ORACLE instance started.
    Total System Global Area 534462464 bytes
    Fixed Size 2215064 bytes
    Variable Size 331350888 bytes
    Database Buffers 192937984 bytes
    Redo Buffers 7958528 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channel
    Process ID: 20688
    Session ID: 9 Serial number: 3

Maybe you are looking for