ORA-01017: invalid username/password through dblink when select from view

Hello all,
I work on 2 databases :
- One is a 10g (let's call it db_10 )
- The second one is a 11g (let's call it db_11 )
I created a view V_PROTOCOLES in schema SCHEMA_1 on db_11.
The FROM clause of this view call 4 tables :
- table1 : owner is SCHEMA_1
- table2 : owner is SCHEMA_2 (schema on db_11 )
- table3 : owner is SCHEMA_3 (schema on db_10 )
- table4 : owner is SCHEMA_4 (schema on db_10 )
When I simply run SELECT * FROM V_PROTOCOLES on db11 with user X, I can have a result.
The problem occurs when I connect on db10 also with user X. The V_PROTOCOLES view has a public synonym using the dblink DBDOC_LINK (without explicitly specify a user, so it connects with the X user).
But here I can't run the SELECT * FROM V_PROTOCOLES. I Have the following error :
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from DBDOC_LINKThe passwords for user X are obviously the same on both 10g and 11g databases.
Thanks for the help !

On 10g :
select password from dba_users where username = 'U872574';
PASSWORD
30811840BC618B77On 11g :
select password from sys.user$ where name='U872574';
PASSWORD
30811840BC618B77I dropped and recreated the dblink but the problem always occurs...
(By the way, curiously when I dropped the dblink I have no invalid objects although it is used in different packages or triggers)

Similar Messages

  • 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:~$

  • ORA-01017: invalid username/password when using TNS Alias

    Friends,
    I am experiencing this strange issue in 11G R2. When I use tnsalias and connect using sqlplus username/password@TNS it shows ORA-01017: invalid username/password . But the same works with ORACLE_SID. See below.
    -bash-3.00$ uname -a
    SunOS ibs-ash-sr147 5.10 Generic_144489-06 i86pc i386 i86pc
    -bash-3.00$ env | grep ORACLE
    ORACLE_SID=DB1
    ORACLE_BASE=/project/oracle/orabase
    ORACLE_HOME=/project/oracle/orabase/product/11.2.0/dbhome_1
    -bash-3.00$ tnsping DB
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-JUN-2011 12:23:12
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /project/oracle/orabase/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = crs-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DB)))
    OK (0 msec)
    -bash-3.00$ sqlplus IRES_USER@DB
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:30:22 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> show parameter sec_case_sensitive_logon
    NAME                                 TYPE        VALUE
    sec_case_sensitive_logon             boolean     TRUE
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    -bash-3.00$ sqlplus IRES_USER/U9$bvs#ir@DB
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:34:30 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name: ^CMy understanding is that both connections use a TNS alias, but second is not working. Any help is appreciated.
    Thanks in Advance,
    SSN
    Edited by: SSNair on Jun 17, 2011 5:43 AM

    SSNair wrote:
    Friends,
    I am experiencing this strange issue in 11G R2. When I use tnsalias and connect using sqlplus username/password@TNS it shows ORA-01017: invalid username/password . But the same works with ORACLE_SID. See below.
    -bash-3.00$ uname -a
    SunOS ibs-ash-sr147 5.10 Generic_144489-06 i86pc i386 i86pc
    -bash-3.00$ env | grep ORACLE
    ORACLE_SID=DB1
    ORACLE_BASE=/project/oracle/orabase
    ORACLE_HOME=/project/oracle/orabase/product/11.2.0/dbhome_1
    -bash-3.00$ tnsping DB
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-JUN-2011 12:23:12
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /project/oracle/orabase/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = crs-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DB)))
    OK (0 msec)
    -bash-3.00$ sqlplus IRES_USER@DB
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:30:22 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> show parameter sec_case_sensitive_logon
    NAME                                 TYPE        VALUE
    sec_case_sensitive_logon             boolean     TRUE
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    -bash-3.00$ sqlplus IRES_USER/U9$bvs#ir@DB
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:34:30 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name: ^CMy understanding is that both connections use a TNS alias, but second is not working. Any help is appreciated.
    Thanks in Advance,
    SSN
    Edited by: SSNair on Jun 17, 2011 5:43 AMHere's your problem:
    -bash-3.00$ sqlplus IRES_USER/U9$bvs#ir@DBBecaue of the dollar-sign, The shell is trying to expand the environment variable $bvs#ir@DB
    Of course you have no environment variable by that name so what gets passed to sqlplus is not "IRES_USER/U9$bvs#ir@DB", but rather "IRES_USER/U9"
    In your first test, you didn't pass the password on the command line, so the shell didn't get a chance to intercept it.
    You can have a similar issue if you have a '@' in your password
    oracle> sqlplus scott/P@ssword@orclTns will catch that first "@" as the delimiter to the tns string, and come up with something that cant' be resolved.
    Edited by: EdStevensTN on Jun 17, 2011 8:59 AM

  • 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

  • [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied

    ---cmd prompt------------------------
    H:\>sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.3.0 - Production on Sun Mar 28 16:54:53 2010
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    -------------ASP -------------------------
    <%@ Language="JScript" %>
    <%
         var uname=Request.Form("un");
         var upwd=Request.Form("pwd");
         Response.Write("User Name is " + uname + "<br>" + "password is " + upwd);
         var sql = "select * from emp";
         var conn = Server.CreateObject("ADODB.Connection");
         var rs = Server.CreateObject("ADODB.Recordset");
         conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';";
         rs.Open(sql, conn, 3, 3);
    %>
    ------------------Error------------------
    User Name is scott
    Password is tiger
    Microsoft OLE DB Provider for ODBC Drivers error '80040e4d'
    [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    /prc/main.asp, line 11
    variable uname has valid username that is 'scott' and variable upwd as valid password ie 'tiger' both entered by the user.
    with the same username and password i am able to connect to the database from the command prompt.
    but when i tried using odbc through ASP(javascript) i am getting above error.
    and one more thing if i mention username and password directly in UID and PWD it works but when i pass it through variables it wont work.
    since variables have username and password it has to take from it directly...........manually i cant give,dynamically it has to take.
    plz help me out....how i can pass the parameter to that UID and PWD.
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';";
    help plz
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';"; --- does not work
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID=scott;PWD=tiger;"; --- works
    but i want the 1st statement to work........since user gives the password and username dynamically.
    Thanks
    Veeresh S

    conn.Open("DSN=tcp;UID="+uname+";PWD="+upwd+";");
    this solved me
    thanks for all who had vied this..
    veeresh

  • 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 FOR SYS USER

    Hello,
    I was usually login through the same password for sys user to log on to the database as sysdba, but last time i used " / as sysdba" to connect using local system administrative account which is connected very well and still connecting in the same way. The initializing parameter file set with the following parameter:
    remote_login_passwordfile=EXCLUSIVE
    Now if i use to connect the database server remotely using sys user, it gives me "ORA-01017: invalid username/password; logon denied" error and if i use the same login credentials on DB server machine using other local user accounts it is giving me "Insufficient Privilige" error. I can only connect now using local administrator account from DB server machine using " / as sysdba" statement.
    Kindly guide me the issue.

    When you use " / as sysdba" locally on server, you are using OS authentication which will bypass the password file and user/pass authentication.
    Looks like you have discrepancy between the password you use and real password. You can login " / as sysdba" and change your SYS password to a new one.
    When was last time you successfully login using password? What has changed since then?

  • Getting ORA-01017: invalid username/password error only with specific tools

    Hi,
    I am a Junior DBA still getting familiar with Oracle. I am having trouble accessing one of my databases through both TOAD and SQLDetective tools. When I try to log in to my database using these tools, I get the error:
    ORA - 01017: invalid username/password; login denied
    Even though the password and username is correct.
    I can successfully login through other tools like SQLTools and through SQL Plus. I have searched this issue and I have seen people with the same problems but I couldnt find a solution. The weird thing is, I can use TOAD and SQLDetective to login to other databases without any issues. It seems to be this one specific database.
    My database is an 11g database on a linux box. I have 9i and 10g clients installed on my machine. The all my apps use the tnsnames from the 9i home on my machine.
    Any help on this would be greatly appreciated. Thanks.
    Rgs,
    Rob
    Edited by: rgilligan on 16-Apr-2010 02:11

    Hello, if it is 11g, look at the parameter sec_case_sensitive_logon. This parameter defaults to true, which makes the password case sensitive. Some tools/apps do a UPPER or LOWER on the password and so this may the reason for the error
    Henner

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

  • 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

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

    I am attempting to connect to the database through OCI, and am receiving this error:
    OCI ORA-01017: invalid username/password;logon denied
    I know the username and password I am using is correct. Is there some setting in the init.ora file that needs to be configured to logon through OCI?
    Please Advise
    Thanks,
    Mike

    The Entreprise manager agent trace file (emagent.trc)
    contains following error. Any idea what and where to
    fix this?
    2007-12-31 02:21:57 Thread-316441 WARN vpxoci: OCI
    Error -- ErrorCode(1017): ORA-01017: invalid
    username/password; logon denied
    SQL = "
    CISessionBegin"...
    LOGIN =
    ods/<PW>@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL
    =TCP)(HOST=longines)(PORT=1521)))(CONNECT_DATA=(SERVIC
    E_NAME=iasdb.com)))
    2007-12-31 02:21:57 Thread-316441 ERROR vpxoci:
    ORA-01017: invalid username/password; logon denied
    2007-12-31 02:21:57 Thread-316441 WARN vpxoci: Login
    0x1587ba8 failed, error=ORA-01017: invalid
    username/password; logon denied
    2007-12-31 02:21:57 Thread-316441 ERROR engine:
    [oracle_ldap,iasdb.longines.com_LDAP,OIDserverSecRefSu
    LoginSuccCC] : nmeegd_GetMetricData failed :
    ORA-01017: invalid username/password; logon denied
    ThanksGo to the agent setup pages, update the Metric Collection settings for that target.

  • ORA-01017 (invalid username/password) using globally authenticated account

    Kris and team,
    Having a hard time believing no one else has encountered this already. But searching on 1017 and "globally" and "identified" in the forum yields nothing useful.
    New corporate policy has all our DBAs, developers and QA logging into globally authenticated (against OID) accounts. Oracle docs call these accounts "global users". They are able to do so just fine using SQL*Plus, TOAD and PL/SQL Developer. But when we attempt the same in SQL Developer, different rules seem to be applied, and the user is told their username/password is invalid, which is not correct.
    We have several hundred developers ready to use their new accounts in SQL Developer, but cannot. Would appreciate quick reply or patch on this.
    btw, when I say "global user", I'm referring to accounts that are created in Oracle using the "identified globally as" syntax.
    Am I missing something?
    Edited by: chromedome on Aug 9, 2010 1:49 PM

    Thank you, this was helpful in that it caused me to try the other connection methods: Basic, TNS (as you mentioned on your blog), LDAP and Advanced, both with regular accounts and with global users, both with thin and thick drivers employed.
    In all cases, using a normal Oracle account, I was able to connect.
    But using a global user, with the thick/OCI client forced, I get the "Status: Failure -Test failed: oracle.jdbc.driver.T2Connection.t2cCreateState([BI[BI[BI[BI[BISI[S[B[BZ)I" message. And with the thin driver used, I get the "ORA-01017: invalid username/password; logon denied" message. The possibility I have the password incorrect is non-existent as I'm both typing it in manually, and copying and pasting it, from successful global user connections in PL/SQL Developer and TOAD into SQL Developer.
    SQL Developer 2.1.1.64 is not working using InstantClient 11.2 when attempting to login with a global user.
    Sue/Kris, due I use "the site formerly known as Metalink" to log a bug, or are you already tackling this internally? We really need this patched soon.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • "ORA-01017 invalid username/password: logon" --- Help Please !!!

    Hello Peter,
    Sorry for sending an unexpected mail.
    I am stuck and really want your help. I have seen your email address on OTM website.
    Aim: To run the JAVA code samples provided in Oracle 9i DATA MINING suite
    on windows 2000.
    I have installed Oracle 9i enterprise edition and
    also Oracle 9i Data mining (ODM).
    I have lot of problems in username/password authentication.
    everytime I run the ODM setup, irrespective of the default
    name/password
    which is ODM/odmpw it says "ORA-01017 invalid username/password: logon"
    I was just working on the Oracle 9i DataMining installation and found something really interesting
    I was wondering if you can solve this:
    1. I created user SCOTT and ODM using SQL Plus queries by logging system/manager.
    and when I typed "select username from dba_names" it gave me ODM and SCOTT as
    users and hence I was happy.
    2. Then I uninstalled DATA MINING suite and reinstall it thinking this time it should
    get ODM/odmpw as username and password as and DBA user/password being
    system/manager. When uninstalling DATA MINING suite ODM user gets dropped
    and when reinstalling ODM suite, it never make ODM user back in Oracle 9i database.
    Hence it is not finding ODM user anymore and hence "ORA-01017 invalid username/password: logon"
    error occurs.
    Now can you tell me what can be done in order to make the ODM recreate when installing
    DATA MINING suite.
    Please reply me as I am badly stuck.
    I at least know why problem is occurring now looking for solution.
    Thanks
    Nishant

    I was reading on gogole
    i have set
    alter system set SEC_CASE_SENSITIVE_LOGON=false scope=spfile;
    now i can connect from sqlplus
    sqlplus SYSTEM/password
    also
    sqlplus SYSTEM/password@localhost:1521/XE
    also :
    From GUI i can connect to oracle db from http by port 8080
    but its seems like oracle VM manager does not connect ...
    example
    Would you like to install Oracle Database 11g Express Edition (XE) or connect to an existing Oracle database?
    1: Install Oracle Database 11g XE
    2: Use an existing Oracle database
    Select Number (1-2): 2
    Enter the Oracle Database hostname [localhost]:
    Enter the Oracle Database System ID (SID) [XE]:
    Enter the Oracle Database SYSTEM password:
    Enter the Oracle Database listener port [1521]:
    Enter the Oracle VM Manager database schema [ovs]:
    Enter the Oracle VM Manager database schema password:
    Enter the Oracle VM Manager database schema password (confirm):
    Oracle Weblogic Server 11g
    ==========================
    Enter the Oracle WebLogic Server 11g user [weblogic]:
    Enter the Oracle WebLogic Server 11g user password:
    Enter the Oracle WebLogic Server 11g user password (confirm):
    Oracle VM Manager application
    =============================
    Enter the username for the Oracle VM Manager administration user [admin]:
    Enter the admin user password:
    Enter the admin user password (confirm):
    Verifying configuration ...
    The database could not be reached using the provided connection info.
    ORA-01017: invalid username/password; logon denied
    Configuration verification failed ...
    can any one please help me

  • ORA-01017: invalid username/password;

    Hi there,
    I have set up an Inbound Data Exchange Session so that my program can send alerts to be displayed on OEM(Oracle Enterprise Manager), as specified in http://download-uk.oracle.com/docs/cd/B16240_01/doc/em.102/b32521/em_data_ex.htm.
    I have succesfully create an Outbound Data Exchange Session where my program receives new alerts from OEM, but im encountering an issue when i send alerts to OEM. I have checked the emoms.trc file and its complaining about an invalid username and password for the database, but when i set up the Outbound Data Exchange Session, there is nowhere i can specify the database credentials!
    Is there anyway i could change the database so it can be accessed without password? I have copy pasted the emoms.trc file below.
    2008-03-03 10:44:41,202 [JobWorker 3265:Thread-31] ERROR jobs.ReceiveMetricDataViaJms validateMsgsAndInsertEvents.561 - Cannot insert alert for oem-winxp.int-link.com : ORA-01017: invalid username/password; logon denied
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] ERROR genericImpl.Authentication_State executeUsing.104 - Authentication_State::executeUsing(ExecutionContext ec, InputEvent ie) >> ORA-01017: invalid username/password; logon denied
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] FATAL consumingExternalAlerts.InboundEventProcessor notify.115 - class oracle.sysman.emWebservices.inbound.consumingExternalAlerts.InboundEventProcessor::notify(Alert) >> An exception occured while processing alert. Alert details below, followed by exception stack dump:
    PRODUCER_ID=
    KEY1=
    KEY2=
    KEY3=
    KEY4=
    KEY5=
    TARGET_TYPE=host
    TARGET_NAME=oem-winxp.int-link.com
    CATEGORY=
    METRIC_NAME=
    VALUE=
    SEVERITY=Critical
    MESSAGE=NEW ALERT TEST!!!
    TIMESTAMP=null
    oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.StateExecutionException: oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.AuthenticationException: ORA-01017: invalid username/password; logon denied
         at oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.Authentication_State.executeUsing(Authentication_State.java:105)
         at oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.Machine.executeUsing(Machine.java:31)
         at oracle.sysman.emWebservices.inbound.consumingExternalAlerts.InboundEventProcessor.notify(InboundEventProcessor.java:102)
         at oracle.sysman.eml.bam.jobs.ReceiveMetricDataViaJms.validateMsgsAndInsertEvents(ReceiveMetricDataViaJms.java:558)
         at oracle.sysman.eml.bam.jobs.ReceiveMetricDataViaJms.executeCommand(ReceiveMetricDataViaJms.java:240)
         at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:825)
         at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:708)
         at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
    Caused by: oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.AuthenticationException: ORA-01017: invalid username/password; logon denied
         ... 8 more
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] ERROR jobs.ReceiveMetricDataViaJms validateMsgsAndInsertEvents.561 - Cannot insert alert for oem-winxp.int-link.com : ORA-01017: invalid username/password; logon denied
    Many thanks,
    Mo.

    Do you have write the preferred credentials for the target database?
    you must select PREFERENCES --> CREDENTIALS and write the credentials for:
    agent
    host
    database
    The trc of emoms show that you dont have credentials for the database of repository. Any action of grid control that is executed in automatic mode need that you introduced the credentials for the targets
    My suggestion is that write and test the credentials for all the targets
    Regards

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

    We are in the middle of applying the patch u6678700 - to upgrade applications 115102 to R12 . We face the following errors :
    There are now 48839 jobs remaining (current phase=A197):
    60 running, 9011 ready to run and 39768 waiting.
    Assigned: file 2399504a.sql on worker 61 for product ar username AR.
    Time is: Sun Jul 14 2013 23:28:40
    Assigned: file arbpauptmf.sql on worker 62 for product ar username AR.
    Time is: Sun Jul 14 2013 23:28:40
    Connecting to AR......Unable to connect.
    AutoPatch error:
    The following ORACLE error:
    ORA-01017: invalid username/password; logon denied
    occurred while executing the SQL statement:
    CONNECT AR/*****
    AutoPatch error:
    Error while evaluating "Check Object"
    Telling workers to quit...
    Password has been changed for the AR user using FNDCPASS , but when we restart the patch , we still get the same error . Please suggest
    Thanks
    Ashish

    Password has been changed for the AR user using FNDCPASS , but when we restart the patch , we still get the same error . Please suggest
    Can you connect via sqlplus using the new password? -- sqlplus ar/<ar new password>
    If yes, then run the script that failed manually via sqlplus and make sure it runs successfully then skip the failed worker via adctrl.
    Thanks,
    Hussein

Maybe you are looking for