1576837 ORA-01017 Invalid Usernamepassword

March 21, 2018 | Author: bonbon01 | Category: Password, Oracle Database, User (Computing), Login, Operating System


Comments



Description

SAP Knowledge Base Article    1576837 - ORA-01017: invalid username/password; Version   5     Validity: 24.03.2014 - active     Language   English Symptom There are different symptoms for this issue. l l The error can occur in Backups when connecting as SYSTEM user and also as the OPS$ user.  The error is also visible in  R3trans and transaction ST11 ->Developer traces when the OPS$ authentification fails.   In the traces you may also see an accompanying error like (ORA-28000, the account is locked).  If the account is locked after too many failed  attempts for OPS$ user this is generally a result of an incorrect OPS$ configuration.  Scenario A: In your Backup logfile the following error occurs when running the backup as SYSTEM user,  please  note->(SYSTEM user can be used to run backups however the OPS$ user is recommended and is mostly used). BR0301E SQL error -1017 at location db_connect-2, SQL statement: 'CONNECT system/*******' ORA-01017: invalid username/password; logon denied Scenario B: In your backup logfile the following error occurs when running the backup as OPS$ user.   Hint: (OPS$ user is used where you see '-u/' or 'connect /' in the command line) brbackup -u /..... BR0051I BRBACKUP 7.00 (18) BR0055I Start of database backup: bbdzxyz.anf -11-19 05.30.00 BR0280I BRBACKUP time stamp: 2008-11-19 05.30.00 BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement: 'CONNECT /' ORA-01017: invalid username/password; logon denied Scenario C: In your Developer tracefile or Trans.log (output of R3trans -d),  you see errors like "CONNECT failed with sql error '1017'" "OCI-call 'OCISessionBegin' failed with rc=1017" Environment l l SAP release independent Oracle Reproducing the Issue 1. Connect using the incorrect password for SYSTEM, SAPR3/SAP<SID>  2. You will find the error. Cause Scenario A: The SYSTEM password has been lost/forgotton and now the BR*tools are reporting ORA-01017: invalid username/password Scenario B: The SAPR3/SAP<SID> password was changed but was only updated in the Oracle dictionary and not in the SAPUSER table,   ->(work processes, R3trans and saplicense check fail) Scenario C: 1a) In the logfile the first connect with the OPS$ user,  goes to the SAPUSER table to retrieve the SAPR3/SAP<SID> password.        In the trans.log you see the following lines: Logon as OPS$ user to get <sapowner>'s password Connecting as /@<sid> on connection 0 ... Now I'm connected to ORACLE Got <sapowner>'s password from table SAPUSER Disconnecting from connection 0 ... Now I'm disconnected from ORACLE Try to connect with the password I got from OPS$-user Connecting as <sapowner>/<pwd>@<sid> on connection 0 *** ERROR => OCI-call 'olog' failed: rc = 1017 ERROR => CONNECT failed with sql error '1017' Resolution Scenario A: Reset the password sqlplus  (as ora<sid> OS user) / as sysdba alter user system identified by <newPW>.  50081(NT) and 361641(Unix). this is when the OPS$ user tries to retrieve the SAPR3/SAP<SID> password from the SAPUSER table to connect with. please check the configuration of the OPS$ user with oss notes :400241.  The general steps in the oss note : 400241 should be followed  along with the note :50088 for NT and 361641 for UNIX.creating OPS$ user on Windows 361641 . the SAPR3 password cannot be retrieved from the SAPUSER table. 50081(NT) and 361641(Unix). How to reset the <sapowner> password to "sap"? Call SQLPLU connect / as sysdba.log you see the following lines: Try to connect with default password Connecting as SAPR3/<pwd>@<sid> on connection 0 . If you don't specify the user (-u switch).  2b) The OPS$ user continues to try to connect after the first failed attempt with the default password 'sap'.  Your work processes are still  connected. ALTER USER <sapowner> IDENTIFIED BY sap. you need to reset the <sapowner> password to "sap". Solution: Please change the password as follows (SAP must be stopped) to do this.  If for any reason.    . you can run the following SQL command to identify the owner of the R/3 objects SQLPLUS connect / as sysdba SQL> SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'T000'; If the issue still persists.problems with OPS$ user 50088 . To get SAP working.   Change the password as follows.   Hint: (It is important that the password is changed with Brconnect).  Afterwards you  can again  change the default password 'sap'. please run the following command  brconnect -u system/<password> -f chpass -o <sapowner> -p     <password>  Hint 2: If you are unsure of the "sapowner". If the password is incorrect the ORA-01017 is issued.creating OPS$ user on Unix Scenario C: 1b) When the first logon attempt fails 1b). this means that the SAPUSER table contains no entries.brconnect -u system/<password> -f chpass -o <sapowner> -p     <password> If the issue still persists please check the configuration of the OPS$ user  with SAP notes: 400241. See Also If facing ORA-01017 in MSCS environment. the work processes disconnect and tries again to connect it will hit the ORA-1017 because the password is already cached.  Usually Customer's have changed this  for security reasons and we get a second ORA-01017. 400241 .  Please ensure that the  "OPS$<DOMAIN>\<USER>" was created where the DOMAIN is the Windows  . The ORA-01403: no data found error may also be issued.  From the outside R3trans etc will work fine. exit HINT: l l If you wish to then use the SYSTEM user to call the Br*tools you need to specify the -u system/<pw> in the command line. this will allow you to then work on the OPS$ user configuration issue.      In the first step above.  If you do not use this method then the password will not get updated both  in the oracle   dictionary and SAPUSER table. then the connection will attempt to use the default password 'manager' (system/manager) and you will get the ORA-01017 again Scenario B:  l l l l l Stop R/3 Reason for stopping SAP You MUST stop SAP to change the above password. 1b) The OPS$ user fails above so continues to connect with the default password 'sap'         In the trans.  If you do not do this the change is not recorded. "OPS$ connect fails".03.domain (or hostname for local user) and USER is the windows user under which the SAP gateway is running. "R3trans fails".2014 15:38:07 Release Status Released to Customer Component BC-DB-ORA Oracle Priority Normal Category Problem Product This document is not restricted to a product or product version References This document refers to: CSS SAP Notes 620540   Authentication Troubleshooting Guide 400241   Problems with ops$ or sapr3 connect to Oracle 361641   Creating OPS$ users on UNIX 50088   Creating OPS$ users on Windows NT/Oracle .  Once this user is created the  SAPDBA role needs to be granted. "Backup with SYSTEM user fails". "work processes fail at startup with ORA-01017". logon denied". Please refer to notes 400241 and 50088 to create the above user Keywords "ORA-01017: invalid username/password. "ORA-28000: the account is locked"  "OPS$"  "permissions" MSCS Header Data Released On 24.
Copyright © 2024 DOKUMEN.SITE Inc.