Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

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

$
0
0

Dear All;

 

I am in the post activities of SAP system refresh.

I restored the system using brtools successfully as you can see below:

Untitled.png

 

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;

Capture.PNG

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


Viewing all articles
Browse latest Browse all 1892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>