cancel
Showing results for 
Search instead for 
Did you mean: 

OPS$ User

guillermo_m
Active Participant
0 Kudos

Hi to everyone!!!

Does somebody knows how to change the OPS$<sid>adm password on Windows 2003?

I forgot the password for this user and I don't know how can I change it.

I'm using Oracle 9.

Thanks in advance for all your help!!!

Accepted Solutions (1)

Accepted Solutions (1)

fidel_vales
Employee
Employee
0 Kudos

Hi,

Are you running Oracle?

I assume so.

User OPS$ does not have a password as it is identified "externally", by the operating system.

Thanks to this "feature" SAP can retrieve the password for the SAP<SID>/SAPR3 user from the "SAPUSER" table.

Answers (3)

Answers (3)

Former Member
0 Kudos

hi

try to run oradbuser.sql that resides in

c:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\........

usage :

NT: sqlplus /nolog @oradbusr.sql SCHEMAOWNER NT COMPUTER|DOMAIN SAP_SID

that will recreate the OPS$user

please pay attation to the local/domain user it makes a different.

best regards

guillermo_m
Active Participant
0 Kudos

I solved the problem. Te user OPS is OPS$<HOST>\<SID>ADM and I changed the password for the SAP<SID> user.

Thanks a lot for all you help!!!

guillermo_m
Active Participant
0 Kudos

Thanks! But a Basis told me that I have to change the password of SAPR3 user. Is this correct?

Here is the dev_w0:

-


trc file: "dev_w0", trc level: 1, release: "640"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Fri Jun 01 00:45:31 2007

B create_con (con_name=R/3)

B Loading DB library 'D:\usr\sap\GD0\SYS\exe\run\dboraslib.dll' ...

B Library 'D:\usr\sap\GD0\SYS\exe\run\dboraslib.dll' loaded

B Version of 'D:\usr\sap\GD0\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.39)

B New connection 0 created

M systemid 560 (PC with Windows NT)

M relno 6400

M patchlevel 0

M patchno 43

M intno 20020600

M make: multithreaded, Unicode

M pid 3360

M

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3360) [dpxxdisp.c 1160]

I MtxInit: -2 0 0

M DpSysAdmExtCreate: ABAP is active

M DpSysAdmExtCreate: JAVA is not active

M DpShMCreate: sizeof(wp_adm) 10528 (1316)

M DpShMCreate: sizeof(tm_adm) 2780232 (13832)

M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

M DpShMCreate: sizeof(comm_adm) 290000 (580)

M DpShMCreate: sizeof(vmc_adm) 0 (372)

M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

M DpShMCreate: SHM_DP_ADM_KEY (addr: 04550040, size: 3192688)

M DpShMCreate: allocated sys_adm at 04550040

M DpShMCreate: allocated wp_adm at 04551B58

M DpShMCreate: allocated tm_adm_list at 04554478

M DpShMCreate: allocated tm_adm at 045544A0

M DpShMCreate: allocated wp_ca_adm at 047FB0E8

M DpShMCreate: allocated appc_ca_adm at 04800EA8

M DpShMCreate: allocated comm_adm_list at 04802DE8

M DpShMCreate: allocated comm_adm at 04802E00

M DpShMCreate: allocated vmc_adm_list at 04849AD0

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 04849AF8

M DpShMCreate: allocated wall_adm at 04849B00

X EmInit: MmSetImplementation( 2 ).

X <ES> client 0 initializing ....

X Using implementation flat

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M

M Fri Jun 01 00:45:32 2007

M calling db_connect ...

C Got ORACLE_HOME=D:\Oracle\GD0 from environment

C Client NLS settings: AMERICAN_AMERICA.UTF8

C Got TNS_ADMIN=D:\usr\sap\GD0\SYS\profile from environment

C Logon as OPS$-user to get SAPGD0's password

C Connecting as /@GD0 on connection 0 ...

C Attaching to DB Server GD0 (con_hdl=0,svchp=0432EA1C,svrhp=0428DB94)

C

C Fri Jun 01 00:45:50 2007

C Starting user session (con_hdl=0,svchp=0432EA1C,srvhp=0428DB94,usrhp=07597EDC)

C Now I'm connected to ORACLE

C *** ERROR => ORA-942 when accessing table SAPUSER

[dbsloci.c 10114]

C Disconnecting from connection 0 ...

C Closing user session (con_hdl=0,svchp=0432EA1C,usrhp=07597EDC)

C Now I'm disconnected from ORACLE

C Try to connect with default password

C Connecting as SAPGD0/<pwd>@GD0 on connection 0 ...

C Starting user session (con_hdl=0,svchp=0432EA1C,srvhp=0428DB94,usrhp=07597EDC)

C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017

[dboci.c 3720]

C *** ERROR => CONNECT failed with sql error '1017'

[dbsloci.c 9750]

B ***LOG BY2=> sql error 1017 performing CON [dbsh#2 @ 1200] [dbsh 1200 ]

B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#2 @ 1200] [dbsh 1200 ]

B ***LOG BY2=> sql error 1017 performing CON [dblink#1 @ 419] [dblink 0419 ]

B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#1 @ 419] [dblink 0419 ]

M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1269]

M in_ThErrHandle: 1

M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9413]

M

M Info for wp 0

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source = 255

M last_tid = 0

M last_mode = 0

M int_checked_resource(RFC) = 0

M ext_checked_resource(RFC) = 0

M int_checked_resource(HTTP) = 0

M ext_checked_resource(HTTP) = 0

M report = > <

M action = 0

M tab_name = > <

M

M *****************************************************************************

M *

M * LOCATION SAP-Server CUERVO_GD0_00 on host CUERVO (wp 0)

M * ERROR tskh_init: db_connect

M *

M * TIME Fri Jun 01 00:45:50 2007

M * RELEASE 640

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 9589

M * COUNTER 1

M *

M *****************************************************************************

M

M PfStatDisconnect: disconnect statistics

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 730]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 252]

M Entering ThSetStatError

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3360) [dpnttool.c 357]

Former Member
0 Kudos

Hi,

U need to change the SAPGD0's password, for this use brtools for changing or

from the command prompt use this

c:\usr\sap\gd0\sys\exe>BrConnect -u system/<password> -f chpass -o SAPGD0 -p <new password>

regards

Umesh K

former_member433984
Active Contributor
0 Kudos

see notes 400241, 50088

first you have to check is SAPUSER table exists and accessable for OPS$SAPServiceSID and OPS$SIDadm. If not, act like described in note 50088.

Best regards