Sql error 12505 performing CON [dblnk    0489] in R3trans

hi,
R3trans getting error as
4 ETW000 R3trans version 5.36 (release 31I - 08.12.00 - 12:30:00).
4 ETW000 ===============================================
4 ETW000
4 ETW000 control file: <no ctrlfile>
4 ETW000 date&time   : 02.12.2010 - 10:57:06
Thu Dec  2 10:57:16 2010
***LOG BY2=> sql error 12505 performing CON [dblnk    0489]
***LOG BY0=>  [dblnk    0489]
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'xxx'"
ORACLE 8.2
Database is up/open & running.
Checked for tnsnames.ora ,but port n hostname is correctly maintained.
Kindly suggest.

Hi,
The error : ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
Please check, whether listner is running,
Under OS user oraSAPSID execute the command - lsnrctl status
Also from os login by SAPSID, and check from command,R3trans -d, whether database is connected.
as the error 2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'xxx'"
Regards,
Kiron.

Similar Messages

  • Sql error 12705  performing CON (Upgrade on Oracle10.2.0.2)

    Hello,
    I'm following the Oracle Upgrade Guide_211 for Oracle upgrade to 10.2.0.2 of our test system. It's SAP R/3 4.6C with 4.6D_EXT supp. pack 2271, HP-UX 11.11 and Oracle 9.2.0.5
    I'm almost done with the upgrade (just startup of SAP instance)
    Now I tested R3trans -d and it failed
    <b>This is R3trans version 6.05 (release 46D - 12.07.06 - 16:40:00).
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'TST'"
    R3trans finished (0012).</b>
    In the trans.log:
    cat trans.log
    4 ETW000 R3trans version 6.05 (release 46D - 12.07.06 - 16:40:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000 date&time   : 26.04.2007 - 12:56:34
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [developertra,00000]  Thu Apr 26 12:56:34 2007                             778  0.000778
    4 ETW000  [developertra,00000]  db_con_init called                                    39  0.000817
    4 ETW000  [developertra,00000]  create_con (con_name=R/3)                             39  0.000856
    4 ETW000  [developertra,00000]  Loading DB library '/usr/sap/TST/SYS/exe/run/dboraslib.sl' ...
    4 ETW000                                                                             150  0.001006
    4 ETW000  [developertra,00000]  load shared library (/usr/sap/TST/SYS/exe/run/dboraslib.sl), hdl 0
    4 ETW000                                                                           46480  0.047486
    4 ETW000  [developertra,00000]  Library '/usr/sap/TST/SYS/exe/run/dboraslib.sl' loaded
    4 ETW000                                                                              51  0.047537
    4 ETW000  [developertra,00000]  function DbSlExpFuns loaded from library /usr/sap/TST/SYS/exe/run/dboraslib.sl
    4 ETW000                                                                              79  0.047616
    4 ETW000  [developertra,00000]  Version of library '/usr/sap/TST/SYS/exe/run/dboraslib.sl' is "46D.00", patchlevel (0.2311)
    4 ETW000                                                                             579  0.048195
    4 ETW000  [developertra,00000]  function dsql_db_init loaded from library /usr/sap/TST/SYS/exe/run/dboraslib.sl
    4 ETW000                                                                              56  0.048251
    4 ETW000  [developertra,00000]  function dbdd_exp_funs loaded from library /usr/sap/TST/SYS/exe/run/dboraslib.sl
    4 ETW000                                                                              83  0.048334
    4 ETW000  [developertra,00000]  New connection 0 created                              51  0.048385
    4 ETW000  [developertra,00000]  db_con_connect (con_name=R/3)                        346  0.048731
    4 ETW000  [developertra,00000]  find_con found the following connection for reuse:
    4 ETW000                                                                              48  0.048779
    4 ETW000  [developertra,00000]  Got ORACLE_HOME=/oracle/TST/102_64 from environment
    4 ETW000                                                                            1255  0.050034
    4 ETW000  [developertra,00000]  -->oci_initialize                                     41  0.050075
    4 ETW000  [developertra,00000]  Got ORACLE_SID=TST from environment                  103  0.050178
    4 ETW000  [developertra,00000]  Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
    4 ETW000                                                                              79  0.050257
    4 ETW000  [developertra,00000]  Logon as OPS$-user to get SAPR3's password            29  0.050286
    4 ETW000  [developertra,00000]  Connecting as /@TST on connection 0 ...               40  0.050326
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='', dbname='TST')        64  0.050390
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'olog' failed: rc = 1019      4272  0.054662
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => <b>CONNECT failed with sql error '1019'</b>4 ETW000                                                                              74  0.054736
    4 ETW000  [developertra,00000]  Try to connect with default password                  31  0.054767
    4 ETW000  [developertra,00000]  Connecting as SAPR3/<pwd>@TST on connection 0 ...
    4 ETW000                                                                              45  0.054812
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='SAPR3', dbname='TST')
    4 ETW000                                                                              42  0.054854
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'olog' failed: rc = 12705   160083  0.214937
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => <b>CONNECT failed with sql error '12705'</b>4 ETW000                                                                             106  0.215043
    4 ETW000  [developertra,00000]  Got ORACLE_SID=TST from environment                  208  0.215251
    4 ETW000  [developertra,00000]  Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
    4 ETW000                                                                              48  0.215299
    4 ETW000  [developertra,00000]  Logon as OPS$-user to get SAPR3's password            27  0.215326
    4 ETW000  [developertra,00000]  Connecting as /@TST on connection 0 ...               30  0.215356
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='', dbname='TST')        30  0.215386
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'olog' failed: rc = 12705   144873  0.360259
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12705'
    4 ETW000                                                                              79  0.360338
    4 ETW000  [developertra,00000]  Try to connect with default password                  32  0.360370
    4 ETW000  [developertra,00000]  Connecting as SAPR3/<pwd>@TST on connection 0 ...
    4 ETW000                                                                              43  0.360413
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='SAPR3', dbname='TST')
    4 ETW000                                                                              42  0.360455
    4 ETW000  [developertra,00000]  Thu Apr 26 12:56:35 2007                          147148  0.507603
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'olog' failed: rc = 12705       93  0.507696
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12705'
    4 ETW000                                                                              58  0.507754
    4 ETW000  [dblink      ,00627]  ***LOG BY2=>sql error 12705  performing CON          439  0.508193
    4 ETW000  [dblink      ,00627]  ***LOG BY0=>                                          38  0.508231
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'TST'"
    For the sidadm user I didnot set the NLS10 variable:
    <i>Ensure that the environment variable ORA_NLS10 is NOT SET for the sidadm user. Setting ORA_NLS10 for the sidadm has resulted in strange system behaviour.!!!!!</i>
    Do ypu have any idea what is the problem how I can start the SAP with my successfully upgraded DB from 9.2.0.5 into 10.2.0.2????
    Many regards,
    Ruzica

    Hello,
    For the user tstadm:
    env
    HOME=/home/tstadm
    PATH=/oracle/TST/102_64/bin:.:/home/tstadm:/usr/sap/TST/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/netscape:/opt/scr/bin:/opt/mx/bin:/opt/gnome/bin:/opt/ignite/bin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/sec_mgmt/spc/bin:/sbin/fs/vxfs3.5/bin
    LOGNAME=tstadm
    SHELL=/usr/bin/csh
    TERM=xterm
    COLUMNS=158
    LINES=60
    MANPATH=/usr/share/man/%L:/usr/share/man/fs/vxfs3.5:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/mx/share/man:/usr/dt/share/man:/opt/samba/man:/opt/resmon/share/man:/opt/scr/share/man:/opt/gnome/man:/opt/graphics/common/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/sec_mgmt/share/man/%L:/opt/sec_mgmt/share/man:/opt/ssh/share/man:/opt/EMCpower/share
    TZ=MET-1METDST
    SAPSYSTEMNAME=TST
    DIR_LIBRARY=/usr/sap/TST/SYS/exe/run
    SHLIB_PATH=/usr/sap/TST/SYS/exe/run:/oracle/client/10x_64/instantclient
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=TST
    ORACLE_PSRV=TST
    ORACLE_SID=TST
    ORACLE_HOME=/oracle/TST/102_64
    ORACLE_BASE=/oracle
    ORA_NLS33=/oracle/TST/102_64/nls/data
    SAPDATA_HOME=/oracle/TST
    LD_LIBRARY_PATH=/oracle/TST/102_64/lib:/usr/sap/TST/SYS/exe/run
    and for the user oratst:
    env
    HOME=/oracle/TST
    PATH=/oracle/TST/102_64/OPatch:/opt/java1.4/bin:/usr/sbin:/oracle/TST/102_64/bin:/oracle/TST/102_64/OPatch:/opt/java1.4/bin:/usr/sbin:.:/oracle/TST:/usr/sap/TST/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/netscape:/opt/scr/bin:/opt/mx/bin:/opt/gnome/bin:/opt/ignite/bin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/sec_mgmt/spc/bin:/sbin/fs/vxfs3.5/bin
    LOGNAME=oratst
    SHELL=/usr/bin/csh
    TERM=xterm
    COLUMNS=158
    LINES=60
    MANPATH=/usr/share/man/%L:/usr/share/man/fs/vxfs3.5:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/mx/share/man:/usr/dt/share/man:/opt/samba/man:/opt/resmon/share/man:/opt/scr/share/man:/opt/gnome/man:/opt/graphics/common/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/sec_mgmt/share/man/%L:/opt/sec_mgmt/share/man:/opt/ssh/share/man:/opt/EMCpower/share
    TZ=MET-1METDST
    SAPSYSTEMNAME=TST
    DIR_LIBRARY=/usr/sap/TST/SYS/exe/run
    ORACLE_HOME=/oracle/TST/102_64
    SHLIB_PATH=/oracle/TST/102_64/lib:/usr/sap/TST/SYS/exe/run
    THREAD=NOPS
    ACTIVE_STATE_PERL=TRUE
    dbms_type=ORA
    dbs_ora_tnsname=TST
    ORACLE_PSRV=TST
    ORACLE_SID=TST
    ORACLE_BASE=/oracle
    NLS_LANG=AMERICAN_AMERICA.WE8DEC
    ORA_NLS10=/oracle/TST/102_64/nls/data
    SAPDATA_HOME=/oracle/TST
    SAPARCH=/oracle/TST/sapbackup
    LD_LIBRARY_PATH=/oracle/TST/102_64/lib64
    Many regards,
    Ruzica

  • *** ERROR = CONNECT failed with SQL error '12154' after Oracle Upgrade

    Hello Experts,
    Recently I upgraded my oracle database from 11.2.0.3 to 11.2.0.4.The upgrade completed successfully but I am unable to start the instance.
    R3trans -d failing with the error--
    OCIServerAttach(OCI_DEFAULT) failed with -1=OCI_ERROR
    OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:    
    ORA-12154: TNS:could not resolve the connect identifier specified
    OCIServerAttach(con=0, svc=069C1630): Error 12154 attaching new srv=069C17D0
    OCIHandleFree(con=0): Server handle srv=069C17D0 freed.          
    server_detach(con=0, svc=069C1630; srv=NULL, stale=2)            
    OCIHandleFree(con=0): Service svc=069C1630 freed (i=1).          
    *** ERROR => CONNECT failed with SQL error '12154'              
    -->oci_get_errmsg (con=0, rc=12154)                              
      OCIErrorGet() -> SQL error code: 12154; buflen=66            
    OCIErrorGet(): error text ->                                    
    ORA-12154: TNS:could not resolve the connect identifier specified
    ocica() -> SQL error code 12154,12154                          
      DbSlConnect(con=0) -> orc=12154, rc=99=DBSL_ERR_DB            
    ***LOG BY2=>sql error 12154  performing CON                      
    ***LOG BY0=>ORA-12154: TNS:could not resolve the connect identifier specified
    I have checked listener is up and running properly.Entry is maintained in tnsnames.ora.
    Also kernel is upgraded with latest path.Curent kernel version--742
    Please suggest on the mentioned error.I am attaching the logs here.Thanks in advance.
    Best Regards,
    Debaditya

    Hi Debadiya
    Kindly check this SAP Notes
    1204916 - Error: "ORA-12154" when connecting to Oracle from a Windows 64-bit platform
    2153975 - Database connectivity fails with ORA-12154
    556232 - Environment settings for R/3/Oracle on Windows
    443867 - ORA-12154 Collective SAP note
    BR
    SS

  • CONNECT failed with sql error '1017'

    Hello,
    nus650pa:dv8adm 23% more trans.log
    4 ETW000 R3trans version 6.05 (release 46D - 12.07.06 - 16:40:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000 date&time   : 14.08.2014 - 16:58:18
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [developertra,00000]  Thu Aug 14 16:58:19 2014                          170924  0.170924
    4 ETW000  [developertra,00000]  db_con_init called                                  1225  0.172149
    4 ETW000  [developertra,00000]  create_con (con_name=R/3)                          22426  0.194575
    4 ETW000  [developertra,00000]  Loading DB library '/usr/sap/DV8/SYS/exe/run/dboraslib.so' ...
    4 ETW000                                                                             136  0.194711
    4 ETW000  [developertra,00000]  load shared library (/usr/sap/DV8/SYS/exe/run/dboraslib.so), hdl 0
    4 ETW000                                                                          369207  0.563918
    4 ETW000  [developertra,00000]  Library '/usr/sap/DV8/SYS/exe/run/dboraslib.so' loaded
    4 ETW000                                                                             174  0.564092
    4 ETW000  [developertra,00000]  function DbSlExpFuns loaded from library /usr/sap/DV8/SYS/exe/run/dboraslib.so
    4 ETW000                                                                             694  0.564786
    4 ETW000  [developertra,00000]  Version of library '/usr/sap/DV8/SYS/exe/run/dboraslib.so' is "46D.00", patchlevel (0.2186)
    4 ETW000                                                                           15725  0.580511
    4 ETW000  [developertra,00000]  function dsql_db_init loaded from library /usr/sap/DV8/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              60  0.580571
    4 ETW000  [developertra,00000]  function dbdd_exp_funs loaded from library /usr/sap/DV8/SYS/exe/run/dboraslib.so
    4 ETW000                                                                             121  0.580692
    4 ETW000  [developertra,00000]  New connection 0 created                              96  0.580788
    4 ETW000  [developertra,00000]  db_con_connect (con_name=R/3)                      14511  0.595299
    4 ETW000  [developertra,00000]  find_con found the following connection for reuse:
    4 ETW000                                                                              53  0.595352
    4 ETW000  [developertra,00000]  Got ORACLE_HOME=/oracle/DV8/920_64 from environment
    4 ETW000                                                                           73038  0.668390
    4 ETW000  [developertra,00000]  -->oci_initialize                                    589  0.668979
    4 ETW000  [developertra,00000]  Got ORACLE_SID=DV8 from environment                   56  0.669035
    4 ETW000  [developertra,00000]  Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
    4 ETW000                                                                              52  0.669087
    4 ETW000  [developertra,00000]  Logon as OPS$-user to get SAPR3's password            33  0.669120
    4 ETW000  [developertra,00000]  Connecting as /@DV8 on connection 0 ...               91  0.669211
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='', dbname='DV8')       999  0.670210
    4 ETW000  [developertra,00000]  Thu Aug 14 16:58:20 2014                          245280  0.915490
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'olog' failed: rc = 1017       263  0.915753
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                             858  0.916611
    4 ETW000  [developertra,00000]  Try to connect with default password                  38  0.916649
    4 ETW000  [developertra,00000]  Connecting as SAPR3/<pwd>@DV8 on connection 0 ...
    4 ETW000                                                                              53  0.916702
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='SAPR3', dbname='DV8')
    4 ETW000                                                                              46  0.916748
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'olog' failed: rc = 1017    118256  1.035004
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              86  1.035090
    4 ETW000  [developertra,00000]  Got ORACLE_SID=DV8 from environment                  716  1.035806
    4 ETW000  [developertra,00000]  Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
    4 ETW000                                                                              55  1.035861
    4 ETW000  [developertra,00000]  Logon as OPS$-user to get SAPR3's password            33  1.035894
    4 ETW000  [developertra,00000]  Connecting as /@DV8 on connection 0 ...               29  1.035923
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='', dbname='DV8')        28  1.035951
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'olog' failed: rc = 1017    126719  1.162670
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                             165  1.162835
    4 ETW000  [developertra,00000]  Try to connect with default password                  36  1.162871
    4 ETW000  [developertra,00000]  Connecting as SAPR3/<pwd>@DV8 on connection 0 ...
    4 ETW000                                                                              47  1.162918
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='SAPR3', dbname='DV8')
    4 ETW000                                                                              42  1.162960
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'olog' failed: rc = 1017    123784  1.286744
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              70  1.286814
    4 ETW000  [dblink      ,00627]  ***LOG BY2=>sql error 1017   performing CON         1140  1.287954
    4 ETW000  [dblink      ,00627]  ***LOG BY0=>                                          42  1.287996
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DV8'"
    Please help.
    Thanks
    Priyanshu Srivastava

    Hi
    Could you check this SAP Notes Error message
    "ORA-01017: invalid username/password; logon denied
    BR310E Connect to database instance DV8 failed"
    1576837 - ORA-01017: invalid username/password;
    1860519 - SAP fails to connect to the database
    BR
    SS

  • ERROR = CONNECT failed with sql error '1017'

    Hi,
    we are getting the following error when we run r3trans -dx.It is an windows system.
    Here i have attached the trans.log.
    4 ETW000 r3trans version 6.14 (release 700 - 16.10.08 - 16:26:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 30.11.2010 - 08:58:12
    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]  Tue Nov 30 08:58:14 2010                               0  0.000000
    4 ETW000  [dev trc     ,00000]  db_con_init called                                     0  0.000000
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                              0  0.000000
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dboraslib.dll' ...                 0  0.000000
    4 ETW000  [dev trc     ,00000]  load shared library (dboraslib.dll), hdl 0          3857  0.003857
    4 ETW000  [dev trc     ,00000]      using "E:\usr\sap\TQ1\DVEBMGS10\exe\dboraslib.dll"
    4 ETW000                                                                              22  0.003879
    4 ETW000  [dev trc     ,00000]  Library 'dboraslib.dll' loaded                         9  0.003888
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dboraslib.dll
    4 ETW000                                                                              18  0.003906
    4 ETW000  [dev trc     ,00000]  Version of 'dboraslib.dll' is "700.08", patchlevel (0.167)
    4 ETW000                                                                             143  0.004049
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dboraslib.dll
    4 ETW000                                                                              16  0.004065
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dboraslib.dll
    4 ETW000                                                                              25  0.004090
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              18  0.004108
    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                                                                              29  0.004137
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         16  0.004153
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              15  0.004168
    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                                                                              18  0.004186
    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                                                                             223  0.004409
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.0'                 6714  0.011123
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         23  0.011146
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.WE8DEC        2397  0.013543
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPRP1's password           16  0.013559
    4 ETW000  [dev trc     ,00000]  Connecting as /@TQ1 on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    4 ETW000                                                                              22  0.013581
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              18  0.013599
    4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1 0000000006E6C090 000000000032AFF0 0000000006E7E378
    4 ETW000                                                                             109  0.013708
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0     6894  0.020602
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      14  0.020616
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server TQ1 (con_hdl=0,svchp=0000000006E7E238,srvhp=0000000006E80608)
    4 ETW000                                                                              37  0.020653
    4 ETW000  [dev trc     ,00000]  Assigning server context 0000000006E80608 to service context 0000000006E7E238
    4 ETW000                                                                           21591  0.042244
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                        32  0.042276
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0000000006E7E238,srvhp=0000000006E80608,usrhp=000000000032B808)
    4 ETW000                                                                              32  0.042308
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    4 ETW000                                                                           34551  0.076859
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                           23657  0.100516
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1017         13  0.100529
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  12  0.100541
    4 ETW000  [dev trc     ,00000]  Connecting as SAPRP1/<pwd>@TQ1 on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    4 ETW000                                                                              17  0.100558
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              16  0.100574
    4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1 0000000006E6C090 000000000032AFF0 0000000006E7E378
    4 ETW000                                                                              18  0.100592
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 000000000032B808
    4 ETW000                                                                              15  0.100607
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 000000000032B808
    4 ETW000                                                                              23  0.100630
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0000000006E7E238,srvhp=0000000006E80608,usrhp=000000000032B808)
    4 ETW000                                                                              18  0.100648
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    4 ETW000                                                                            3281  0.103929
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              19  0.103948
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1017         10  0.103958
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 1017   performing CON [dblink#5 @ 431]
    4 ETW000                                                                           10634  0.114592
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#5 @ 431]
    4 ETW000                                                                              17  0.114609
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'TQ1'"

    Hi,
    LOG BY0=>ORA-01017: invalid username/password; logon denied
    You need to change your schema users password using "brconnect"
    Try as follow:
    1. Login as ora<sid>
    2. Use below command to reset SAPRP1 users password
    # brconnect  -u system -f chpass -o SAPRP1 -p <new password>
    If it still doesn't work... just set the password as "sap" (it is default password for schema user)
    # brconnect  -u system -f chpass -o SAPRP1 -p sap
    Hope, it helps you...
    Suggestions:
    Above thing will help even if OPS$ mechanism is not set correctly...
    But it is recommended to create and set permissions for OPS$ user. Else some BRTools function will produce errors...
    Relevant notes are already suggested by others...
    Please go through it word by word...
    Regards.
    Rajesh Narkhede

  • ERROR = CONNECT failed with sql error '12518'

    Hi All,
    OS Win 2003 - 32 Bit, Database - Oracle 10.2.0.2 , I am facing this from yesterday, suddenly SAP was done and when i am checking the logs it is not able to connect to the database.
    I have checked the services for oracle - service was down, i have started the oracleService<SID> and also i have restarted the listener.. after this when i am trying to start the SAP through MMC again the problem is face.. and also the oracle service is stopped. when i tried starting the database from OS level it was giving me error like
    ORA-24324: service handle not initialized
    ORA-24323: value not allowed
    ORA-03113: end-of-file on communication channel
    again the Oracle service is stopped i am not getting why the oracle service is stopping..
    dev_w*.log
    Thu Apr 09 10:33:50 2009
    M  calling db_connect ...
    C  Prepending D:\usr\sap\SID\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 /@SID on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   05C84528   05C89AC4   05C8934C
    C  Attaching to DB Server SID (con_hdl=0,svchp=05C89298,svrhp=05C9AB64)

    C Thu Apr 09 10:33:51 2009
    C  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12518
    [dboci.c      4172]
    C  *** ERROR => CONNECT failed with sql error '12518'
    [dbsloci.c    10933]
    C  Try to connect with default password
    C  Connecting as SAPSR3/<pwd>@SM3 on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   05C84528   05C89AC4   05C8934C
    C  Detaching from DB Server (con_hdl=0,svchp=05C89298,srvhp=05C9AB64)
    C  Attaching to DB Server SID (con_hdl=0,svchp=05C89298,svrhp=05C9AB64)
    C  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12518
    [dboci.c      4172]
    C  *** ERROR => CONNECT failed with sql error '12518'
    [dbsloci.c    10933]
    B  ***LOG BY2=> sql error 12518  performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> ORA-12518: TNS:listener could not hand off client connection [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 12518  performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> ORA-12518: TNS:listener could not hand off client connection [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1411]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10156]

    M  Info for wp 16

    M    stat = 4
    M    reqtype = 6
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = V-1

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server hostname_SM3_01 on host tcs042619 (wp 16)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Thu Apr 09 10:33:51 2009
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10354
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc16 7988) [dpnttool.c   327]
    Any suggestions pls
    Mahesh

    Hi Rohit,
    when i check in the sqlnet.log
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SM2\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 04-SEP-2007 15:09:30
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Message 530 not found; No message file for product=NETWORK, facility=TNS
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 08-APR-2009 19:16:32
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 08-APR-2009 19:16:46
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 08-APR-2009 19:19:27
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 08-APR-2009 19:19:28
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 08-APR-2009 19:19:29
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 08-APR-2009 19:26:38
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12518, connecting to:
    (DESCRIPTION=(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=hostname)(PORT=1527))(CONNECT_DATA=(SID=SID)(GLOBAL_NAME=SID.WORLD)(CID=(PROGRAM=D:\usr\sap\SID\SYS\exe\uc\NTI386\R3trans.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 08-APR-2009 20:35:23
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12564
        TNS-12564: TNS:connection refused
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    Fatal NI connect error 12518, connecting to:
    (DESCRIPTION=(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=hostname)(PORT=1527))(CONNECT_DATA=(SID=SID)(GLOBAL_NAME=SID.WORLD)(CID=(PROGRAM=D:\usr\sap\SID\SYS\exe\uc\NTI386\R3trans.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 08-APR-2009 20:35:23
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12564
        TNS-12564: TNS:connection refused
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 09-APR-2009 09:15:43
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
      VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
      Time: 09-APR-2009 09:17:28
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    This error occured when the oracle service was  not started..
    Mahesh..

  • Trans.log file showing  'ERROR = CONNECT failed with sql error 12541'

    Dear All
    We have upgraded our datatabse from Oracle 9.2.0.8 to Oracel 10.2.0.4 on our ECC 5.0 IS-AFS SAP system. When we check version from SQL, it's showing 10.2.0.4. That means database is successfully upgraded. Now, when we login through our <SID>adm user and checking R3trans -d, it is showing
    'This is R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'V
    AP'"
    R3trans finished (0012).'
    In the trans.log file it is showing,
    4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 22.06.2009 - 11:56:40
    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]  Mon Jun 22 11:56:40 2009                             110  0.000
    110
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    27  0.000
    137
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             62  0.000
    199
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              77  0.000
    276
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/VAP/SYS/exe/run/dboraslib.o), hdl
    0
    4 ETW000                                                                            8142  0.008
    418
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              43  0.008
    461
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/VAP/SYS/exe/r
    un/dboraslib.o
    4 ETW000                                                                              61  0.008
    522
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/VAP/SYS/exe/run/dboraslib.o' is "640.00",
    patchlevel (0.276)
    4 ETW000                                                                             421  0.008
    943
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/VAP/SYS/exe/
    run/dboraslib.o
    4 ETW000                                                                              46  0.008
    989
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/VAP/SYS/exe
    /run/dboraslib.o
    4 ETW000                                                                              75  0.009
    064
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              48  0.009
    112
    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                                                                              53  0.009
    165
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         55  0.009
    220
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              53  0.009
    273
    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                                                                              49  0.009
    322
    4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/VAP/102_64 from environment
    4 ETW000                                                                             521  0.009
    843
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         84  0.009
    927
    4 ETW000  [dev trc     ,00000]  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    4 ETW000                                                                              65  0.009
    992
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          2033  0.012
    025
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPVAP's password           49  0.012
    074
    4 ETW000  [dev trc     ,00000]  Connecting as /@VAP on connection 0 (nls_hdl 0) ... (dbsl 640 1
    80309)
    4 ETW000                                                                              57  0.012
    131
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C
          EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              49  0.012
    180
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1
    0x1113a4400 0x1113b6b00 0x1113b63b8
    4 ETW000                                                                              58  0.012
    238
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       48  0.012
    286
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      42  0.012
    328
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server VAP (con_hdl=0,svchp=0x1113b97d8,srvhp=0
    x1113b99f8)
    4 ETW000                                                                              95  0.012
    423
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    4 ETW000                                                                            4556  0.016
    979
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error 12541.
    4 ETW000                                                                              59  0.017
    038
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12541        39  0.017
    077
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                 184  0.017
    261
    4 ETW000  [dev trc     ,00000]  Connecting as SAPVAP/<pwd>@VAP on connection 0 (nls_hdl 0) ...
    (dbsl 640 180309)
    4 ETW000                                                                              46  0.017
    307
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C
          EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              48  0.017
    355
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1
    0x1113a4400 0x1113b6b00 0x1113b63b8
    4 ETW000                                                                              48  0.017
    403
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=0,svrhp=0x1113b99f8)
    4 ETW000                                                                              54  0.017
    457
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x1113b97d8,srvhp=0x1
    113b99f8)
    4 ETW000                                                                              54  0.017
    511
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x1113b99f8        42  0.017
    553
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      33  0.017
    586
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server VAP (con_hdl=0,svchp=0x1113b97d8,srvhp=0
    x1113b99f8)
    4 ETW000                                                                              54  0.017
    640
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    4 ETW000                                                                            2547  0.020
    187
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error 12541.
    4 ETW000                                                                              45  0.020
    232
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12541        28  0.020
    260
    4 ETW000  [dblink      ,00428]  ***LOG BY2=>sql error 12541  performing CON [dblink#3 @ 428]
    4 ETW000                                                                             220  0.020
    480
    4 ETW000  [dblink      ,00428]  ***LOG BY0=>ORA-12541: TNS:no listener [dblink#3 @ 428]
    4 ETW000                                                                              42  0.020
    522
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'V
    AP'"
    Checked the listener service. It is already started and status is OK. Please help.
    Regards
    Shashank Shekhar

    Hi
    Yes, I am trying it with orasid user also. There in trans.log file it is showing:
    '4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 22.06.2009 - 15:54:42
    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]  Mon Jun 22 15:54:42 2009                             109  0.000
    109
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    27  0.000
    136
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             61  0.000
    197
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              79  0.000
    276
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/VAP/SYS/exe/run/dboraslib.o), hdl
    0
    4 ETW000                                                                            8174  0.008
    450
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              43  0.008
    493
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/VAP/SYS/exe/r
    un/dboraslib.o
    4 ETW000                                                                              61  0.008
    554
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/VAP/SYS/exe/run/dboraslib.o' is "640.00",
    patchlevel (0.276)
    4 ETW000                                                                             430  0.008
    984
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/VAP/SYS/exe/
    run/dboraslib.o
    4 ETW000                                                                              46  0.009
    030
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/VAP/SYS/exe
    /run/dboraslib.o
    4 ETW000                                                                              76  0.009
    106
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              48  0.009
    154
    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                                                                              53  0.009
    207
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         57  0.009
    264
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              54  0.009
    318
    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                                                                              49  0.009
    367
    4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/VAP/102_64 from environment
    4 ETW000                                                                             526  0.009
    893
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         84  0.009
    977
    4 ETW000  [dev trc     ,00000]  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    4 ETW000                                                                              64  0.010
    041
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIEnvCreate(mode=16384)' failed: rc = -
    1
    4 ETW000                                                                            1464  0.011
    505
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code -1           40  0.011
    545
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
    4 ETW000                                                                              58  0.011
    603
    4 ETW000  [dblink      ,00428]  ***LOG BY2=>sql error -1     performing CON [dblink#3 @ 428]
    4 ETW000                                                                              74  0.011
    677
    4 ETW000  [dblink      ,00428]  ***LOG BY0=>Cannot get Oracle error text. [dblink#3 @ 428]
    4 ETW000                                                                              55  0.011
    732
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'V
    AP'"
    Someone suggested 'The solution is to download the new oracle client dll into the kernel'. Can anyone tell from where i can get the client dll for the kernel.
    Regards
    Shashank Shekhar

  • SQL error "-601" occurred when accessing table "SMEN_BUFFC

    Hi Guys
    I am getting the above error at tiem when i am logging on.
    The actual error message in the st22 dump is
    Database error text........: "SMEN_BUFH5 in R3EPT32000 type *SQLPKG already    
    exists. Job=018343/EPT01/WP00" 
    The termination occurred in the ABAP/4 program "SAPLSMTR_NAVIGATION_MODULES "
    in                                                                          
    "SMTR_STRU_PROCESS_STRUCTURE".                                               
    The main program was "SAPLSMTR_NAVIGATION ". 
    This seems to happen when some users log on to the system and then tries to change their password. If I stop sap and start it again, the rror goes away.
    I have actually deleted the sql package with the command
    DLTSQLPKG R3EPT32000\SMEN_BUFH5.
    This seem to work but after a while the erro comes back again

    Dear Christian,
    at the moment in our Productive system we have hundreds of Dumps: nearly at every log on user get a DUMP with the well known message.
    Analyzing develoepr trace we find following information:
    C Wed Mar 14 09:54:35 2007    
    C  Concurrent prepare happened for SIPID
    C  Library name: R3S1132000                                                                           
    C  Package name: SMEN_BUFH5
    C  Statement name: "QL1YQAAAAAFC"
    C  SQL Error: -601
    C  *** ERROR => Error -601 in function prep_cached_op [dbsldb4.cpp  7057]
    C  Library name: R3S1132000                                                                           
    C  Package name: SMEN_BUFH5
    C  Statement name: "QL1YQAAAAAFC" 
    C  Failing statement is:                                                                               
    C  , SELECT   *   FROM  R3S11DATA/"SMEN_BUFFC" WHERE  "MANDT" = ? AND  "UNAME" = ?  WITH UR           
    B  ***LOG BY4=> sql error -601   performing PRE on table SMEN_BUFFC [dbtran  7009 ]                   
    B  ***LOG BY0=> SMEN_BUFH5 in R3S1132000 tipo *SQLPKG esiste gi{. Job=251690/S1100/WP12 [dbtran  7009 ]
    B  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'PRE'                                                      
    B   FHDR: {tab='SMEN_BUFFC                    ',
    fcode=53, mode=2, bpb=0, dbcnt=0, crsr=1,
    B          hold=0, keep=1, xfer=2, pkg=0, upto=0, init:b=0,                                           
    B          init:p=0000000000000000, init:#=278, wa:p=0000000000000000, wa:#=278}                      
    B  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'PRE'                                                      
    B   STMT:                                    
    B   CRSR: {tab='SMEN_BUFFC                    ', id=-1, hold=0, prop=0x10000, max.in@0=1, fae:blk=10, 
    B          con:nm='R/3', con:id=0, con:vndr=2, val=2,                                                 
    B          key:1=0, key:#=6, xfer=2, xin:#=0, xout:#=0, upto=0,                                       
    B          wa:p=000000800440C380, init:p=00000090D4CF4DF8, init:#=15, init:b=0}                       
    Additionaly we also tried to delete only mentioned SQL package (while system was running), but without succes.
    What do you think?
    Giuseppe

  • SQL error 942 when logging into shadow system ECC 6.0 upgrade

    Hello,
    I am upgrading an ECC 5.0 system to ECC 6.0, and am trying to log into the shadow system to correct a few activation errors. With just about every transaction I attempt, I get the following error:
    SQL error 942 occurred while accessing program SAPM
    Here is an excerpt from the relevant trace file under /usr/sap/put/<SID>/<Instance>/work:
    A  GENER request remote generation: SAPMS380.
    A  GENER starting inline generation: SAPMS380 (reason: no process available fo
    r remote generation).
    A  GENER got lock for program SAPMS380.
    C  *** ERROR => OCI-call 'OCILobWrite' failed with rc=942
    [dboci.c      2561]
    C  *** ERROR => ORA-942 occurred when writing to a LOB
    [dbsloci.c    10366]
    C  sc_p=112780f80,no=112,idc_p=1127973a0,con=0,act=1,slen=123,smax=1024,#vars=5,
    stmt=11315e9c0,table=REPOLOAD
    C  prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=1,upsh_p=0,ocistmth_p=11315f5b8
    C  IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=45,vmax=3
    2,bound=1,iobuf_p=112b1c8a0,vda_p=113161020
    C       lobs=1,lmax=4,lpcnt=0,larr=112b1b4c0,lcurr_p=0,rret=0
    C  OUT: cols=1,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=1,upto=0,rsize=4,vmax=64,bound=0,
    iobuf_p=0,vda_p=1131617a0
    C       lobs=1,lmax=4,lpcnt=1,larr=112b1b5c0,lcurr_p=112b1b5c0,rret=1
    C  UPDATE "REPOLOAD" SET "QDATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A
    2 AND "MACH" = :A3  RET\
    C  URNING "QDATA" INTO :A4;
    B  ***LOG BY4=> sql error 942    performing PUT on table REPOLOAD   [dbrepolo#?
    @ 964] [dbrepolo0964 ]
    B  ***LOG BY0=> ORA-00942: table or view does not exist [dbrepolo#? @ 964] [dbre
    polo0964 ]
    Table REPOLOAD does exist. I am investigating whether it has something to do with the SAPUSER table, but I would appreciate any other ideas anyone may have. I did not encounter this error until the phase ACT_700.
    Regards,
    L. Lessmiller

    Hello Sunny,
    Thanks for your reply. I have looked at Notes 662644 and 400241 thoroughly and cannot find anything wrong with privileges for SAPR3 or SAPR3SHD, nor can I find anything wrong with the OPS$ mechanism.
    Regards,
    L. Lessmiller

  • SQL error 376: 'ORA-00376: file 12 cannot be read at this time

    While installing Appl Patch set SAPKH70010- SAPKH70013 I received followingerror ,
    SQL_fehler in der Datenbank beim Zugriff auf eine
    Following is output of the dev_w0 logfile.
    C SELECT TLINE, SEQNO FROM SNAPT WHERE LANGU = :A0 AND ERRID = :A1 AND TTYPE = :A2 ORDER BY SEQNO;
    B ***LOG BY2=> sql error 376 performing FET dbds#1 @ 592 dbds 0592
    B ***LOG BY0=> ORA-00376: file 12 cannot be read at this time
    ORA-01110: data file 12: '/oracle/RTQ/sapdata2/sr3_9/sr3.data9' dbds#1 @ 592 dbds 0592
    C OCI-call failed with -1=OCI_ERROR
    C SQL error 376: 'ORA-00376: file 12 cannot be read at this time
    C ORA-01110: data file 12: '/oracle/RTQ/sapdata2/sr3_9/sr3.data9''
    C *** ERROR => Error 376 in stmt_fetch() from oci_execute_stmt(), orpc=0
    http://dbsloci.c 12861
    C *** ERROR => ORA-376 occurred when executing SQL stmt (parse error offset=0)
    http://dbsloci.c 12880
    C sc_p=0x106d644c8,no=227,idc_p=(nil),con=0,act=1,slen=95,smax=256,#vars=3,stmt=0x108563c80,table=SNAPT
    C SELECT TLINE, SEQNO FROM SNAPT WHERE LANGU = :A0 AND ERRID = :A1 AND TTYPE = :A2 ORDER BY SEQNO;
    C sc_p=0x106d644c8,no=227,idc_p=(nil),con=0,act=1,slen=95,smax=256,#vars=3,stmt=0x108563c80,table=SNAPT
    C prep=0,lit=0,nsql=1,lobret=0,#exec=1,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1085649b0
    C IN : cols=3,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=42,vmax=32,bound=1,iobuf_p=0x1070cf7d0,vda_p=0x1074f664
    0
    C lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    C OUT: cols=2,rmax=208,xcnt=208,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=152,vmax=32,bound=1,iobuf_p=0x1070e9f50,vda_p=0x108
    565000
    According this i checked file
    ORA-01110: data file 12: '/oracle/RTQ/sapdata2/sr3_9/sr3.data9''
    This file is in RECOVER mode.
    my SAP application ECC6.9 is running.
    Oracle is also running.
    I do not have any oracle backup
    For any transaction the system is giving following error,
    "SQL_fehler in der Datenbank beim Zugriff auf eine"
    Please advice.

    Hi PushpaMitra,
    Check below note.
    Note 328785 - ORA-00376: File cannot be read at this time
    Regards
    Ashok

  • Error getting while adding BI patch (SQL error 1089 accessing)

    Dear Experts ,
    here i faced one problem while adding BI patch to newely installed system
    the error is at phase import_proper below are shown error log
    /usr/sap/trans/log/SAPI-704IFINBICONT.LBD
    ERROR LOG
    Start import R3TRFUGR/POSDW/CONVERSION_XML ...
    1 entry for TADIR updated (R3TRFUGR/POSDW/CONVERSION_XML ).
    2 entries from TFTIT deleted (pname /POSDW/SAPLCONVERSION_XML)
    7 entries from FUPARAREF deleted (pname /POSDW/SAPLCONVERSION_XML)
    2 entries from ENLFDIR deleted (pname /POSDW/SAPLCONVERSION_XML)
    2 entries from TFDIR deleted (pname /POSDW/SAPLCONVERSION_XML)
    dev trc ,00000 Fri Oct 1 10:28:27 2010 -649694573 88072.488603
    dev trc ,00000 OCI-call failed with -1=OCI_ERROR 44 88072.488647
    dev trc ,00000 SQL error 1089: 'ORA-01089: immediate shutdown in progress - no operations are permitted'
    50 88072.488697
    http://dbsloci. ,00000 *** ERROR => Error 1089 in stmt_fetch() from oci_execute_stmt(), orpc=0
    59 88072.488756
    http://dbsloci. ,00000 *** ERROR => ORA-1089 occurred when executing SQL stmt (parse error offset=0)
    50 88072.488806
    dev trc ,00000 sc_p=0x110f364a8,no=27,idc_p=0x110f4ece0,con=0,act=1,slen=68,smax=256,#vars=1,stmt=0x111799cc0,table=D010INC
    57 88072.488863
    dev trc ,00000 SELECT MASTER FROM D010INC WHERE INCLUDE = :A0 ORDER BY MASTER;
    47 88072.488910
    dev trc ,00000 sc_p=0x110f364a8,no=27,idc_p=0x110f4ece0,con=0,act=1,slen=68,smax=256,#vars=1,stmt=0x111799cc0,table=D010INC
    113 88072.489023
    dev trc ,00000 prep=0,lit=0,nsql=0,lobret=0,#exec=972,dbcnt=0,upsh_p=(nil),ocistmth_p=0x11179a658
    50 88072.489073
    dev trc ,00000 IN : cols=1,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=80,vmax=32,bound=1,iobuf_p=0x111083a40,v
    69 88072.489142
    dev trc ,00000 lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    46 88072.489188
    dev trc ,00000 OUT: cols=1,rmax=792,xcnt=792,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=80,vmax=32,bound=1,iobuf_p=0x111225e
    54 88072.489242
    dev trc ,00000 lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    46 88072.489288
    dev trc ,00000 SELECT MASTER FROM D010INC WHERE INCLUDE = :A0 ORDER BY MASTER;
    46 88072.489334
    dbrepo ,06599 ***LOG BY4=>sql error 1089 performing FET on table D010INC dbrepo#4 @ 6599
    72 88072.489406
    dbrepo ,06599 ***LOG BY0=>ORA-01089: immediate shutdown in progress - no operations are permitted dbrepo#4 @ 6599
    50 88072.489456
    sap_dext called with msgnr 1:
    db call info
    function: db_report_interface
    fcode: READ_MASTERS
    tabname: SOURCE
    len (char): 40
    key: /POSDW/LCONVERSION_XML$01
    retcode: 1
    SQL error 1089 accessing : ORA-01089: immediate shutdown in progress - no ope
    Main import
    End date and time : 20101001102827
    Ended with return code: ===> 12 <===
    please clarefy me how can i solve this my issue
    Regards

    Dear Smathi,
    Based on the error, Error 1089 in stmt_fetch,  can you please check this error message with your database
    administrator? Please have a look at note #551.
    Regards,
    Shimon Zafrir

  • 7.8.01.17: "Bushy trees"? SQL-Error -7096

    While trying to do a normal search function in transaction SE30 the system dumps with (gave me a good first laugh):
    **LOG BY4=> sql error -7069  performing PRE on table OBJS       [dbtran#4 @ 7588] [dbtran  7588 ]
    **LOG BY0=> POS(1) Outer/Semi join with bushy trees not allowed [dbtran#4 @ 7588] [dbtran  7588 ]
    I fiddled already with the parameters
    EnableOuterJoinOptimization NO
    EnableOnePhaseJoin NO
    but that all doesn't really help.
    The statement is the following:
    SELECT
      T_00 . "OBJECTNAME" , T_01 . "DDTEXT" , T_00 . "OBJECTTYPE" ,
      T_02 . "MAINFLAG"
    FROM
      "OBJS" T_00 INNER JOIN "DD25V" T_01 ON T_00 . "OBJECTNAME" = T_01 . "VIEWNAME"
      LEFT OUTER JOIN "DD02L" T_02 ON T_02 . "TABNAME" = T_01 . "VIEWNAME" AND T_02
      . "AS4LOCAL" = T_01 . "AS4LOCAL" AND T_02 . "AS4VERS" = T_01 . "AS4VERS"
    WHERE
      T_00 . "OBJECTTYPE" = ? AND T_00 . "TABNAME" = ? AND T_00 . "DDIC" = ? AND
      T_01 . "AS4LOCAL" = ?
    Any idea which one of the join parameters needs to be adapted? Or is this a query rewrite problem? Can't check that using ST05 (PREPARE-EXECUTE).
    Markus

    Hi Holger,
    thank you for that hint - I tried immediately but - this doesn't make a change unfortunately, the error ist still occuring.
    sqlcli T01=> select rulename,active from queryrewriterules
    | RULENAME                         | ACTIVE |
    | -------------------------------- | ------ |
    | AddLocalPredicates               | YES    |
    | CombineExternalSelects           | YES    |
    | CombineToAnyOrAll                | YES    |
    | ConvertExceptToAntiSemiJoin      | YES    |
    | ConvertIntersectToSemiJoin       | YES    |
    | ConvertUnionToORQuery            | YES    |
    | DistinctPullUp                   | YES    |
    | DistinctPushDown                 | YES    |
    | FlattenSubqueries                | YES    |
    | MergeQueries                     | YES    |
    | OptimizeAggregates               | YES    |
    | OptimizeExpressions              | YES    |
    | OptimizeJoins                    | NO     |
    | OptimizePredicates               | YES    |
    | OptimizeSubqueries               | YES    |
    | PushDownJoins                    | YES    |
    | PushDownPredicates               | YES    |
    | PushDownProjection               | YES    |
    | RemoveDispensableConstants       | YES    |
    | RemoveDispensableGroupBy         | YES    |
    | RemoveDispensableOrderBy         | YES    |
    | ReorderJoins                     | YES    |
    | ReorderPredicates                | YES    |
    | ReorderUnions                    | YES    |
    | SubstituteBushyJoins             | YES    |
    | SubstituteViews                  | YES    |
    26 rows selected (1649 usec)
    I meanwhile opened an OSS call (0700700/2010)
    Markus

  • SQL Error 207 when using Query Designer

    Hi experts I hope you can help me out with this it is urgent!
    I am crating a Query on the query designer NW04s, when I add a column from my info provider I get the following error:
    CX_SQL_EXCEPTION Occurred (program: cl_sql_statement========cp etc.
    I check the WP log and I found this:
    C Wed Jan 31 10:22:59 2007
    C  sloledb.cpp [ParamStmtExec,line 12768]: Error/Message: (err 207, sev 16), Invalid column name 'TXTMD'.
    C  Procname: [##Y4CWP_JFR_wpf00000074440000296924022803]
    C  sloledb.cpp [ParamStmtExec,line 12768]: Error/Message: (err 207, sev 16), Invalid column name 'TXTSH'.
    C  Procname: [##Y4CWP_JFR_wpf00000074440000296924022803]
    C  sloledb.cpp [ParamStmtExec,line 12768]: Error/Message: (err 207, sev 16), Invalid column name 'LANGU'.
    C  Procname: [##Y4CWP_JFR_wpf00000074440000296924022803]
    C  sloledb.cpp [ParamStmtExec,line 12768]: Error/Message: (err 207, sev 16), Invalid column name 'CURRENCY'.
    C  Procname: [##Y4CWP_JFR_wpf00000074440000296924022803]
    C  ParamStmtExec failed.  HR 80040e14 DBSL retcode 100. stmt: [select [S00].[CURRENCY]  AS [0000000023] , [T00].[TXTSH]  AS [0000000
    C  /* R3:CL_SQL_STATEMENT==============CP:399 T:/BI0/SCURRENCY */
    C  ]
    C  Conn_i:1 selection:1 singleton:0 flag_fupd:0 use_cursor:0 chksum: 1122000
    C  dbdsmss: DBSL100 SQL207
    C  Invalid column name 'CURRENCY'.Invalid column name 'LANGU'.Invalid column name 'TXTSH'.Invalid column name 'TXTMD'.
    B  ***LOG BY2=> sql error 207        performing OPC        [dbds#1 @ 482] [dbds    0482 ]
    B  ***LOG BY0=> Invalid column name 'CURRENCY'.Invalid column name 'LANGU'.Invalid column name 'TXTSH'.Invalid column name 'TXTMD'.
    B  ***LOG BY1=> sql error 207        [dbacds#2 @ 1422] [dbacds  1422 ]
    C  sloledb.cpp [ParamStmtExec,line 12768]: Error/Message: (err 207, sev 16), Invalid column name 'TXTMD'.
    C  Procname: [##Y4CWP_JFR_wpf00000074440000296940022803]
    C  sloledb.cpp [ParamStmtExec,line 12768]: Error/Message: (err 207, sev 16), Invalid column name 'LANGU'.
    C  Procname: [##Y4CWP_JFR_wpf00000074440000296940022803]
    C  sloledb.cpp [ParamStmtExec,line 12768]: Error/Message: (err 207, sev 16), Invalid column name 'UNIT'.
    C  Procname: [##Y4CWP_JFR_wpf00000074440000296940022803]
    C  ParamStmtExec failed.  HR 80040e14 DBSL retcode 100. stmt: [select [S00].[UNIT]  AS [0000000008] , [T00].[TXTMD]  AS [0000000008_
    C  /* R3:CL_SQL_STATEMENT==============CP:399 T:/BI0/SUNIT */
    C  ]
    Dont know what is going on,
    Regards,
    Alejandro.

    Hi Its quite difficult to analyze,however are you on latest FEP SP 11??
    if not try downloading from
    service.sap.com/swdc>Download>support packages and patches>Ebtry by application component>Support Packages and Patches" SAP Frontend Components" SAP GUI FOR WINDOWS" SAP GUI FOR WINDOWS 6.40-->Win 32
    for 3.x front end bw350_11-10001615.exe
    for Nw2004s front end - Bw700SP11_1100-10001615.exe
    Hope it Helps
    Chetan
    @CP..

  • SQL Developer Error 12505 TNS:listener does not currently know of SID given

    Hi all I got this error 12505 today when trying to fire up sql developer. I have tried skimming through the forums for a possible solution yet none has been found which workes on my pc.
    My specs are :
    OS: Windows 7 Home Premium*
    DB: Oracle 11g Express Edition
    My listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = XE)
    (ORACLE_HOME = C:\app\Enric0\product\11.2.0\dbhome_3)
    (SID_DESC =
         (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\app\Enric0\product\11.2.0\dbhome_3)
    (PROGRAM = extproc)
         (SID_DESC =
         (SID_NAME = CLRExtProc)
         (ORACLE_HOME = C:\app\Enric0\product\11.2.0\dbhome_3)
         (PROGRAM = extproc)
    my tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST= localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    lsnrctl status gives me this
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 12-FEB-2013 22:22
    :14
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 12-FEB-2013 22:00:29
    Uptime 0 days 0 hr. 21 min. 48 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\Enric0-PC\listener
    \alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Enric0-PC)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, 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
    lsnrctl service gives me this
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 12-FEB-2013 22:23
    :34
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    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
    and tnsping xe gives me this
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 12-FEB-2
    013 22:24:12
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Enric0-P
    C)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (0 msec)
    This error occurred to me before and I reinstalled oracle xe and developer and it worked. Yet now it has returned and I kinda wanna fix it cos it's been buggin' me a lot. Any help would be greatly appreciated. Thanks for your attention.

    986483 wrote:
    Hi all I got this error 12505 today when trying to fire up sql developer. I have tried skimming through the forums for a possible solution yet none has been found which workes on my pc.
    My specs are :
    OS: Windows 7 Home Premium*
    NO Oracle version is ever certified or supported on any Home Edition of Windows.
    It appears that the DB has not yet been started.

  • Getting error SQL Error : ORA-14551: cannot perform a DML operation inside a query

    Hi gurus ,
    Your help is greatly appreciated ..
    I am doing some changes in the fucntion for an existing package .Introducing the new below check , am updating one of the tables based on a if condition ..
           IF  numALLOWED_COUNT >= numLAST_COUNT_ADDED+1  THEN
                     blnGDS_Allowed :=True;
                      varSTMT := 'UPDATE PROD.TMS_PROCESS_COUNTER ';
                      varSTMT := varSTMT ||' SET last_count_added = last_count_added+1';
                      varSTMT := varSTMT ||' WHERE process_name = ''DAILY_GDS_COUNT''';
                      varSTMT := varSTMT ||' AND COUNTER_IND = ''750FD130''';
                     PROC_LOG('Update Tms_Process_counter varSTMT --' || varSTMT);
                     IF INSERT_BATCH(99,varSTMT) > 0 THEN
                        NULL;
                     END IF;
    Function for insert_batch :
    UNCTION INSERT_BATCH(numTABLE_ID IN NUMBER, varSQL_STATEMENT IN VARCHAR2) RETURN NUMBER IS
    varINSERT_BATCH_STMT  VARCHAR2(32767)     := NULL;
    varADD_REC_TYPE       BATCH_TABLES.ADD_REC_TYPE%TYPE;
    BEGIN
        PROC_LOG( 'INSIDE INSERT_BATCH IRC : ' || varSQL_STATEMENT );  --IRC 9/20 UC
        INSERT INTO BATCH_STATEMENT(QUEUE_ID,TABLE_ID,STATEMENT,QUEUE_SEQUENCE_ID)
        VALUES (numQUEUE_ID,numTABLE_ID,varSQL_STATEMENT,1);
    RETURN 1;
    EXCEPTION WHEN OTHERS THEN
        PROC_LOG('Failed in INSERT_BATCH');
        PROC_LOG('SQL Error : ' || SUBSTR(SQLERRM,1,1000));
        RETURN -1;
    END INSERT_BATCH;
    desc PROD.BATCH_STATEMENT
      QUEUE_ID           NUMBER(15)                 NOT NULL
      TABLE_ID           NUMBER(2)                  NOT NULL
      STATEMENT          VARCHAR2(4000 BYTE)        NOT NULL
      QUEUE_SEQUENCE_ID  NUMBER(5)                  NOT NULL
    Some how when its calling the insert_batch , its giving me the error in the logs as below:
    04:01:41 - Update Tms_Process_counter varSTMT --UPDATE PROD.TMS_PROCESS_COUNTER  SET last_count_added = last_count_added+1 WHERE process_name = 'DAILY_GDS_COUNT' AND COUNTER_IND = '750FD130'
    04:01:41 - INSIDE INSERT_BATCH IRC : UPDATE PROD.TMS_PROCESS_COUNTER  SET last_count_added = last_count_added+1 WHERE process_name = 'DAILY_GDS_COUNT' AND COUNTER_IND = '750FD130'
    04:01:41 - Failed in INSERT_BATCH
    04:01:41 - SQL Error : ORA-14551: cannot perform a DML operation inside a query

    Some how when its calling the insert_batch , its giving me the error in the logs as below:
    04:01:41 - SQL Error : ORA-14551: cannot perform a DML operation inside a query
    Yes - and the exception is telling you EXACTLY what the problem is. You have a query
    IF INSERT_BATCH(99,varSTMT) > 0 THEN
    And you are performing a DML operation inside that query:
    INSERT INTO BATCH_STATEMENT(QUEUE_ID,TABLE_ID,STATEMENT,QUEUE_SEQUENCE_ID)
        VALUES (numQUEUE_ID,numTABLE_ID,varSQL_STATEMENT,1);
    Like the exception says: you can't do that.
    You need to call the function using PL/SQL and capture the return value into a variable. Then test that variable:
    myVar := INSERT_BATCH(99,varSTMT);
    if myVar > 0 THEN

Maybe you are looking for

  • Journal Creation for Prepayment PO

    Hi, We have the below requirement in 11i: We create a accrual PO for one year for rent ( eg - PO for a rent of Rs.12000 for the period Apr 2010- Apr 2011 ). Every month we run reports to fetch details about 'Partially paid' and 'Fully Unpaid' POs , e

  • Signature option in Adobe Reader.

    Why is the signature option in Adobe Reader one "greyed out" for iPad users, you can no longer access your signatures and add them to a document ?

  • Anyone listening? 9 has a bug

    at this point i can only describe release 9's "Determining audio volume" performance as a bug. aside from the fact that the user has no control over this "determination," which is of questionable utility anyway, the process itself is a cycle hog and

  • Problems with certain text appearing once exported as HTML on my third party hosting site

    Hello, I am experiencing problems with how certain text is appearing on my website www.pplmedia.com/speakers. Most of the text is appearing how I want it to once I have exported it out of Muse, but for a reason I can not rectify, certain text is comi

  • Mountain lion slow to start system

    well, i am update my ML yesterday, i have 8G memory core 2 duo 2.6 hd 500gb. anyway my mountain lion now need like 4 5 minutes to load when i am restart, before i load system very fast in 40 seconds. and the first minutes after load the system everyt