on 04-30-2012 11:27 AM
Dear All,
When i run R3trans -d i got return code 12; i have checked the permission everything seems to be fine; then i run following query ;
select username from dba_users;
drop user OPS$ORAED2 cascade;
drop user OPS$ED2ADM cascade;
put the file in the location of /oracle/SID/102_64/dbs. And the below command from the same location with
sqlplus "/ as sysdba"
@ORADBUSR.SQL SAPSR3 UNIX ED2 x
i am getting below error,
. Oracle Version: 10.2.0.4.0
. Parametervalue os_authent_prefix: OPS$
. Schema Id: SR3
. Database User (Schema): SAPSR3
. SAP R/3 Administrator: OPS$ED2ADM
. SAP R/3 Serviceuser: OPS$SAPSERVICEED2
.
User OPS$ORAED2does already exist.(run same query second time thats y)
unable to assign default tablespace to user: SAPSR3
begin
*
ERROR at line 1:
ORA-00959: tablespace 'PSAPSR3USR' does not exist
ORA-06512: at line 126
Please suggest for solution.
From,
Ketan Kapadi
So, does the tablespace 'PSAPSR3USR' exist or not?.. Users wont be able to be defined if the default user tablespace does not exist.
How did you install/create this system?
Regards, Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Juan,
It is alreay running system but i am getting R3trans -d problem with return code 12 and thns decided to create OPS$ User.
i cheked PSAPSR3USR does not exist and run following quey,
CREATE TABLE "OPS$ED2ADM".SAPUSER(USERID VARCHAR2(256), PASSWD VARCHAR2(256));
INSERT INTO "OPS$ED2ADM".SAPUSER VALUES ('SAPSR3', 'Gspc1234');
SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';
but when i running @ORADBUSR.SQL SAPSR3 UNIX ED2 x gives the same error as mention in the earlier blog.
Please Suggest
Hi Ketan,
check default tablespace of user SAPSR3 by using this SQL Statement:
SQL> select USERNAME,DEFAULT_TABLESPACE from dba_users;
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
SYSTEM SYSTEM
SYS SYSTEM
OPS$SIDADM SYSTEM
ORACLE_OCM SYSTEM
OPS$SAPSERVICESID SYSTEM
DIP SYSTEM
OPS$ORASID SYSTEM
SAPSR3 PSAPSR3USR
TSMSYS SYSTEM
DBSNMP SYSAUX
OUTLN SYSTEM
If tablespace PSAPSR3USR is missing, just create it using BRTools.
Otherwise, post the output of statement "select NAME from v$tablespace;"
Regards
Leo Capasso
The problem is that because the user tablespace does not exist you will not be able to define the OPS$ Users and neither the SAPUSER table.
You need to check whats the default tablespace for users as Ketan suggested, if the tablespace does not exist then you need to create/restore it.
Regards, Juan
SQL> select USERNAME,DEFAULT_TABLESPACE from dba_users;
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
OPS$ED2ADM SYSTEM
SAPED2 SYSTEM
OPS$SR3ADM SYSTEM
SAPSR3 SYSTEM
OPS$ORAED2 SYSTEM
OUTLN SYSTEM
SYS SYSTEM
SYSTEM SYSTEM
SAPSR3DB PSAPSR3DB
TSMSYS SYSTEM
DIP SYSTEM
ORACLE_OCM SYSTEM
DBSNMP SYSAUX
please find the anser of following query it shows the system tablespace for user SAPSR3 . what i need is change the default table space to PSAPSR3. please suggest?
ERROR at line 1:
ORA-00959: tablespace 'PSAPSR3USR' does not exist
ORA-06512: at line 126
The script is looking for the default "schema" (SAPSR3), the user tablespace for the default schema is PSAPSR3USR
It does not exist in your system.. you can use a different tablespace (not recommended) by following manual steps on SAP Note 400241 - Problems with ops$ or sapr3 connect to Oracle
Regards, Juan
Guys !!
Hold on please. Is this is a JAVA system? R3trans -d never works in it by default neither does OP$ mechanism. By default JAVA system doesn't have OP$ users (if I recall correctly) . Please don't think R3trans -d not working for JAVA system means DB connection ain't happening. Remember the connectivity is not like ABAP it uses JDBC connector instead.
Regards.
Ruchit.
Hi Ruchit Khushu,
My system is working now but in case of java how to check the connectivity with database?
From,
Ketan Kapadi
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.