Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

How To Reset The Sap Star Password

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

How to enable the SAP* & DDIC User.

root@dewall32:/ >
# su - db2cri
dewall32:db2cri 1> db2
db2 => select count(*) from SAPCRI.USR02;
SQL0104N An unexpected token ";" was found following "*) from SAPCRI.USR02".
Expected tokens may include: "END-OF-STATEMENT". SQLSTATE=42601

db2 => quit


DB20000I The QUIT command completed successfully.

dewall32:db2cri 2> logout


root@dewall32:/ >
# su - criadm
dewall32:criadm 1> grep schema *
dewall32:criadm 2> pwd
/home/criadm

To find out the Scema of the database.


dewall32:criadm 3> grep schema .*
.dbenv.csh:setenv dbs_db6_schema sapcri
.dbenv.sh:dbs_db6_schema=sapcri
.dbenv.sh:export dbs_db6_schema
.dbenv_dewall32.csh:setenv dbs_db6_schema sapcri
.dbenv_dewall32.sh:dbs_db6_schema=sapcri
.dbenv_dewall32.sh:export dbs_db6_schema

dewall32:criadm 4> logout


root@dewall32:/ >
# su - criadm
dewall32:criadm 1> R3trans -d
This is R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
unicode enabled version

#.******************************************************************************
************************************************
#.*
#.*

*
Default profile DEFAULT *

#.*

#.*

Version

= 000014 *

#.*

Generated by user = RGUDEMEL*

#.*

Generated on = 27.05.2010 , 19:21:33*

#.*

#.******************************************************************************
************************************************
#parameter created

by: DDIC

02.06.2009 11:26:40

login/no_automatic_user_sapstar = 0
SAPDBHOST = dewall32
j2ee/dbtype = db6
j2ee/dbname = CRI
j2ee/dbhost = dewall32
SAPSYSTEMNAME = CRI
SAPGLOBALHOST = dewall32
rdisp/bufrefmode = sendoff,exeauto
DIR_PUT = /usr/sap/$(SAPSYSTEMNAME)/put
#----------------------------------------------------------------------# SAP Message Server for ABAP
#----------------------------------------------------------------------rdisp/mshost = dewall32
rdisp/msserv = sapmsCRI
rdisp/msserv_internal = 3900
#----------------------------------------------------------------------# SAP Message Server for ABAP
#----------------------------------------------------------------------#old_value: 001

changed: DDIC 18.06.2009 06:59:34


login/system_client = 800
~
~
"DEFAULT.PFL" 32 lines, 2065 characters

dewall32:criadm 5> stopsap r3


Checking db6 db Database
-----------------------------Database is running
Stopping the SAP instance DVEBMGS00
---------------------------------Shutdown-Log is written to /home/criadm/stopsap_DVEBMGS00.log
Instance on host dewall32 stopped
Waiting for cleanup of resources...................

dewall32:criadm 6> cleanipc 00 remove


Show/Cleanup SAP-IPC-Objects V2.3, 94/01/20
===========================================
Running SAP-Systems (Nr)...:
------------------------------------------------------------ Clear IPC-Objects of Sap-System 0 --------------------------------------------------------------------------OsKey: 58900100 0x0382be84 SCSA Shared Memory Key: 58900000 removed
Number of IPC-Objects...........:

Number of removed IPC-Objects...:

Summary of all Shared Memory....: 1899.4 MB (may be incomplete when not in super user mode)
Number of SAP_ES files found:.............:
Number of SAP_ES files removed:...........:

0
0

dewall32:criadm 7> startsap r3


Checking db6 db Database
-----------------------------Database is running

Starting Startup Agent sapstartsrv


----------------------------Instance Service on host dewall32 started
Starting SAP Instance DVEBMGS00
-----------------------------Startup-Log is written to /home/criadm/startsap_DVEBMGS00.log
Instance on host dewall32 started
Starting SAP-Collector Daemon
-----------------------------08:35:03 10.06.2010 LOG: Effective User Id is root
***********************************************************************
* This is Saposcol Version COLL 20.95 701 - AIX v11.65 5L-64 bit 090119
* Usage: saposcol -l: Start OS Collector
*

saposcol -k: Stop OS Collector

saposcol -d: OS Collector Dialog Mode

saposcol -s: OS Collector Status

* The OS Collector (PID 413932) is already running .....


************************************************************************
saposcol already running

dewall32:criadm 8> logout


root@dewall32:/ >
# su - db2cri
dewall32:db2cri 1> db2
db2 => select bname from sapcri.usr02 where bname='sap*'
BNAME
-----------------------------------0 record(s) selected.

To show available SAP* Users.


db2 => select bname from sapcri.usr02 where bname='SAP*'
BNAME

-----------------------------------SAP*
SAP*
SAP*
SAP*
SAP*
SAP*
6 record(s) selected.

To show how many clients are available in the system


db2 => select bname,mandt from sapcri.usr02 where bname='SAP*'
BNAME

MANDT

------------------------------------ --------SAP*

000

SAP*

001

SAP*

007

SAP*

066

SAP*

500

SAP*

800

6 record(s) selected.

To delete the SAP* User From Client 000


db2 => delete from sapcri.usr02 where bname='SAP*' and mandt='000'
DB20000I The SQL command completed successfully.

To check whether client 000 is deleted.


db2 => select bname,mandt from sapcri.usr02 where bname='SAP*'
BNAME

MANDT

------------------------------------ --------SAP*

001

SAP*

007

SAP*

066

SAP*

500

SAP*

800

5 record(s) selected.

db2 => quit


DB20000I The QUIT command completed successfully.

You might also like