Invalid username/password  when running VSM1.3

Hi, I have the issue of invalid username/password when running VSM 1.3.
When I ran authentication.java , I got the error as follow:
oracle: Exception thrown from getService method of ServiceLocator class: Lookup error:javax.naming.AuthenticationException:Invalid username/password for current-workspace-app(admin);nested exception is: javax.naming.AuthenticationException:Invalid username/password for current-workspace-app(admin)
When running the web app, I got same message "Invalid username/password ".
I checked the database. There are 4 records for admin,apparelowner,electowner and guest.
My oracle db has japanese character set.
I have read all the threads about the topic of VSM.
But unfortunately I didn't find a clear conclusion and solution for this issue.
Is it an issue of locale? Really appreciate your reply.
Leon

Was this working before? If yes, any changes been done recently?
Was the dbc file recreated recently?
Please see these docs/links.
After Cloning Oracle Applications And Resetting APPS Password, Discoverer 10g/11g Fails With Error: Unable To Connect To Oracle Applications Database (afscpgcs) [ID 788706.1]
Apps User Logging Into Discoverer Plus/Viewer Get Error "A connection error has occurred. -Unable to connect to Oracle Applications database: Your password has expired." [ID 871384.1]
Getting Invalid Username/Password While Running Adupdeul On E-Business Suite R12 [ID 562876.1]
Attempting to Import Discoverer EUL through adupdeul, returns the error "Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password" [ID 1243866.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=%27Unable+to+connect+to+Oracle+Applications+database%27&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein

Similar Messages

  • Getting invalid username/ password when trying to change expired password

    I am using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production.
    I created a user with password expire option and gave create session grant. When I tried to connect with the user it gives me password expired message as expected but when I try to put new password it gives me invalid username/password as show below. I have tried many times and made sure new password and retype new password are same and long enough.
    Could anyone please advice what am I missing?
    SQL> conn schu/xxx@abc
    ERROR:
    ORA-28001: the password has expired
    Changing password for schu
    New password: ********
    Retype new password: ********
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Password unchanged
    SQL>

    spur230 wrote:
    sb92075 wrote:
    spur230 wrote:
    It works that way but I need to use password expire option.
    I see the words, but do not understand what they/you mean.The code you asked me to run work perfectly but I am getting ORA-01017 when I use password expire option.
    With your code if I do
    alter user schu password expire.
    It will ask me to enter new password and verify password after which I am getting
    ERROR:
    ORA-01017: invalid username/password; logon deniedI am not sure what you are doing & doing wrong; but it works OK for me.
    SQL> CREATE USER USER3 IDENTIFIED BY USER3 PASSWORD EXPIRE;
    User created.
    SQL> GRANT CREATE SESSION TO USER3;
    Grant succeeded.
    SQL> CONNECT USER3/USER3
    ERROR:
    ORA-28001: the password has expired
    Changing password for USER3
    New password:
    Retype new password:
    Password changed
    Connected.
    SQL> CONNECT USER3/USER4
    Connected.
    SQL> show user
    USER is "USER3"
    SQL>

  • 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

  • Forms Services: Invalid username/password when trying to use Forms Utility

    In Oracle Application Server Control, Forms Services, I clicked on Forms-> Forms Utility-> In the Command text field, I typed "ps" then I clicked <Submit>.
    A username/password form is displayed. I entered the username/password then clicked on OK button.
    The following error message appeared, although the username/password provided was for sure correct (they are the ones I used when I started the Oracle AS Control in the first place):
    Error: oracle.sysman.emSDK.emd.comm.RemoteOperationException Check the User Name and Password
    Also I got the same message when I tried to stop a session.
    Am I right that I should use the administrator username/password used to start the Oracle AS Control? If yes, why I am gotten this message?

    Frank,
    - user credential should be OS userid/password of user who installed iAS.
    I had tried to log on using OS userid/password.
    - set "Log on as a batch job" priviledge.
    privilege had been already assigned.
    - check if "allow service to interact with desktop" is enabled
    it had been already enabled.
    - If your system does not have MKS TOOLKIT, it won't work. However, this page is designed for future enhancement. See Online Help.
    1. What is MKS Toolkit?
    2. It is stated in the documentation that it will be enhanced in the future but the command "ps" should work. It is clearly stated that I should see a list of processes.
    Thanks Frank.
    Merry Christmas to you by the way.

  • Invalid username/password.  when trying to connect to oracle discoverer

    Hi All,
    Today when i try to connect to discoverer using oracle apps user and password.
    I am getting an error.
    Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
    I was able to connect previously. Please help me on this.
    discoverer version:11.1.1.4.0
    Apps version : 12.1.3
    db version : 11.2.0.3
    Please suggest.
    Thanks and Regards,

    Was this working before? If yes, any changes been done recently?
    Was the dbc file recreated recently?
    Please see these docs/links.
    After Cloning Oracle Applications And Resetting APPS Password, Discoverer 10g/11g Fails With Error: Unable To Connect To Oracle Applications Database (afscpgcs) [ID 788706.1]
    Apps User Logging Into Discoverer Plus/Viewer Get Error "A connection error has occurred. -Unable to connect to Oracle Applications database: Your password has expired." [ID 871384.1]
    Getting Invalid Username/Password While Running Adupdeul On E-Business Suite R12 [ID 562876.1]
    Attempting to Import Discoverer EUL through adupdeul, returns the error "Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password" [ID 1243866.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%27Unable+to+connect+to+Oracle+Applications+database%27&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • ORA-01017: invalid username/password; running step: 1-Complete configuratio

    While executing the step: 1-Complete configuration of Maintenance Wizard (Required)
    I encounter the following error below. I have checked that apps and system passwords for the source database are correct. The MW user password is also correct:
    Checking that Remote EOF_HOME is only a directory name, not a path...
    ERROR:
    ORA-01017: invalid username/password; logon denied
    SP2-0640: Not connected
    SP2-0670: Internal number conversion failed
    Usage: { EXIT | QUIT } [ SUCCESS | FAILURE | WARNING | n |
    &lt;variable&gt; | :&lt;bindvariable&gt; ] [ COMMIT | ROLLBACK ]
    ** ERROR!!! **
    ** Project node configuration has FAILED with the problem(s) below:!!! **
    ** Invalid value for REMOTE_EOF_HOME.
    ** Solution: Remove all slashes in the value for REMOTE_EOF_HOME.
    ** The value must be a simple directory name, not a path.
    ** Please have the Project Administrator return to the Modify Project
    ** screen, change the value for REMOTE_EOF_HOME and re-run Step
    ** 1 of the Configuration category.
    *******************************************************************************

    Thanks for your response. I read the documents that you recommended. This looks like the same issue described in bug 6650342 which was fixed in v. 2.08 when 10g iAS was still being used. Could the same thing be happening with EPG? The MW account got locked after I retried the operation multiple times. The runtime details shows '$EOF_COMMON/buildftp.sh' as the script being run.
    Here is the error message that I received:
    Checking that Remote EOF_HOME is only a directory name, not a path...
    ERROR:
    ORA-28000: the account is locked
    SP2-0640: Not connected
    SP2-0670: Internal number conversion failed
    Usage: { EXIT | QUIT } [ SUCCESS | FAILURE | WARNING | n |
    &lt;variable&gt; | :&lt;bindvariable&gt; ] [ COMMIT | ROLLBACK ]
    ** ERROR!!! **
    ** Project node configuration has FAILED with the problem(s) below:!!! **
    ** Invalid value for REMOTE_EOF_HOME.
    ** Solution: Remove all slashes in the value for REMOTE_EOF_HOME.
    ** The value must be a simple directory name, not a path.
    ** Please have the Project Administrator return to the Modify Project
    ** screen, change the value for REMOTE_EOF_HOME and re-run Step
    ** 1 of the Configuration category.
    *****************************************************************

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

  • Error when starting Firefox 3.6. "Javascript Application error. Invalid username/password combination. If you continue to get this error, try entering your email address as your username." Any suggestions on what to look for to resolve this?

    When starting Mozilla Firefox 3.6, I get an error window which opens up additionally overtop my browser windows stating:
    "Javascript Application"
    followed with :
    "Invalid username/password combination. If you continue to get this error, try entering your email address as your username."
    Obviously it is happening with one of my email addresses/usernames & password combinations of which I know the username for (which I choose not to post here) and I'm not sure where to begin looking for a resolution to this problem.

    I was able to resolve this by disabling (under Tools - Add-ons) Yahoo! Mail Notifier
    Hope this helps some of you also!

  • I keep getting this notification when I log in to firefox, "Invalid username/password combination. If you continue to get ... - did not match any documents.

    Question
    I keep getting this notification when I log in to firefox, "Invalid username/password combination. If you continue to get ... - did not match any documents. I just downloaded the latest version of Firefox and now every time i open it I get the above message having to do with my email. The old firefox didn't do this. There is nothing wrong with my yahoo email or password.

    I was able to resolve this by disabling (under Tools - Add-ons) Yahoo! Mail Notifier
    Hope this helps some of you also!

  • 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 Error ( Invalid Username Password) Logon Denied

    Gurus,
    I am running into the above error ( ORA- 01017) ( Invalid Username Password) Logon Denied on the Oracle Application Server 10g.
    Note:
    On windows 2003 server
    The DB is 11g and I am using the Oracle applicaton Server 10g - Forms Services
    Also have Installed Oracle Dev_suite ( Oracle forms)
    Instances used - PROD and TEST
    Have developed a simple form and using Forms services ( the below url) is used
    http://<<Hostname>>/forms/frmservlet?form=meds_trans_menu.fmx&userid=&otherparams=useSDI=yes&lookAndFeel=oracle&colorScheme=blue
    the Login screen comes ,
    entering the username and details , says the password expired as the user is trying to enter for the first time,
    shows the change password screen
    old password
    new password
    re-enter new password
    When I try to enter the new password and hit ok button, it shows error message again and again.
    ORA- 01017 Error ( Invalid Username Password) Logon Denied
    Not sure why i get this error , even after entering the correct credentials.
    Please advice.
    Thanks
    Sheik

    Gurus - Any ideas , suggestions how this can be resolved?
    Is this issues because of version mismatch ( 11g DB and Oracle Forms 10g)??
    Please advice when time permits.
    Thanks
    Sheik

  • "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; 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;

    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

Maybe you are looking for