on 10-14-2013 8:35 PM
Hi Gurus,
After a system crash my ECC server won't start and the dispatcher disp+work.exe is stopped. from the log I can see the error 'CONNECT failed with sql error 1033'. I found out similar issues faced by many others where the solution is to set the 'Autostart' parameter for Oracle to 'False'. But I'm unable to find this parameter. Can somebody please guide me? I'm using Windows server 2003.
Thanks,
Sarif
I am sure the database is not up completely.
Make sure the database is in open for SAP to work.
If the "startup" statement is not opening the database then you might need to recover the database (my guess)
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Most of the case this error occurs because archive log full.
Note 655240 - Composite SAP note: ORA-01033
So try to run backup and clear the logs.
Thanks
Rishi Abrol
Hi Reagan,
I tried to stop and start the database. But while starting it's giving the error below:
---------------
SQL> startup
ORACLE instance started.
Total System Global Area 348127232 bytes
Fixed Size 1289400 bytes
Variable Size 184550216 bytes
Database Buffers 159383552 bytes
Redo Buffers 2904064 bytes
Database mounted.
ORA-00600: internal error code, arguments: [kcratr1_lastbwr], [], [], [], [],
[], [], []
---------------------------
Thanks,
Sarif
Hi Sarif,
please follow the below instructions
SQL> startup
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264916 bytes
Variable Size 264241900 bytes
Database Buffers 801112064 bytes
Redo Buffers 7122944 bytes
Database mounted.
ORA-00600: internal error code, arguments: [kcratr1_lastbwr], [], [], [], [],
[], [], []
Encountered in : 10.2.0.2.0 Database
Cause:
Oracle is unable to perform instance recover but it works when is invoked manually.
Solution:
SQL> startup mount
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264916 bytes
Variable Size 264241900 bytes
Database Buffers 801112064 bytes
Redo Buffers 7122944 bytes
Database mounted.
SQL> recover database
Media recovery complete.
SQL> alter database open;
Database altered.
SQL>
References
Metalink note ID: 393984.1
Best Regards
Marius
Hi experts!
Can anyone help me with the below trace file? My SAP disp+work.exe stopped working after an abnormal shutdown of OS. I'm unable to connect to SAP currently.
Here's for your reference: dev_w0
---------------------------------------------------
trc file: "dev_w0", trc level: 1, release: "701"
---------------------------------------------------
*
* ACTIVE TRACE LEVEL 1
* ACTIVE TRACE COMPONENTS all, MJ
*
B
B Wed May 18 14:51:28 2016
B create_con (con_name=R/3)
B *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library
[dbcon.c 4537]
M sysno 00
M sid DEV
M systemid 562 (PC with Windows NT)
M relno 7010
M patchlevel 0
M patchno 32
M intno 20020600
M make: multithreaded, Unicode, 64 bit, optimized
M pid 6176
M
M kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
M length of sys_adm_ext is 576 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 6176) [dpxxdisp.c 1348]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 29792 (1752)
M DpShMCreate: sizeof(tm_adm) 5912704 (29416)
M DpShMCreate: sizeof(wp_ca_adm) 24064 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
M DpShMCreate: sizeof(comm_adm) 552080 (1088)
M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
M DpShMCreate: sizeof(slock_adm) 0 (104)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1864)
M DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000DCA0050, size: 6614144)
M DpShMCreate: allocated sys_adm at 000000000DCA0050
M DpShMCreate: allocated wp_adm at 000000000DCA2270
M DpShMCreate: allocated tm_adm_list at 000000000DCA96D0
M DpShMCreate: allocated tm_adm at 000000000DCA9730
M DpShMCreate: allocated wp_ca_adm at 000000000E24CFB0
M DpShMCreate: allocated appc_ca_adm at 000000000E252DB0
M DpShMCreate: allocated comm_adm at 000000000E254CF0
M DpShMCreate: system runs without slock table
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 000000000E2DB980
M DpShMCreate: allocated gw_adm at 000000000E2DBA00
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 000000000E2DBA30
M DpShMCreate: allocated wall_adm at 000000000E2DBA40
M rdisp/queue_size_check_value : -> off
M ThTaskStatus: rdisp/reset_online_during_debug 0
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
X <EsNT> Using memory model view.
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M ThInit: running on host SAPSRV
M
M Wed May 18 14:51:29 2016
M calling db_connect ...
B create_con (con_name=R/3)
B *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library
[dbcon.c 4537]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) [thxxhead.c 1449]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10563]
M
M Info for wp 0
M
M pid = 6176
M severity = 0
M status = 0
M stat = WP_RUN
M waiting_for = NO_WAITING
M reqtype = DP_RQ_DIAWP
M act_reqtype = NO_REQTYPE
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source =
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M csTrack = 0
M csTrackRwExcl = 0
M csTrackRwShrd = 0
M mode_cleaned_counter = 0
M control_flag = 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 attachedVm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server SAPSRV_DEV_00 on host SAPSRV (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Wed May 18 14:51:29 2016
M * RELEASE 701
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10783
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 723]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 261]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 6176) [dpnttool.c 334]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sariful,
Please check if the listener is up and running using tnsping. Sometimes it might have to be started manually. Check the log if the listener is not starting up.
Regards
Sandy Sam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sarif,
Execute a "R3trans -d" as <sid>adm and attach the trans.log.
Regards,
Eduardo Rezende
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eduardo,
Please find the trans log below:
------------------------
4 ETW000 r3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 15.10.2013 - 11:48:30
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Tue Oct 15 11:48:33 2013 387 0.000387
4 ETW000 [dev trc ,00000] db_con_init called 147 0.000534
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 402 0.000936
4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 175 0.001111
4 ETW000 [dev trc ,00000] load shared library (dboraslib.dll), hdl 0 37286 0.038397
4 ETW000 [dev trc ,00000] using "D:\usr\sap\ECC\SYS\exe\uc\NTI386\dboraslib.dll"
4 ETW000 53 0.038450
4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 16 0.038466
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll
4 ETW000 25 0.038491
4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "700.08", patchlevel (0.73)
4 ETW000 1084 0.039575
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll
4 ETW000 25 0.039600
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll
4 ETW000 80 0.039680
4 ETW000 [dev trc ,00000] New connection 0 created 72 0.039752
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 37 0.039789
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 39 0.039828
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 24 0.039852
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 30 0.039882
4 ETW000 [dev trc ,00000] CLIENT_ORACLE_HOME is not set as environment variable or
4 ETW000 DIR_CLIENT_ORAHOME is not set as profile parameter.
4 ETW000 assuming using instant client with unspecified location.
4 ETW000 671 0.040553
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.1.0' 97847 0.138400
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 49 0.138449
4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8 4076 0.142525
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 19 0.142544
4 ETW000 [dev trc ,00000] Connecting as /@ECC on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
4 ETW000 68 0.142612
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 36 0.142648
4 ETW000 [dev trc ,00000] 0 UTF8 1 0241DC38 0242316C 024229F4
4 ETW000 504 0.143152
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 87 0.143239
4 ETW000 [dev trc ,00000] Allocating server context handle 13 0.143252
4 ETW000 [dev trc ,00000] Attaching to DB Server ECC (con_hdl=0,svchp=02422940,svrhp=024341B4)
4 ETW000 41 0.143293
4 ETW000 [dev trc ,00000] Assigning server context 024341B4 to service context 02422940
4 ETW000 53866 0.197159
4 ETW000 [dev trc ,00000] Allocating user session handle 49 0.197208
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=02422940,srvhp=024341B4,usrhp=0246F940)
4 ETW000 69 0.197277
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
4 ETW000 33214 0.230491
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=024341B4) 11 0.230502
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=02422940,srvhp=024341B4)
4 ETW000 17 0.230519
4 ETW000 [dev trc ,00000] Deallocating server context handle 024341B4 1154 0.231673
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1033'
4 ETW000 55 0.231728
4 ETW000 [dev trc ,00000] Try to connect with default password 92 0.231820
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@ECC on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
4 ETW000 16 0.231836
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 16 0.231852
4 ETW000 [dev trc ,00000] 0 UTF8 1 0241DC38 0242316C 024229F4
4 ETW000 17 0.231869
4 ETW000 [dev trc ,00000] Allocating server context handle 9 0.231878
4 ETW000 [dev trc ,00000] Attaching to DB Server ECC (con_hdl=0,svchp=02422940,svrhp=024341B4)
4 ETW000 22 0.231900
4 ETW000 [dev trc ,00000] Assigning server context 024341B4 to service context 02422940
4 ETW000 16111 0.248011
4 ETW000 [dev trc ,00000] Assigning username to user session 0246F940 15 0.248026
4 ETW000 [dev trc ,00000] Assigning password to user session 0246F940 16 0.248042
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=02422940,srvhp=024341B4,usrhp=0246F940)
4 ETW000 17 0.248059
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
4 ETW000 25090 0.273149
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=024341B4) 12 0.273161
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=02422940,srvhp=024341B4)
4 ETW000 14 0.273175
4 ETW000 [dev trc ,00000] Deallocating server context handle 024341B4 1325 0.274500
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1033'
4 ETW000 99 0.274599
4 ETW000 [dblink ,00431] ***LOG BY2=>sql error 1033 performing CON [dblink#3 @ 431]
4 ETW000 235 0.274834
4 ETW000 [dblink ,00431] ***LOG BY0=>ORA-01033: ORACLE initialization or shutdown in progress [dblink#3 @ 431]
4 ETW000 14 0.274848
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'ECC'"
------------------------------
Thanks,
Sarif
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.