Logon from BIP Desktop - username/password details shown in logfile

When user logs in to BIP Enterprise from BIP Desktop, the logon details are recorded in the logfile - this poses a security issue. Is there any way of preventing at least the password from being written to the logfile?

Hi Tim,
Sorry for my late answer.
Turning off loging is not possible for production. There will be too many requests from our internal users like "why didn't that work"...
Additionally to that - there is a big security issue if the BI Publisher Plugin connects to BI Publisher standalone server with HTTP. You probably should provide an HTTPS-Interface.
kind regards and have a nice weekend
Matthias
Edited by: user11133609 on 25.09.2009 06:59

Similar Messages

  • ORA-01017: invalid username/password; logon denied from EM 12c

    Hi:
    I saw one of our databases in the EM 12c has red arrow. When I clicked on the database, on top of the screen says "ORA-01017: invalid username/password; logon denied". I have checked dbsnmp and it was blocked so I unblocked it and reset the password. The system password is good. Would you please some one tell me what is the problem?

    870765 wrote:
    Hi:
    I saw one of our databases in the EM 12c has red arrow. When I clicked on the database, on top of the screen says "ORA-01017: invalid username/password; logon denied". I have checked dbsnmp and it was blocked so I unblocked it and reset the password. The system password is good. Would you please some one tell me what is the problem?Please see these docs.
    EM 12c DBSNMP Failed Login Attempt constantl Reported (ORA-01017) by Audit Software [ID 1524694.1]
    Grid Control shows Metric Collection Error ORA-1017 for Database Target [ID 300912.1]
    Eoblem: Database Metric Collections Fail With Ora-1017 Errors In emagent.trc [ID 272556.1]
    EMCA 11g Fails With Error "ORA-01017: invalid username/password; logon denied" and "invalid username/password; For DBSNMP or SYSMAN User" [ID 741530.1]
    How to Set Credentials in Grid Control 12c for E-Business Suite Plug-in [ID 1490884.1]
    Thanks,
    Hussein

  • Logon from Forms

    Hi,
    I have a logon form that accepts username, password and connection string.
    On clicking OK, I have to log into the system.
    I have a code like:
    logon( l_username, l_password ||'@'||l_connect)
    This works perfectly fine when I run the form, but when I call the form from a webpage,
    I get a ORA-03114 error.
    are there any settings required on the webserver?
    FYI: I am using iAS web-server
    thanks and regards,
    Chandra

    There is a fundamental difference when starting the Forms from the Developer directly or when deploying it to the Application Server.
    When starting a form from developer, the so created run-time session inherits username/password and connect-string from the developer session (at least I think so).
    When deploying it to the AS, the forms run-time environment uses its own name resolution to create a session to the database. Check the tnsnames.ora file in $ORACLE_HOME/network/admin within the Oracle AS installation and compare it to $ORACLE_HOME/network/admin/tnsnames.ora in the Oracle-Home of the developer suite. There should be a difference.
    To make thinks easier : set the TNS_ADMIN environment parameter in Windows pointing to the $ORACLE_HOME/network/admin in the Oracle-Home of the developer suite...
    Open a dos-prompt and issue tnsping <instance-name> to see which parameter files will be currently used for name resolution
    Message was edited by:
    user434854

  • How to update host username/password in RMAN - 10g Enterprise manager bkp

    Hi,
    We have RMAN - 10g Enterprise manager scheduled.
    Last week we changed OS - Oracle password.
    Now backups are failing.
    Please let me know where to update Host username/password details in 10g Enterprise manager...

    it is showing sys credentials only.
    I see the following tips in Enterprise manager.
    "Normal credentials are used by Enterprise Manager functions that need operating system access but do not require administrator privileges. Privileged credentials are used by functions that do need administrator privileges. Database functions and jobs that require host credentials do not use the credentials set on this page; they instead use database-specific host credentials set on the Database Preferred Credentials page."
    Please let me know where can i set database-specific host credentials ?
    Message was edited by:
    user589334

  • Retrieve username, Password and current database

    hi all,
    when i m logged in oracle, how can i from PL/SQL get the current user name and the password and the current database. i want this because i wrote a proc with many parameters and to hold the count of this parameters small i thought that the proc retrieve automatically this Infos about the caller (which is the current user).
    is there any way to do this??

    you will get encrypted password with current user by query 1 Can you explain how?
    SQL> show user
    USER is "SYS"
    SQL>
    SQL> select username,password from encrypted_users where username in (select user from dual);
    select username,password from encrypted_users where username in (select user from dual)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> select * from dba_objects where object_name = upper('encrypted_users') ;
    no rows selected
    SQL> select * from dba_objects where object_name like '%'||upper('encrypted%users')||'%' ;
    no rows selected
    SQL>

  • ORA-01017: invalid username/password; logon denied quality system refresh from production

    Dear All;
    I am in the post activities of SAP system refresh.
    I restored the system using brtools successfully as you can see below:
    then I went with the rest of the steps based on sap recomendations, and reached to SAP sql queries:
    CREATE USER "OPS$<DOMAIN>\<SID>ADM" DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
    CREATE USER "OPS$<DOMAIN>\SAPSERVICE<SID>" DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
    GRANT CONNECT, RESOURCE, SAPDBA TO "OPS$<DOMAIN>\<SID>ADM";
    GRANT CONNECT, RESOURCE, SAPDBA TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
    CREATE TABLE "OPS$<DOMAIN>\<SID>ADM".SAPUSER (USERID VARCHAR2(256), PASSWD VARCHAR2(256));
    INSERT INTO "OPS$<DOMAIN>\<SID>ADM".SAPUSER VALUES ('SAPSR3', '<Password>');
    CREATE SYNONYM "OPS$<DOMAIN>\SAPSERVICE<SID>".SAPUSER FOR "OPS$<DOMAIN>\<SID>ADM".SAPUSER;
    CONNECT /
    GRANT SELECT, UPDATE ON "OPS$<DOMAIN>\<SID>ADM".SAPUSER TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
    CONNECT /as sysdba
    GRANT CONNECT, RESOURCE TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
    GRANT CONNECT, RESOURCE TO "OPS$<DOMAIN>\<SID>ADM";
    I checked if all users are on opened state using select USERNAME,ACCOUNT_STATUS from dba_users;
    The database is running file, and it is opened, but when I run R3trans -d it gives me RC 12 and i get this error:
    *** ERROR => CONNECT failed with sql error '1017'
    set_ocica() -> SQL error code 1017
    -->oci_get_errmsg (con=0, rc=1017)
    OCIErrorGet -> SQL error code: 1017
    ORA-01017: invalid username/password; logon denied
    DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB
    ***LOG BY2=>sql error 1017   performing CON
    ***LOG BY0=>ORA-01017: invalid username/password; logon denied
    I used brconnect -u / -f chpass -o PSAPSR3 -p sap so i can reset the password, but still I am getting the same invalid username or password error.
    I checked the listener status, and it is running.
    Kindly let me know how I can fix my error
    Best Regards
    ~Amal Aloun

    Dear Gaurav;
    I am running SAP Kernel 720 64bit unicode PL300
    The content of my trans log file is the following:
    4 ETW000 r3trans version 6.23 (release 720 - 15.05.12 - 20:12:03).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 05.08.2014 - 17:50:30
    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 Aug 05 17:50:30 2014                                                 149  0.000149
    4 ETW000  [     dev trc,00000]  db_con_init called                                                        27  0.000176
    4 ETW000  [     dev trc,00000]  set_use_ext_con_info(): rsdb/ssfs_connect not set => ssfs not used        41  0.000217
    4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                                                  28  0.000245
    4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 14  0.000259
    4 ETW000  [     dev trc,00000]  Loading DB library 'dboraslib.dll' ...                                    44  0.000303
    4 ETW000  [     dev trc,00000]  DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, addr 000007FEF1650000
    4 ETW000                                                                                                 947  0.001250
    4 ETW000  [     dev trc,00000]      using "E:\usr\sap\TST\SYS\exe\uc\NTAMD64\dboraslib.dll"               18  0.001268
    4 ETW000  [     dev trc,00000]  Library 'dboraslib.dll' loaded                                            19  0.001287
    4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library dboraslib.dll                    23  0.001310
    4 ETW000  [     dev trc,00000]  Version of 'dboraslib.dll' is "720.00", patchlevel (0.215)               242  0.001552
    4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library dboraslib.dll                   26  0.001578
    4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library dboraslib.dll                  34  0.001612
    4 ETW000  [     dev trc,00000]  New connection 0 created                                                 237  0.001849
    4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 
    4 ETW000                                                                                                  56  0.001905
    4 ETW000  [     dev trc,00000]  db_con_connect (con_name=R/3)                                             20  0.001925
    4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                                                  25  0.001950
    4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection:                          16  0.001966
    4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 
    4 ETW000                                                                                                  36  0.002002
    4 ETW000  [     dev trc,00000]  -->DbSlConnect(vers=-1, type=0, env='[default env]', userid='[default usr]')
    4 ETW000                                                                                                  53  0.002055
    4 ETW000  [     dev trc,00000]  DIR_CLIENT_ORAHOME is not set as profile nor env. parameter.             574  0.002629
    4 ETW000                        Assuming using instant client with unspecified location.
    4 ETW000  [     dev trc,00000]  Register application info.                                                97  0.002726
    4 ETW000  [     dev trc,00000]  Oracle client version: 10.2.0.4.0, (dbsl 720 220612, UNICODE[2])       10033  0.012759
    4 ETW000  [     dev trc,00000]  Detailed Oracle client (patch) info not available.                        30  0.012789
    4 ETW000  [     dev trc,00000]    Default connection: tnsname ='TST'                                      73  0.012862
    4 ETW000  [     dev trc,00000]  -->oci_initialize(con=0, char='UTF16', nchar='AL16UTF16', nls=-1),uc_ln=2
    4 ETW000                                                                                                  50  0.012912
    4 ETW000  [     dev trc,00000]  OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
    4 ETW000                                                                                                1828  0.014740
    4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrHp=027944B0)                 58  0.014798
    4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrBt=02796088)                 36  0.014834
    4 ETW000  [     dev trc,00000]  NLS env. settings: lang=41004D00450052004900430041004E00                 167  0.015001
    4 ETW000  [     dev trc,00000]                     terr=41004D0045005200490043004100                      29  0.015030
    4 ETW000  [     dev trc,00000]                     char=55005400460031003600                              22  0.015052
    4 ETW000  [     dev trc,00000]  Client NLS setting (by OCINlsGetInfo(con=0)): 'AMERICAN_AMERICA.UTF16'
    4 ETW000                                                                                                  43  0.015095
    4 ETW000  [     dev trc,00000]  charset='UTF16', ncharset='AL16UTF16', UNI_ASC=FALSE                      19  0.015114
    4 ETW000  [     dev trc,00000]  Logon as OPS$-user to get SAPSR3's password                               28  0.015142
    4 ETW000  [     dev trc,00000]  Connecting as /@TST on connection 0 (nls 0) ... (dbsl 720 220612, UNICODE[2])
    4 ETW000                                                                                                  61  0.015203
    4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_SVCCTX, con=0, svchp=02795F48)               370  0.015573
    4 ETW000  [     dev trc,00000]  Allocating server context handle                                          31  0.015604
    4 ETW000  [     dev trc,00000]  Attaching to database server TST (con=0, svchp=02795F48, srvhp=0279EFF8)
    4 ETW000                                                                                                  74  0.015678
    4 ETW000  [     dev trc,00000]  Assigning server context 0279EFF8 to service context 02795F48          30008  0.045686
    4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_SESSION, con=0, usrhp=027ABBE0)               86  0.045772
    4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr='/', svc=02795F48, srv=0279EFF8, usr=027ABBE0)
    4 ETW000                                                                                                  40  0.045812
    4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR               28164  0.073976
    4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:               95  0.074071
    4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                                                  39  0.074110
    4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                         38  0.074148
    4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     19  0.074167
    4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                        20  0.074187
    4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    57  0.074244
    4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                                                  39  0.074283
    4 ETW000  [     dev trc,00000]  Info: 99=DBSL_ERR_DB, oerr=1017, try to connect with default password.
    4 ETW000                                                                                                  38  0.074321
    4 ETW000  [     dev trc,00000]  Connecting as SAPSR3/<pwd>@TST on connection 0 (nls 0) ... (dbsl 720 220612, UNICODE[2])
    4 ETW000                                                                                                  30  0.074351
    4 ETW000  [     dev trc,00000]  Assigning username to user session: con=0, usrhp= 027ABBE0                23  0.074374
    4 ETW000  [     dev trc,00000]  Assigning password to user session: con=0, usrhp=027ABBE0                 36  0.074410
    4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr='SAPSR3', svc=02795F48, srv=0279EFF8, usr=027ABBE0)
    4 ETW000                                                                                                 133  0.074543
    4 ETW000  [     dev trc,00000]  Tue Aug 05 17:50:40 2014                                             9992977  10.067520
    4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR                  33  10.067553
    4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:               85  10.067638
    4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                                                  37  10.067675
    4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                         29  10.067704
    4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     19  10.067723
    4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                        18  10.067741
    4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    55  10.067796
    4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                                                  52  10.067848
    4 ETW000  [     dev trc,00000]     DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB                            22  10.067870
    4 ETW000  [    dblink  ,00000]  ***LOG BY2=>sql error 1017   performing CON                               58  10.067928
    4 ETW000  [    dblink  ,00000]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied            22  10.067950
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'TST'"
    Best Regards
    ~Amal Aloun

  • ORA-01017: invalid username/password; logon denied from wallet

    Hi,
    i am getting logon denied error whille using wallet
    OS : windows 7
    Client Version :10.2.0.3
    C:\>sqlplus /@ding
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue Mar 13 20:21:55 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    C:\>
    C:\>sqlplus system/manager@ding
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue Mar 13 20:22:17 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    WELCOME TO VM6 SYSTEM@DING
    SYSTEM@ding> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    C:\>sqlplus -version
    SQL*Plus: Release 10.2.0.3.0 - Production

    You need to connect using sysdba privilege
    Example
    sqlplus /@ding as sysdba

  • ORA-01017: invalid username/password; logon denied

    Hello colleagues,
    in TCode SM21 we've got a lot of following errors, that were repeated very often:
    10:25:09 BTC  010                             BY  2 Database error 1017 at CON
    10:25:09 BTC  010                             BY  0 > ORA-01017: invalid username/password; logon denied
    10:25:09 BTC  010                             BY  2 Database error 1017 at CON
    10:25:09 BTC  010                             BY  0 > ORA-01017: invalid username/password; logon denied
    10:25:09 BTC  010                             R1  9 Initialization DB-Connect Failed, Return Code 000256
    10:25:09 BTC  010                             Q0  2 Stop Workproc10, PID 3549
    Background processes only affected and seems to be restarted after every attempt for connection into database.
    After restart fo system (DB + ABAP) problem still persists, but does not occur that often. In productive system approximately once in every 2 hours, but is still there.
    System environment:
    DB: Oracle Release 10.2.0.2.0
    OS: HP-UX
    SAP: SAP ECC 6.0
    Listener is up and running:
    oraqxs   499     1  0 10:15:31 ?         0:01 /oracle/QXS/102_64/bin/tnslsnr LISTENER_QXS -inherit
    R3trans working as well:
    mucsx032:qxsadm 29> R3trans -d -v
    This is R3trans version 6.14 (release 700 - 10.09.07 - 09:57:00).
    R3trans finished (0000).
    Below is extract from WP tracefile.
    trc file: "dev_w10", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ
    M sysno      02
    M sid        QXS
    M systemid   274 (HP (IA-64) with HP-UX)
    M relno      7000
    M patchlevel 0
    M patchno    133
    M intno      20050900
    M make:      single threaded, ASCII, 64 bit, optimized
    M pid        3549
    M
    M
    M Wed May  6 10:25:09 2009
    M  kernel runs with dp version 232(ext=109) (@(#) DPLIB-INT-VERSION-232)
    M  length of sys_adm_ext is 364 bytes
    M  ThInit: running on host ciqxs02
    M  calling db_connect ...
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPDAT's password
    C  Connecting as /@QXS on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 WE8DEC                                                    1 600000000299f0a0 60000000029a6a20 60000000029aa408
    C  Attaching to DB Server QXS (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688)
    C  Starting user session (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688,usrhp=60000000029a7238)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    [dboci.c      4532]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dbsloci.c    11044]
    C  Try to connect with default password
    C  Connecting as SAPDAT/<pwd>@QXS on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 WE8DEC                                                    1 600000000299f0a0 60000000029a6a20 60000000029aa408
    C  Starting user session (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688,usrhp=60000000029a7238)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    [dboci.c      4532]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dbsloci.c    11044]
    B  ***LOG BY2=> sql error 1017   performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 1017   performing CON [dblink#5 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#5 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1435]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10377]
    M
    M  Info for wp 10
    M
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_BTCWP
    M    act_reqtype = DP_RQ_BTCWP
    M    rq_info = 8576
    M    tid = -1
    M    mode = 255
    M    len = 24
    M    rq_id = 1055
    M    rq_source = FROM_WP_CA
    M    last_tid = 10
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 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    req.vm = no VM
    M    attachedVm = no VM
    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   724]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  259]
    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 (Workproc10 3549) [dpuxtool.c   259]
    Do you have an idea how to get rid of this error? Did you experienced the same problem before? We will be thankful for any ideas.
    Thank you all in advance.

    Hi,
    You did not mention abt the kerneleveland DB/SAP version details.
    Chk the note 623242.
    Regards.......

  • Invalid username/password; logon denied

    We are migrating from Oracle 8 to Oracle 11g. Amongst the various tools the client uses is an application written in C++ that uses ODBC. This application is giving us a peculiar problem: From the laptop of one of the main developers, it can connect to the Oracle 11g database just fine. From every other machine (including my own desktop) we cannot connect to the Oracle 11g database using this application.
    On my desktop, I can connect to the database using SQL*Plus. I can use the ODBC connection I created for Excel and import data from the Oracle 11g database into a sheet of mine. Thus, for all intents and purposes it seems to work.
    Ordinarily I'd say that the C++ application is simply broken. The only problem with this explanation is that it apparently works from the main developer's laptop. Does this strange behavior ring a bell? Did he not correctly deinstall his Oracle 8 libraries? Are there configuration options we could have forgotten somewhere? A client setting regarding case-sensitivity of usernames?
    The error message comes with "COM info" and says:
    HRESULT value = -2147217843
    HRESULT message = IDispatch error #3149
    IErrorInfo source = Microsoft OLE DB Provider for ODBC Drivers
    IErrorInfo description = [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    I was hoping I could trace the connection somewhere and figure out what username and password was being sent over the wire. Unfortunately the listener.log file only list the OS username, eg. (CONNECT_DATA=(SID=xxx)(CID=(PROGRAM=xxx.exe)(HOST=xxx)(USER=asc))) with asc being my OS username but not the username used to log into the database.
    Any other ideas?

    someone does have the exact and correct username/password valuesApparently username and password are hard-coded into the application, so if I'm using the same application, I should not have to worry about username/password (both of them lower-case and both of them ASCII-only, no fancy encoding issues). I can use this username/password to connect to the database using SQL*Plus.
    What I'm missing, I think, is proof that the application is in fact always sending the correct username/password to the server, or that the application is triggering an error (except for the developers laptop) which is somehow masked by the "invalid username/password" error message.
    But there are ways to grab login info (i.e. username, client IP address, etc.) and maybe save it to a table or log it some place if figuring out the correct username is part of the issue.How could I grab the login info used by the application as it tries to connect to the Oracle 11g server? Below I have added some (too much?) Tracing info. Can I extract the login info used by the application from it?
    One thing that surprised my is that I see a ns=12630 in the Trace file (ORA-12630: Native service operation not supported) -- I wonder whether that is the real culprit.
    I've set my sqlnet.ora on the client side as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    TRACE_LEVEL_CLIENT = SUPPORT
    TRACE_LEVEL_SERVER = SUPPORT
    ADR_BASE = \app\asc
    I've used trcasst to convert the Trace file into a summary, but didn't find anything to tell me what the problem is. The last function apparently involves TTIOER. That indicates an error somewhere, I think.
    <--- Received 128 bytes - Data packet timestamp=012-04-25 10:42:58.595706
    ORACLE function complete (TTIOER)
    ---> Send 10 bytes - Data packet timestamp=012-04-25 10:42:58.597280
         Data Packet flags:
              End of file
    Looking at the Trace file itself, my main problem is that I don't know what the important parts are. Here is a selection that caught my eye:
    2012-04-25 10:42:58.093417 : nioqrc:entry
    2012-04-25 10:42:58.093440 : nsbasic_bsd:entry
    2012-04-25 10:42:58.093461 : nsbasic_bsd:tot=0, plen=1318.
    2012-04-25 10:42:58.093482 : nttfpwr:entry
    2012-04-25 10:42:58.093567 : nttfpwr:socket 1012 had bytes written=1318
    2012-04-25 10:42:58.093591 : nttfpwr:exit
    2012-04-25 10:42:58.093612 : nsbasic_bsd:packet dump
    2012-04-25 10:42:58.093634 : nsbasic_bsd:05 26 00 00 06 00 00 00 |.&......|
    2012-04-25 10:42:58.093657 : nsbasic_bsd:00 00 03 73 03 01 04 00 |...s....|
    2012-04-25 10:42:58.093679 : nsbasic_bsd:00 00 01 01 00 00 01 12 |........|
    2012-04-25 10:42:58.093701 : nsbasic_bsd:00 00 00 01 01 04 44 65 |......De|
    2012-04-25 10:42:58.093724 : nsbasic_bsd:6D 6F 0C 00 00 00 0C 41 |mo.....A|
    2012-04-25 10:42:58.093746 : nsbasic_bsd:55 54 48 5F 53 45 53 53 |UTH_SESS|
    2012-04-25 10:42:58.093768 : nsbasic_bsd:4B 45 59 60 00 00 00 FE |KEY`... |
    2012-04-25 10:42:58.093790 : nsbasic_bsd:40 43 41 30 34 30 38 36 |@CA04086|
    2012-04-25 10:42:58.093812 : nsbasic_bsd:34 32 34 41 37 38 43 30 |424A78C0|
    2012-04-25 10:42:58.093834 : nsbasic_bsd:38 43 30 38 30 36 30 35 |8C080605|
    2012-04-25 10:42:58.093856 : nsbasic_bsd:37 37 44 43 35 43 45 36 |77DC5CE6|
    2012-04-25 10:42:58.093878 : nsbasic_bsd:34 31 32 31 33 38 42 38 |412138B8|
    2012-04-25 10:42:58.093900 : nsbasic_bsd:37 37 38 33 43 45 37 38 |7783CE78|
    2012-04-25 10:42:58.093922 : nsbasic_bsd:43 30 30 37 34 32 32 33 |C0074223|
    2012-04-25 10:42:58.093944 : nsbasic_bsd:39 33 41 30 43 44 44 30 |93A0CDD0|
    2012-04-25 10:42:58.093966 : nsbasic_bsd:30 20 37 45 36 38 38 45 |0.7E688E|
    2012-04-25 10:42:58.093988 : nsbasic_bsd:36 35 42 33 41 38 39 35 |65B3A895|
    2012-04-25 10:42:58.094010 : nsbasic_bsd:34 32 38 31 41 39 36 41 |4281A96A|
    2012-04-25 10:42:58.094031 : nsbasic_bsd:44 33 37 35 45 46 43 46 |D375EFCF|
    2012-04-25 10:42:58.094054 : nsbasic_bsd:45 39 00 01 00 00 00 0D |E9......|
    2012-04-25 10:42:58.094076 : nsbasic_bsd:00 00 00 0D 41 55 54 48 |....AUTH|
    2012-04-25 10:42:58.094098 : nsbasic_bsd:5F 50 41 53 53 57 4F 52 |_PASSWOR|
    2012-04-25 10:42:58.094120 : nsbasic_bsd:44 40 00 00 00 40 35 39 |D@...@59|
    2012-04-25 10:42:58.094142 : nsbasic_bsd:33 35 43 37 44 33 33 38 |35C7D338|
    2012-04-25 10:42:58.094164 : nsbasic_bsd:36 37 38 34 45 32 33 34 |6784E234|
    2012-04-25 10:42:58.094186 : nsbasic_bsd:30 43 39 30 36 34 36 36 |0C906466|
    2012-04-25 10:42:58.094207 : nsbasic_bsd:46 44 35 46 37 42 34 38 |FD5F7B48|
    2012-04-25 10:42:58.094230 : nsbasic_bsd:33 43 41 43 39 37 43 38 |3CAC97C8|
    2012-04-25 10:42:58.094252 : nsbasic_bsd:42 35 36 31 34 36 33 41 |B561463A|
    2012-04-25 10:42:58.094273 : nsbasic_bsd:39 34 41 45 39 45 46 43 |94AE9EFC|
    2012-04-25 10:42:58.094295 : nsbasic_bsd:31 44 39 43 33 36 00 00 |1D9C36..|
    2012-04-25 10:42:58.094318 : nsbasic_bsd:00 00 08 00 00 00 08 41 |.......A|
    2012-04-25 10:42:58.094339 : nsbasic_bsd:55 54 48 5F 52 54 54 07 |UTH_RTT.|
    2012-04-25 10:42:58.094361 : nsbasic_bsd:00 00 00 07 31 31 30 36 |....1106|
    2012-04-25 10:42:58.094388 : nsbasic_bsd:39 34 39 00 00 00 00 0D |949.....|
    2012-04-25 10:42:58.094410 : nsbasic_bsd:00 00 00 0D 41 55 54 48 |....AUTH|
    2012-04-25 10:42:58.094432 : nsbasic_bsd:5F 43 4C 4E 54 5F 4D 45 |_CLNT_ME|
    2012-04-25 10:42:58.094454 : nsbasic_bsd:4D 04 00 00 00 04 34 30 |M.....40|
    2012-04-25 10:42:58.094476 : nsbasic_bsd:39 36 00 00 00 00 0D 00 |96......|
    2012-04-25 10:42:58.094498 : nsbasic_bsd:00 00 0D 41 55 54 48 5F |...AUTH_|
    2012-04-25 10:42:58.094520 : nsbasic_bsd:54 45 52 4D 49 4E 41 4C |TERMINAL|
    2012-04-25 10:42:58.094542 : nsbasic_bsd:06 00 00 00 06 42 53 49 |.....BSI|
    2012-04-25 10:42:58.094564 : nsbasic_bsd:32 34 32 00 00 00 00 0F |242.....|
    2012-04-25 10:42:58.094586 : nsbasic_bsd:00 00 00 0F 41 55 54 48 |....AUTH|
    2012-04-25 10:42:58.094608 : nsbasic_bsd:5F 50 52 4F 47 52 41 4D |_PROGRAM|
    2012-04-25 10:42:58.094630 : nsbasic_bsd:5F 4E 4D 0A 00 00 00 0A |_NM.....|
    2012-04-25 10:42:58.094652 : nsbasic_bsd:4D 41 50 31 39 30 2E 65 |MAP190.e|
    2012-04-25 10:42:58.094674 : nsbasic_bsd:78 65 00 00 00 00 0C 00 |xe......|
    2012-04-25 10:42:58.094696 : nsbasic_bsd:00 00 0C 41 55 54 48 5F |...AUTH_|
    2012-04-25 10:42:58.094718 : nsbasic_bsd:4D 41 43 48 49 4E 45 0C |MACHINE.|
    2012-04-25 10:42:58.094740 : nsbasic_bsd:00 00 00 0C 42 53 49 41 |....BSIA|
    2012-04-25 10:42:58.094762 : nsbasic_bsd:47 5C 42 53 49 32 34 32 |G\BSI242|
    2012-04-25 10:42:58.094783 : nsbasic_bsd:00 00 00 00 08 00 00 00 |........|
    2012-04-25 10:42:58.094806 : nsbasic_bsd:08 41 55 54 48 5F 50 49 |.AUTH_PI|
    2012-04-25 10:42:58.094827 : nsbasic_bsd:44 09 00 00 00 09 35 36 |D.....56|
    2012-04-25 10:42:58.094849 : nsbasic_bsd:36 30 3A 35 34 33 32 00 |60:5432.|
    2012-04-25 10:42:58.094871 : nsbasic_bsd:00 00 00 08 00 00 00 08 |........|
    2012-04-25 10:42:58.094893 : nsbasic_bsd:41 55 54 48 5F 53 49 44 |AUTH_SID|
    2012-04-25 10:42:58.094915 : nsbasic_bsd:03 00 00 00 03 61 73 63 |.....asc|
    2012-04-25 10:42:58.094937 : nsbasic_bsd:00 00 00 00 16 00 00 00 |........|
    2012-04-25 10:42:58.094959 : nsbasic_bsd:16 53 45 53 53 49 4F 4E |.SESSION|
    2012-04-25 10:42:58.094981 : nsbasic_bsd:5F 43 4C 49 45 4E 54 5F |_CLIENT_|
    2012-04-25 10:42:58.095003 : nsbasic_bsd:43 48 41 52 53 45 54 04 |CHARSET.|
    2012-04-25 10:42:58.095025 : nsbasic_bsd:00 00 00 04 31 30 30 30 |....1000|
    2012-04-25 10:42:58.095046 : nsbasic_bsd:00 00 00 00 17 00 00 00 |........|
    2012-04-25 10:42:58.095068 : nsbasic_bsd:17 53 45 53 53 49 4F 4E |.SESSION|
    2012-04-25 10:42:58.095090 : nsbasic_bsd:5F 43 4C 49 45 4E 54 5F |_CLIENT_|
    2012-04-25 10:42:58.095112 : nsbasic_bsd:4C 49 42 5F 54 59 50 45 |LIB_TYPE|
    2012-04-25 10:42:58.095134 : nsbasic_bsd:01 00 00 00 01 31 00 00 |.....1..|
    2012-04-25 10:42:58.095156 : nsbasic_bsd:00 00 1A 00 00 00 1A 53 |.......S|
    2012-04-25 10:42:58.095178 : nsbasic_bsd:45 53 53 49 4F 4E 5F 43 |ESSION_C|
    2012-04-25 10:42:58.095200 : nsbasic_bsd:4C 49 45 4E 54 5F 44 52 |LIENT_DR|
    2012-04-25 10:42:58.095222 : nsbasic_bsd:49 56 45 52 5F 4E 41 4D |IVER_NAM|
    2012-04-25 10:42:58.095244 : nsbasic_bsd:45 00 00 00 00 00 00 00 |E.......|
    2012-04-25 10:42:58.095265 : nsbasic_bsd:00 16 00 00 00 16 53 45 |......SE|
    2012-04-25 10:42:58.095287 : nsbasic_bsd:53 53 49 4F 4E 5F 43 4C |SSION_CL|
    2012-04-25 10:42:58.095309 : nsbasic_bsd:49 45 4E 54 5F 56 45 52 |IENT_VER|
    2012-04-25 10:42:58.095331 : nsbasic_bsd:53 49 4F 4E 09 00 00 00 |SION....|
    2012-04-25 10:42:58.095353 : nsbasic_bsd:09 31 38 36 36 34 37 32 |.1866472|
    2012-04-25 10:42:58.095375 : nsbasic_bsd:39 36 00 00 00 00 16 00 |96......|
    2012-04-25 10:42:58.095396 : nsbasic_bsd:00 00 16 53 45 53 53 49 |...SESSI|
    2012-04-25 10:42:58.095418 : nsbasic_bsd:4F 4E 5F 43 4C 49 45 4E |ON_CLIEN|
    2012-04-25 10:42:58.095441 : nsbasic_bsd:54 5F 4C 4F 42 41 54 54 |T_LOBATT|
    2012-04-25 10:42:58.095463 : nsbasic_bsd:52 01 00 00 00 01 31 00 |R.....1.|
    2012-04-25 10:42:58.095484 : nsbasic_bsd:00 00 00 08 00 00 00 08 |........|
    2012-04-25 10:42:58.095506 : nsbasic_bsd:41 55 54 48 5F 41 43 4C |AUTH_ACL|
    2012-04-25 10:42:58.095528 : nsbasic_bsd:04 00 00 00 04 34 34 30 |.....440|
    2012-04-25 10:42:58.095553 : nsbasic_bsd:30 00 00 00 00 12 00 00 |0.......|
    2012-04-25 10:42:58.095576 : nsbasic_bsd:00 12 41 55 54 48 5F 41 |..AUTH_A|
    2012-04-25 10:42:58.095598 : nsbasic_bsd:4C 54 45 52 5F 53 45 53 |LTER_SES|
    2012-04-25 10:42:58.095620 : nsbasic_bsd:53 49 4F 4E E2 01 00 00 |SION ...|
    2012-04-25 10:42:58.095642 : nsbasic_bsd:FE 40 41 4C 54 45 52 20 | @ALTER.|
    2012-04-25 10:42:58.095664 : nsbasic_bsd:53 45 53 53 49 4F 4E 20 |SESSION.|
    2012-04-25 10:42:58.095686 : nsbasic_bsd:53 45 54 20 4E 4C 53 5F |SET.NLS_|
    2012-04-25 10:42:58.095708 : nsbasic_bsd:4C 41 4E 47 55 41 47 45 |LANGUAGE|
    2012-04-25 10:42:58.095730 : nsbasic_bsd:3D 20 27 47 45 52 4D 41 |=.'GERMA|
    2012-04-25 10:42:58.095752 : nsbasic_bsd:4E 27 20 4E 4C 53 5F 54 |N'.NLS_T|
    2012-04-25 10:42:58.095774 : nsbasic_bsd:45 52 52 49 54 4F 52 59 |ERRITORY|
    2012-04-25 10:42:58.095796 : nsbasic_bsd:3D 20 27 47 45 52 4D 41 |=.'GERMA|
    2012-04-25 10:42:58.095818 : nsbasic_bsd:4E 59 40 27 20 4E 4C 53 |NY@'.NLS|
    2012-04-25 10:42:58.095840 : nsbasic_bsd:5F 43 55 52 52 45 4E 43 |_CURRENC|
    2012-04-25 10:42:58.095862 : nsbasic_bsd:59 3D 20 27 BF 27 20 4E |Y=.' '.N|
    2012-04-25 10:42:58.095884 : nsbasic_bsd:4C 53 5F 49 53 4F 5F 43 |LS_ISO_C|
    2012-04-25 10:42:58.095906 : nsbasic_bsd:55 52 52 45 4E 43 59 3D |URRENCY=|
    2012-04-25 10:42:58.095928 : nsbasic_bsd:20 27 47 45 52 4D 41 4E |.'GERMAN|
    2012-04-25 10:42:58.095950 : nsbasic_bsd:59 27 20 4E 4C 53 5F 4E |Y'.NLS_N|
    2012-04-25 10:42:58.095972 : nsbasic_bsd:55 4D 45 52 49 43 5F 43 |UMERIC_C|
    2012-04-25 10:42:58.095994 : nsbasic_bsd:48 41 52 40 41 43 54 45 |HAR@ACTE|
    2012-04-25 10:42:58.096016 : nsbasic_bsd:52 53 3D 20 27 2C 2E 27 |RS=.',.'|
    2012-04-25 10:42:58.096038 : nsbasic_bsd:20 4E 4C 53 5F 43 41 4C |.NLS_CAL|
    2012-04-25 10:42:58.096060 : nsbasic_bsd:45 4E 44 41 52 3D 20 27 |ENDAR=.'|
    2012-04-25 10:42:58.096082 : nsbasic_bsd:47 52 45 47 4F 52 49 41 |GREGORIA|
    2012-04-25 10:42:58.096104 : nsbasic_bsd:4E 27 20 4E 4C 53 5F 44 |N'.NLS_D|
    2012-04-25 10:42:58.096126 : nsbasic_bsd:41 54 45 5F 46 4F 52 4D |ATE_FORM|
    2012-04-25 10:42:58.096148 : nsbasic_bsd:41 54 3D 20 27 44 44 2E |AT=.'DD.|
    2012-04-25 10:42:58.096170 : nsbasic_bsd:4D 4D 2E 52 40 52 27 20 |MM.R@R'.|
    2012-04-25 10:42:58.096192 : nsbasic_bsd:4E 4C 53 5F 44 41 54 45 |NLS_DATE|
    2012-04-25 10:42:58.096214 : nsbasic_bsd:5F 4C 41 4E 47 55 41 47 |_LANGUAG|
    2012-04-25 10:42:58.096236 : nsbasic_bsd:45 3D 20 27 47 45 52 4D |E=.'GERM|
    2012-04-25 10:42:58.096258 : nsbasic_bsd:41 4E 27 20 4E 4C 53 5F |AN'.NLS_|
    2012-04-25 10:42:58.096280 : nsbasic_bsd:53 4F 52 54 3D 20 27 47 |SORT=.'G|
    2012-04-25 10:42:58.096302 : nsbasic_bsd:45 52 4D 41 4E 27 20 54 |ERMAN'.T|
    2012-04-25 10:42:58.096324 : nsbasic_bsd:49 4D 45 5F 5A 4F 4E 45 |IME_ZONE|
    2012-04-25 10:42:58.096346 : nsbasic_bsd:3D 20 27 2B 30 40 32 3A |=.'+0@2:|
    2012-04-25 10:42:58.096368 : nsbasic_bsd:30 30 27 20 4E 4C 53 5F |00'.NLS_|
    2012-04-25 10:42:58.096390 : nsbasic_bsd:43 4F 4D 50 3D 20 27 42 |COMP=.'B|
    2012-04-25 10:42:58.096412 : nsbasic_bsd:49 4E 41 52 59 27 20 4E |INARY'.N|
    2012-04-25 10:42:58.096435 : nsbasic_bsd:4C 53 5F 44 55 41 4C 5F |LS_DUAL_|
    2012-04-25 10:42:58.096457 : nsbasic_bsd:43 55 52 52 45 4E 43 59 |CURRENCY|
    2012-04-25 10:42:58.096479 : nsbasic_bsd:3D 20 27 BF 27 20 4E 4C |=.' '.NL|
    2012-04-25 10:42:58.096501 : nsbasic_bsd:53 5F 54 49 4D 45 5F 46 |S_TIME_F|
    2012-04-25 10:42:58.096523 : nsbasic_bsd:4F 52 4D 41 54 3D 40 20 |ORMAT=@.|
    2012-04-25 10:42:58.096545 : nsbasic_bsd:27 48 48 32 34 3A 4D 49 |'HH24:MI|
    2012-04-25 10:42:58.096567 : nsbasic_bsd:3A 53 53 58 46 46 27 20 |:SSXFF'.|
    2012-04-25 10:42:58.096589 : nsbasic_bsd:4E 4C 53 5F 54 49 4D 45 |NLS_TIME|
    2012-04-25 10:42:58.096611 : nsbasic_bsd:53 54 41 4D 50 5F 46 4F |STAMP_FO|
    2012-04-25 10:42:58.096633 : nsbasic_bsd:52 4D 41 54 3D 20 27 44 |RMAT=.'D|
    2012-04-25 10:42:58.096655 : nsbasic_bsd:44 2E 4D 4D 2E 52 52 20 |D.MM.RR.|
    2012-04-25 10:42:58.096676 : nsbasic_bsd:48 48 32 34 3A 4D 49 3A |HH24:MI:|
    2012-04-25 10:42:58.096742 : nsbasic_bsd:53 53 58 46 46 27 20 40 |SSXFF'.@|
    2012-04-25 10:42:58.096765 : nsbasic_bsd:4E 4C 53 5F 54 49 4D 45 |NLS_TIME|
    2012-04-25 10:42:58.096788 : nsbasic_bsd:5F 54 5A 5F 46 4F 52 4D |_TZ_FORM|
    2012-04-25 10:42:58.096810 : nsbasic_bsd:41 54 3D 20 27 48 48 32 |AT=.'HH2|
    2012-04-25 10:42:58.096832 : nsbasic_bsd:34 3A 4D 49 3A 53 53 58 |4:MI:SSX|
    2012-04-25 10:42:58.096854 : nsbasic_bsd:46 46 20 54 5A 52 27 20 |FF.TZR'.|
    2012-04-25 10:42:58.096876 : nsbasic_bsd:4E 4C 53 5F 54 49 4D 45 |NLS_TIME|
    2012-04-25 10:42:58.096898 : nsbasic_bsd:53 54 41 4D 50 5F 54 5A |STAMP_TZ|
    2012-04-25 10:42:58.096920 : nsbasic_bsd:5F 46 4F 52 4D 41 54 3D |_FORMAT=|
    2012-04-25 10:42:58.096942 : nsbasic_bsd:1E 20 27 44 44 2E 4D 4D |..'DD.MM|
    2012-04-25 10:42:58.096964 : nsbasic_bsd:2E 52 52 20 48 48 32 34 |.RR.HH24|
    2012-04-25 10:42:58.096986 : nsbasic_bsd:3A 4D 49 3A 53 53 58 46 |:MI:SSXF|
    2012-04-25 10:42:58.097008 : nsbasic_bsd:46 20 54 5A 52 27 00 00 |F.TZR'..|
    2012-04-25 10:42:58.097029 : nsbasic_bsd:00 00 00 00 17 00 00 00 |........|
    2012-04-25 10:42:58.097051 : nsbasic_bsd:17 41 55 54 48 5F 4C 4F |.AUTH_LO|
    2012-04-25 10:42:58.097073 : nsbasic_bsd:47 49 43 41 4C 5F 53 45 |GICAL_SE|
    2012-04-25 10:42:58.097095 : nsbasic_bsd:53 53 49 4F 4E 5F 49 44 |SSION_ID|
    2012-04-25 10:42:58.097117 : nsbasic_bsd:20 00 00 00 20 41 44 44 |.....ADD|
    2012-04-25 10:42:58.097139 : nsbasic_bsd:39 44 37 43 42 42 42 39 |9D7CBBB9|
    2012-04-25 10:42:58.097161 : nsbasic_bsd:42 34 38 38 37 42 38 35 |B4887B85|
    2012-04-25 10:42:58.097183 : nsbasic_bsd:38 38 35 42 38 33 32 30 |885B8320|
    2012-04-25 10:42:58.097205 : nsbasic_bsd:42 32 39 43 42 00 00 00 |B29CB...|
    2012-04-25 10:42:58.097227 : nsbasic_bsd:00 10 00 00 00 10 41 55 |......AU|
    2012-04-25 10:42:58.097249 : nsbasic_bsd:54 48 5F 46 41 49 4C 4F |TH_FAILO|
    2012-04-25 10:42:58.097271 : nsbasic_bsd:56 45 52 5F 49 44 00 00 |VER_ID..|
    2012-04-25 10:42:58.097292 : nsbasic_bsd:00 00 00 00 00 00 |...... |
    2012-04-25 10:42:58.097313 : nsbasic_bsd:exit (0)
    2012-04-25 10:42:58.097334 : nsbasic_brc:entry: oln/tot=0
    2012-04-25 10:42:58.097355 : nttfprd:entry
    2012-04-25 10:42:58.353896 : nttfprd:socket 1012 had bytes read=22
    2012-04-25 10:42:58.353943 : nttfprd:exit
    2012-04-25 10:42:58.353965 : nsbasic_brc:type=12, plen=11
    2012-04-25 10:42:58.353987 : nsbasic_brc:what=17, tot =22
    2012-04-25 10:42:58.354008 : nsbasic_brc:packet dump
    2012-04-25 10:42:58.354031 : nsbasic_brc:00 0B 00 00 0C 00 00 00 |........|
    2012-04-25 10:42:58.354053 : nsbasic_brc:01 00 01 |... |
    2012-04-25 10:42:58.354074 : nsbasic_brc:exit: oln=11, dln=1, tot=22, rc=0
    2012-04-25 10:42:58.354096 : nioqrc: found a break marker...
    2012-04-25 10:42:58.354117 : nioqrc: Recieve: returning error: 3111
    2012-04-25 10:42:58.354137 : nioqrc:exit
    2012-04-25 10:42:58.355752 : nserror:entry
    2012-04-25 10:42:58.355774 : nserror:nsres: id=0, op=77, ns=12630, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    2012-04-25 10:42:58.355797 : nioqer:entry
    2012-04-25 10:42:58.355817 : nioqer: incoming err = 0
    2012-04-25 10:42:58.355837 : nioqce:entry
    2012-04-25 10:42:58.355857 : nioqce:exit
    2012-04-25 10:42:58.355877 : nioqer: returning err = 0
    2012-04-25 10:42:58.355897 : nioqer:exit
    2012-04-25 10:42:58.355917 : nioqrs:exit
    2012-04-25 10:42:58.355937 : nioqrc:entry
    2012-04-25 10:42:58.355958 : nsbasic_brc:entry: oln/tot=0
    2012-04-25 10:42:58.355979 : nttfprd:entry
    2012-04-25 10:42:58.595569 : nttfprd:socket 1012 had bytes read=128
    2012-04-25 10:42:58.595617 : nttfprd:exit
    2012-04-25 10:42:58.595640 : nsbasic_brc:type=6, plen=128
    2012-04-25 10:42:58.595662 : nsbasic_brc:what=1, tot =128
    2012-04-25 10:42:58.595683 : nsbasic_brc:packet dump
    2012-04-25 10:42:58.595706 : nsbasic_brc:00 80 00 00 06 00 00 00 |........|
    2012-04-25 10:42:58.595728 : nsbasic_brc:00 00 04 01 00 00 00 00 |........|
    2012-04-25 10:42:58.595751 : nsbasic_brc:00 00 00 00 00 F9 03 00 |..... ..|
    2012-04-25 10:42:58.595772 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595794 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595816 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595845 : nsbasic_brc:00 00 00 00 00 00 00 03 |........|
    2012-04-25 10:42:58.595867 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595889 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595911 : nsbasic_brc:00 00 00 00 33 4F 52 41 |....3ORA|
    2012-04-25 10:42:58.595933 : nsbasic_brc:2D 30 31 30 31 37 3A 20 |-01017:.|
    2012-04-25 10:42:58.595955 : nsbasic_brc:69 6E 76 61 6C 69 64 20 |invalid.|
    2012-04-25 10:42:58.595977 : nsbasic_brc:75 73 65 72 6E 61 6D 65 |username|
    2012-04-25 10:42:58.595999 : nsbasic_brc:2F 70 61 73 73 77 6F 72 |/passwor|
    2012-04-25 10:42:58.596021 : nsbasic_brc:64 3B 20 6C 6F 67 6F 6E |d;.logon|
    2012-04-25 10:42:58.596043 : nsbasic_brc:20 64 65 6E 69 65 64 0A |.denied.|
    2012-04-25 10:42:58.596065 : nsbasic_brc:exit: oln=0, dln=118, tot=128, rc=0
    2012-04-25 10:42:58.596087 : nioqrc:exit
    2012-04-25 10:42:58.596521 : nioqds:entry
    2012-04-25 10:42:58.596545 : nioqds: disconnecting...
    2012-04-25 10:42:58.596567 : nsclose:entry
    The ns=12630 leads me to the following:
    ORA-12630: Native service operation not supported
    Cause: An operation requested by a user is not supported by the native services component.
    Action: This may be an internal error if the operation should have been supported.

  • ORA-01017: invalid username/password; logon denied - in DB13

    Hello,
    We have upgraded successfully from SAP 4.7 / Oracle 9i to ECC 6.0/
    Oracle 10g but now the jobs from DB13 are failing. Please find the
    error details below.
    We have followed the correction steps mentioned in notes: 400241,
    437648 and 134592. But the same error persists.
    Please help us resolve the issue ASAP.
    Error Details:
    Job started                                                                 
    Step 001 started (program RSDBAJOB, variant &0000000000201, user ID PWCBASIS)
    Execute logical command BRCONNECT On host eccdev                            
    Parameters: -u / -jid CHECK20081107160528 -c -f check                       
    BR0801I BRCONNECT 7.00 (32)                                                 
    BR0805I Start of BRCONNECT processing: cdzezhoc.chk 2008-11-07 16.05.30     
    BR0484I BRCONNECT log file: /oracle/DEV/sapcheck/cdzezhoc.chk               
    BR0280I BRCONNECT time stamp: 2008-11-07 16.05.30                           
    BR0301E SQL error -1017 at location db_connect-2,SQL statement:             
    'CONNECT /'                                                                 
    ORA-01017: invalid username/password; logon denied                          
    BR0310E Connect to database instance DEV failed                             
    BR0280I BRCONNECT time stamp: 2008-11-07 16.05.30                           
    BR0301E SQL error -1017 at location db_connect-2,SQL statement:             
    'CONNECT /'                                                                 
    ORA-01017: invalid username/password; logon denied                          
    BR0310E Connect to database instance DEV failed                                                                               
    BR0806I End of BRCONNECT processing: cdzezhoc.chk2008-11-07 16.05.30        
    BR0280I BRCONNECT time stamp: 2008-11-07 16.05.30                           
    BR0804I BRCONNECT terminated with errors                                    
    External program terminated with exit code 3                                
    BRCONNECT returned error status E                                           
    Job finished 
    Please help me resolve this issue....
    Thanks

    Hi ,
    Yes am able to execute brtools from both the users, viz <sid>adm and ora<sid>. And also able to execute all the scripts from there itself.
    For your refrence, find the logs form /usr/sap/DEV/DVEBMGS00/work/dev_w0 file.
    Thu Nov 20 13:22:34 2008
    M  kernel runs with dp version 241(ext=110) (@(#) DPLIB-INT-VERSION-241)
    M  length of sys_adm_ext is 364 bytes
    M  ***LOG Q01=> ThInit, WPStart (Workproc 0 1 10354) [thxxhead.c   1290]
    M  ThInit: running on host eccdev
    M  calling db_connect ...
    C  Oracle Client Version: '10.2.0.2.0'
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPPRD's password
    C  Connecting as /@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 WE8DEC                                                    1  10595f0a0  105966b40  10596a4e8
    C  Attaching to DB Server DEV (con_hdl=0,svchp=10596a418,srvhp=10596c748)
    C  Starting user session (con_hdl=0,svchp=10596a418,srvhp=10596c748,usrhp=105967358)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    [dboci.c      4532]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dbsloci.c    11145]
    C  Try to connect with default password
    C  Connecting as SAPPRD/<pwd>@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 WE8DEC                                                    1  10595f0a0  105966b40  10596a4e8
    C  Starting user session (con_hdl=0,svchp=10596a418,srvhp=10596c748,usrhp=105967358)

    Please suggest,
    Kshitiz Goyal

  • ORA-01017: invalid username/password; logon denied. but SQLPLUS works

    "ORA-01017: invalid username/password; logon denied" when attempting to log on to db, in three different applications. Error is observed in Toad, Crystal Reports, and MS ODBC Administrator connect test. However, same db credentials work in SQLPLUS.
    Customer is attempting to log into reporting database hosted by my company, and using Cisco VPN client.
    I am unable to reproduce this at this time, on my machine, using same credentials and VPN profile.
    Here is what we know/tried:
    1. PING HOSTNAME is successful on CUSTOMER’S machine
    2. TNSPING HOSTNAME is successful on CUSTOMER’S machine
    3. SQLPLUS is successful with USER2/(pw)@HOSTNAME.int on CUSTOMER’S machine
    4. We corrected timeout error on CUSTOMER’S side, by adding TCP.CONNECT_TIMEOUT=1000 in SQLNET.ORA (Also observed extremely slow performance on CUSTOMER SIDE)
    5. We corrected dns suffix problem on CUSTOMER’S side, observed in NSLOOKUP by
    adding: IP ADDRESS AND HOSTNAME to Windows HOSTS file
    and commenting out default suffix COMPANY.com from SQLNET.ORA file
    6. VPN configuration and VPN credentials are good. 
    We tested CUSTOMER’S VPN profle, CUSTOMER’S VPN credentials, and user USER2/(pw)@HOSTNAME on my machine (WIN7). I am able to maintain persistant connection to HOSTNAME for hours
    7. TNSNames entries are good. Able to connect to db in Toad, and Crystal, on CUSTOMER’S machine using different Oracle user, USER3 (only has grant connect). Unable to logon to db, with Oracle user USER1, or USER2. (USER2 was created to try to resolve login problem w USER1, but issue still exists.)
    8. CUSTOMER has Windows VISTA, does not have admin privileges, has Oracle 10 installed for client. Using same Cisco VPN client I have installed.
    9. Database on our servers is 11g
    I suspect a configuration issue with CUSTOMER'S Vista machine, OR network, but not sure what to check.
    Help?

    Oracle is too dumb to lie.
    make sure that Java is installed on same system as Crystal Report.
    Then modify below to utilized your connection details to independently confirm connectivity independent of all other software.
    bcm@bcm-laptop:~$ cat Conn.java
    import java.sql.*;
    class Conn {
      public static void main (String[] args) throws Exception
       Class.forName ("oracle.jdbc.OracleDriver");
       Connection conn = DriverManager.getConnection
         ("jdbc:oracle:thin:@//localhost:1521/v112", "scott", "tiger");
                            // @//machineName:port/SID,   userid,  password
       try {
         Statement stmt = conn.createStatement();
         try {
           ResultSet rset = stmt.executeQuery("select BANNER from SYS.V_$VERSION");
           try {
             while (rset.next())
               System.out.println (rset.getString(1));   // Print col 1
           finally {
              try { rset.close(); } catch (Exception ignore) {}
         finally {
           try { stmt.close(); } catch (Exception ignore) {}
       finally {
         try { conn.close(); } catch (Exception ignore) {}
    bcm@bcm-laptop:~$ javac Conn.java
    bcm@bcm-laptop:~$ export CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/owb/wf/lib/ojdbc14.jar:.
    bcm@bcm-laptop:~$ java Conn
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    bcm@bcm-laptop:~$

  • On starting up firefox i am getting an error message from javascript application telling me that my username is an invalid username/password combination.If i continue to get this error message,try entering my email address as my username.

    Hi,on starting firefox which i have used solely as my browser for years i am now getting an error message from java script application that shows my username followed by a message saying; 'username'-Invalid username/password combination.If you keep getting this error,try entering your email address as your username'. I then press the OK button within that error message box and it dissapears and everything seems ok although hover my cursor over the mail(envelope) icon and it says not connected.
    I only started having this problem since downloading firefox 4.It also does not tell me where this problem is occuring so i do not know where to log on with this information.I would be most grateful for any help with this matter.Many thanks.

    Take a look in the Error Console for details about that.
    Tools > Error Console <br />
    Right-click the message and use '''Copy''' to get that complete message.

  • Invalid username/password logon

    Hi to all:
    I am installing ECC in AIX with RDBMS Oracle 10.2.0.2 in Productive System in HA mode with HAMP. When balancing the services Cluster I have problems starting SAP.
    I have executed the R3trans –x and this is the log file:
    4 ETW000 R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 16.03.2008 - 00:43:05
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -x
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Sun Mar 16 00:43:05 2008                              71  0.000071
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    28  0.000099
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             46  0.000145
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              66  0.000211
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/PRD/SYS/exe/run/dboraslib.o), hdl 0
    4 ETW000                                                                           13557  0.013768
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              44  0.013812
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              52  0.013864
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/PRD/SYS/exe/run/dboraslib.o' is "700.08", patchlevel (0.107)
    4 ETW000                                                                              81  0.013945
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              48  0.013993
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              74  0.014067
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              31  0.014098
    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                                                                              56  0.014154
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         47  0.014201
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              45  0.014246
    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                                                                              52  0.014298
    4 ETW000  [dev trc     ,00000]  Got LIBPATH=/usr/lib:/lib:/usr/sap/PRD/SYS/exe/run:/oracle/PRD/102_64/lib from environment
    4 ETW000                                                                             358  0.014656
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.0'                   60  0.014716
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         30  0.014746
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          3826  0.018572
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           38  0.018610
    4 ETW000  [dev trc     ,00000]  Connecting as /@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              48  0.018658
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              52  0.018710
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110f9a780 0x110fb2bf8 0x110fb24a8
    4 ETW000                                                                              62  0.018772
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       38  0.018810
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      31  0.018841
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server PRD (con_hdl=0,svchp=0x110fb5d98,srvhp=0x110fb5fb8)
    4 ETW000                                                                              97  0.018938
    4 ETW000  [dev trc     ,00000]  Assigning server context 0x110fb5fb8 to service context 0x110fb5d98
    4 ETW000                                                                           41433  0.060371
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                        89  0.060460
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x110fb5d98,srvhp=0x110fb5fb8,usrhp=0x110fa2560)
    4 ETW000                                                                              58  0.060518
    4 ETW000  [dev trc     ,00000]  Assigning user session 0x110fa2560 to service context 0x110fb5d98
    4 ETW000                                                                           11081  0.071599
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE (:A0, :A1); END;                                                              
    4 ETW000                                                                              83  0.071682
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO (:A0); END;                                                              
    4 ETW000                                                                             212  0.071894
    4 ETW000  [dev trc     ,00000]  Now '/@PRD' is connected (con_hdl 0, nls_hdl 0).
    4 ETW000                                                                            1018  0.072912
    4 ETW000  [dev trc     ,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                                               
    4 ETW000                                                                              58  0.072970
    4 ETW000  [dev trc     ,00000]         SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)                                                        
    4 ETW000                                                                             417  0.073387
    4 ETW000  [dev trc     ,00000]  OCI-call failed with -1=OCI_ERROR                    960  0.074347
    4 ETW000  [dev trc     ,00000]     SQL error 942: 'ORA-00942: table or view does not exist'
    4 ETW000                                                                              48  0.074395
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => ORA-942 when accessing table SAPUSER
    4 ETW000                                                                              53  0.074448
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 942          28  0.074476
    4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   87  0.074563
    4 ETW000  [dev trc     ,00000]  Rolling back transaction ...                          34  0.074597
    4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=0x110fb5d98,usrhp=0x110fa2560)
    4 ETW000                                                                             187  0.074784
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     486  0.075270
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  29  0.075299
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              48  0.075347
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              51  0.075398
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110f9a780 0x110fb2bf8 0x110fb24a8
    4 ETW000                                                                              63  0.075461
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 0x110fa2560        30  0.075491
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 0x110fa2560        43  0.075534
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x110fb5d98,srvhp=0x110fb5fb8,usrhp=0x110fa2560)
    4 ETW000                                                                              52  0.075586
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    4 ETW000                                                                           22605  0.098191
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              48  0.098239
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1017         29  0.098268
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 1017   performing CON [dblink#3 @ 431]
    4 ETW000                                                                             141  0.098409
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#3 @ 431]
    4 ETW000                                                                              47  0.098456
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PRD'"
    In node 2 of a Cluster System I have the Test instance. The solution that we proposed is with two instances of RDBMS Oracle (one in Node 1, and other in Node 2) for productive system. In Node 2, we have 2 instances of Oracle in Node 2.
    listener.ora:
    epsbgst:oraprd 12> cat listener.ora
    Filename......: listener.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY = PRD.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = PRD)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = epsbgst)
              (PORT = 1537)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PRD)
          (ORACLE_HOME = /oracle/PRD/102_64)
    tnsnames.ora:
    epsbgst:oraprd 13> cat tnsnames.ora
    Filename......: tnsnames.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    PRD.WORLD=
      (DESCRIPTION =
        (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = epsbgst)
              (PORT = 1537)
        (CONNECT_DATA =
           (SID = PRD)
           (GLOBAL_NAME = PRD.WORLD)
    sqlnet.ora:
    epsbgst:oraprd 15> cat sqlnet.ora
    Filename......: sqlnet.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#4 $
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    NAMES.DEFAULT_DOMAIN = WORLD
    05.01.06 unsorported parameter now
    #NAME.DEFAULT_ZONE = WORLD
    05.01.06 set the default to 10
    SQLNET.EXPIRE_TIME = 10
    05.01.06 set to default
    #TCP.NODELAY=YES
    05.01.06 set to 32768
    DEFAULT_SDU_SIZE=32768
    How I can see with what user and password the R3trans try to connect to database??
    I have read the following notes:
    Note 400241
    Note 50088
    Note 361641
    I am trying with this script that I have readed in NOTE 361641 :
    sqlplus /NOLOG @?/rdbms/admin/oradbusr.sql SAPPRD UNIX PRD X;
    But these throw No Match. I think the problem is that I have not filled the fields with correct values.
    If I executed this script:
    SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'T000';
    The result is:
    SAPSR3
    The SAP System ID (SAPSID) = PRD
    Database ID (DBSID) = PRD
    Thanks you very much in advance!!!

    I have executed the R3trans -x with oraprd user.
    The answer to your query is:
    SQL> select owner from dba_tables where table_name='SAPUSER';
    OWNER
    OPS$PRDADM
    I have executed the R3trans also with prdadm, this is the result:
    epsbgst:prdadm 7> cat trans.log
    4 ETW000 R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 16.03.2008 - 15:44:23
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -x
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Sun Mar 16 15:44:23 2008                              76  0.000076
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    28  0.000104
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             49  0.000153
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              69  0.000222
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/PRD/SYS/exe/run/dboraslib.o), hdl 0
    4 ETW000                                                                            5735  0.005957
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              45  0.006002
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              50  0.006052
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/PRD/SYS/exe/run/dboraslib.o' is "700.08", patchlevel (0.107)
    4 ETW000                                                                             207  0.006259
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              48  0.006307
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              75  0.006382
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              35  0.006417
    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                                                                              56  0.006473
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         48  0.006521
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              44  0.006565
    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                                                                              53  0.006618
    4 ETW000  [dev trc     ,00000]  Got LIBPATH=/usr/lib:/lib:/usr/sap/PRD/SYS/exe/run:/oracle/client/10x_64/instantclient from environment
    4 ETW000                                                                             391  0.007009
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.0'                   73  0.007082
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         30  0.007112
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          2073  0.009185
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           40  0.009225
    4 ETW000  [dev trc     ,00000]  Connecting as /@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              48  0.009273
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              54  0.009327
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110f990c0 0x110fb1538 0x110fb0de8
    4 ETW000                                                                              61  0.009388
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       38  0.009426
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      32  0.009458
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server PRD (con_hdl=0,svchp=0x110fb46d8,srvhp=0x110fb48f8)
    4 ETW000                                                                              86  0.009544
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed with rc=12541
    4 ETW000                                                                            4950  0.014494
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12541'
    4 ETW000                                                                              49  0.014543
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12541        29  0.014572
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  86  0.014658
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              49  0.014707
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              50  0.014757
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110f990c0 0x110fb1538 0x110fb0de8
    4 ETW000                                                                              51  0.014808
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=0,svrhp=0x110fb48f8)
    4 ETW000                                                                              46  0.014854
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x110fb46d8,srvhp=0x110fb48f8)
    4 ETW000                                                                              46  0.014900
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x110fb48f8        32  0.014932
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      31  0.014963
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server PRD (con_hdl=0,svchp=0x110fb46d8,srvhp=0x110fb48f8)
    4 ETW000                                                                              53  0.015016
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed with rc=12541
    4 ETW000                                                                            2022  0.017038
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12541'
    4 ETW000                                                                              47  0.017085
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12541        28  0.017113
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 12541  performing CON [dblink#3 @ 431]
    4 ETW000                                                                             140  0.017253
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-12541: TNS:no listener [dblink#3 @ 431]
    4 ETW000                                                                              46  0.017299
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PRD'"
    The listener are running with oraprd user.
    Can you help me??
    Thanks you very much in advance!!

  • ERROR: ORA-01017: invalid username/password; logon denied

    Hi all
    I need your kind help.
    I have installed Oracle Audit Vault Server  Release 10.2.3.2 in Linux system and collection agent in Windows system. Adding and starting DBAUD collector went fine however  adding REDO collector return back errors when executing avorcldb add_collector command as follow
    [oracle@avsrv ~]$
    [oracle@avsrv ~]$  avorcldb add_collector -srcname orcl -agentname avagent01 -colltype REDO -av Lugaopc:1521:orcl
    collector REDO_Collector for source orcl already exists
    initializing REDO Collector
    ERROR: could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    ERROR: ORA-01017: invalid username/password; logon denied
    [oracle@avsrv ~]$
    Here is the contents of avorcldb.log file
    09-09-13 16:58:44 [INFO ] Processing command add_collector
    09-09-13 16:58:44 [INFO ] Processing arg -srcname = orcl
    09-09-13 16:58:44 [INFO ] Processing arg -agentname = avagent01
    09-09-13 16:58:44 [INFO ] Processing arg -colltype = REDO
    09-09-13 16:58:44 [INFO ] Processing arg -av = Lugaopc:1521:orcl
    09-09-13 16:58:44 [INFO ] Connect info : Lugaopc:1521:orcl
    09-09-13 16:58:45 [INFO ] Got AV admin connection using jdbc:oracle:oci:@AVDB
    09-09-13 16:58:45 [INFO ] Executing SQL as [ADM@AV] select s.host||':'||a1.num_value||':'||a2.char_value from avsys.av$attrvalue a1, avsys.av$attrvalue a2, avsys.av$source s, avsys.av$attrdef ad1, avsys.av$attrdef ad2 where source_name = :1 and a1.inst_id = s.source_id and a2.inst_id = s.source_id and a1.attr_id = ad1.attr_id and ad1.attr_name = 'PORT' and a2.attr_id = ad2.attr_id and ad2.attr_name = 'DB_SERVICE'
    09-09-13 16:58:45 [INFO ] Using bind value orcl
    09-09-13 16:58:45 [INFO ] Return value = Lugaopc:1521:orcl
    09-09-13 16:58:45 [INFO ] Connect info : Lugaopc:1521:orcl
    09-09-13 16:58:45 [INFO ] Executing SQL as [ADM@AV] select to_char(source_id) from avsys.av$source where source_name = :1
    09-09-13 16:58:45 [INFO ] Using bind value orcl
    09-09-13 16:58:45 [INFO ] Return value = 1
    09-09-13 16:58:46 [INFO ] Got source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select decode(c.status, 1, 'active', 0, 'dropped', null) from avsys.av$collector c, avsys.av$source s where source_name = :1 and collector_name = :2 and c.source_id = s.source_id
    09-09-13 16:58:46 [INFO ] Using bind value orcl
    09-09-13 16:58:46 [INFO ] Using bind value REDO_Collector
    09-09-13 16:58:46 [INFO ] Return value = active
    09-09-13 16:58:46 [MESG ] collector REDO_Collector for source orcl already exists
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select decode(c.status, 1, 'active', 0, 'dropped', null) from avsys.av$collector c, avsys.av$source s where source_name = :1 and collector_name = :2 and c.source_id = s.source_id
    09-09-13 16:58:46 [INFO ] Using bind value orcl
    09-09-13 16:58:46 [INFO ] Using bind value REDO_Collector
    09-09-13 16:58:46 [INFO ] Return value = active
    09-09-13 16:58:46 [MESG ] initializing REDO Collector
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select username from avsys.av$source where source_name = :1
    09-09-13 16:58:46 [INFO ] Using bind value orcl
    09-09-13 16:58:46 [INFO ] Return value = AVSRCUSR1
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] {? = call avsys.dbms_audit_vault.reset_source_user(?)}
    09-09-13 16:58:46 [INFO ] Adding mask for user password
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select table_name from user_tables where upper(table_name) = upper(:1)
    09-09-13 16:58:46 [INFO ] Using bind value STREAMS_HEARTBEAT
    09-09-13 16:58:46 [INFO ] Return value = STREAMS_HEARTBEAT
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop table streams_heartbeat
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create table streams_heartbeat( src_dbname varchar2(4000), job_number number, heartbeat_time timestamp)
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] declare dbs_name varchar2(4000); begin select global_name into dbs_name from global_name; insert into streams_heartbeat values (dbs_name, 0, SYSTIMESTAMP); end;
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create or replace procedure update_heartbeat IS begin update streams_heartbeat set heartbeat_time=(select systimestamp from dual); commit; end;
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select table_name from user_tables where upper(table_name) = upper(:1)
    09-09-13 16:58:46 [INFO ] Using bind value CAPTURE_RULES
    09-09-13 16:58:46 [INFO ] Return value = CAPTURE_RULES
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop table capture_rules
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create table capture_rules( rule_name  varchar2(50), rule_scope varchar2(6),  rule_type  varchar2(3),  obj_name   varchar2(100))
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select global_name from global_name
    09-09-13 16:58:46 [INFO ] Return value = AVDB.AVSRV
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select db_link from user_db_links where db_link = :1
    09-09-13 16:58:46 [INFO ] Using bind value AVDB.AVSRV
    09-09-13 16:58:46 [INFO ] Return value = AVDB.AVSRV
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop database link "AVDB.AVSRV"
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select version from v$instance
    09-09-13 16:58:46 [INFO ] Return value = 11.2.0.1.0
    09-09-13 16:58:46 [INFO ] Creating DB link using AVDB.AVSRV,AVSRCUSR1,{avsrcusr_pwd},Lugaopc,1521,orcl
    09-09-13 16:58:46 [INFO ] Connecting as srcuser_ora01 to @(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    09-09-13 16:58:46 [INFO ] Output from SQLPlus
    09-09-13 16:58:46 [INFO ]
    09-09-13 16:58:46 [INFO ] Package created.
    09-09-13 16:58:46 [INFO ]
    09-09-13 16:58:46 [INFO ] No errors.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] Package body created.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] No errors.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] Package created.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] No errors.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] Package body created.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] No errors.
    09-09-13 16:58:47 [INFO ] Executing SQL as [USR@SRC] select distinct name from user_errors where name = :1
    09-09-13 16:58:47 [INFO ] Using bind value DBMS_SRC_STREAMS_COLLECTOR
    09-09-13 16:58:47 [INFO ] Return value = null
    09-09-13 16:58:47 [ERROR] could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    09-09-13 16:58:47 [ERROR] ORA-01017: invalid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
        at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)
        at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
        at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:162)
        at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
        at java.sql.DriverManager.getConnection(DriverManager.java:525)
        at java.sql.DriverManager.getConnection(DriverManager.java:140)
        at oracle.av.avca.jdbc.JdbcConnection.<init>(JdbcConnection.java:87)
        at oracle.av.orcldb.DAO.initConnection(DAO.java:79)
        at oracle.av.orcldb.DAO.<init>(DAO.java:64)
        at oracle.av.orcldb.commands.AddCollector.setupCollector(AddCollector.java:746)
        at oracle.av.orcldb.commands.AddCollector.execute(AddCollector.java:230)
        at oracle.av.orcldb.Command.process(Command.java:89)
        at oracle.av.orcldb.Main.process(Main.java:118)
        at oracle.av.orcldb.Main.main(Main.java:132)
    I have searched the forum to my level best without clear solution
    Regards
    Sadock

    Hi gurus
    I don't believe if this is missing solution from oracle community. I have decided to installed the collction agent and source database in linux system, so now both auditt vault server and collction agent are running in Linux system (but separately)
    I am wondering, avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype DBAUD and  avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype OSAUD -orclhome /u01/app/oracle/product/11.2.0/dbhome_1 are working fine and  I am able to start these collectors
    The  avorcldb verify -src Lugaosrv:1521:ORCL.LUGAOSRV -colltype ALL command also return good results
    [oracle@avsrv ~]$ avorcldb verify -src Lugaosrv:1521:ORCL.LUGAOSRV -colltype ALL
    Enter Source user name: srcuser_ora01
    Enter Source password:          
    source ORCL.LUGAOSRV verified for OS File Audit Collector collector
    source ORCL.LUGAOSRV verified for Aud$/FGA_LOG$ Audit Collector collector
    source ORCL.LUGAOSRV verified for REDO Log Audit Collector collector
    [oracle@avsrv ~]$
    The problem still I am facing is when attempting to add REDO collector. In fact the collector is added successful and i can see it even on EM console.
    [oracle@avsrv ~]$ avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype REDO -av Lugaosrv:1521:ORCL.LUGAOSRV
    source ORCL verified for REDO Log Audit Collector collector
    Adding collector...
    Collector added successfully.
    remember the following information for use in avctl
    Collector name (collname): REDO_Collector
    initializing REDO Collector
    ERROR: could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaosrv)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL.LUGAOSRV)))
    ERROR: ORA-01017: invalid username/password; logon denied
    [oracle@avsrv ~]$
    Any help will be appreciated
    Sadock

  • ORA-01017: invalid username/password; logon denied - Database Link

    Hi Guys,
    Could you help me, I have a problem connecting to another database using the database link:
    *1. I added in tnsnanes.ora of "client" database DEV2*
    DEV =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SID = DEVDB)+
    +)+
    +)+
    *2. I tested my connection using tnsping*
    oracle@dev> tnsping dev
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 10-JUL-2010 14:35:35
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    +/opt/oracle/product/10.2/db_1/network/admin/sqlnet.ora+
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
    OK (0 msec)
    oracle@dev>
    *3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry*
    SQL> conn devuser/pwd001@dev
    Connected.
    *4. I then create a database link.*
    SQL> Create Database Link dev_Link
    +2 Connect to devuser+
    +3 identified by pwd001+
    +4 using 'DEV';+
    Database link created.
    SQL>
    *5. When I try to connect to the database using the database link I get an error, but I am very sure the username ans password are ok.*
    SQL> select * from global_name@dev_link;
    select * from global_name@dev_link
    *+
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from DEV_LINK
    SQL>
    What could be wrong......??

    4. I then create a database link.
    SQL> Create Database Link dev_Link
    2 Connect to devuser
    3 identified by pwd001
    4 using 'DEV';create DATABASE LINK USING <connect-string>
    your sid is DEVDB so create dblink using oracle_sid
    If you specify only the database name, then Oracle Database implicitly appends the database domain to the connect string to create a complete service name. Therefore, if the database domain of the remote database is different from that of the current database, then you must specify the complete service name.
    Edited by: rajeysh on Jul 10, 2010 7:28 PM

Maybe you are looking for