on 04-02-2014 9:50 AM
Hi All,
We are on Solution Manager 7.1, ORACLE 10.2.0.5.0, Windows server 2008 R2.
When I try to start the server it gives following error in dev_w0...
SQL error 376:
C *** ERROR => Error 376 in stmt_fetch() from oci_execute_stmt(), orpc=0
[dbsloci.c 16295]
C *** ERROR => ORA-00376 occurred when executing SQL stmt (parse error offset=0)
I have seen so many threads but they have error description infront of SQL error 376: as shown below but in my case SQL error 376: is blank as above....
C SQL error 376: 'ORA-00376: file 23 cannot be read at this time
C ORA-01110: data file 23: 'F:\ORACLE\GCP\SAPDATA2\SR3_12\SR3.DATA12''
C *** ERROR => Error 376 in stmt_execute() from oci_execute_stmt(), orpc=0
[dbsloci.c 12714]
C *** ERROR => ORA-376 occurred when executing SQL stmt (parse error offset=0)
The logs of dev_w0 as follows.........
---------------------------------------------------
trc file: "dev_w0", trc level: 1, release: "720"
---------------------------------------------------
*
* ACTIVE TRACE LEVEL 1
* ACTIVE TRACE COMPONENTS all, MJ
*
M sysno 12
M sid SOL
M systemid 562 (PC with Windows NT)
M relno 7200
M patchlevel 0
M patchno 59
M intno 20020600
M make multithreaded, Unicode, 64 bit, optimized
M profile \\KLSOL\sapmnt\SOL\SYS\profile\SOL_DVEBMGS12_KLSOL
M pid 9332
M
M
M Tue Apr 01 15:13:33 2014
M kernel runs with dp version 126000(ext=118000) (@(#) DPLIB-INT-VERSION-126000-UC)
M length of sys_adm_ext is 588 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workp. 0 9332) [dpxxdisp.c 1329]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpSysAdmExtCreate: J2EE Engine running with this server
M DpIPCInit2: read dp-profile-values from sys_adm_ext
M DpShMCreate: sizeof(wp_adm) 43024 (2264)
M DpShMCreate: sizeof(tm_adm) 5517056 (27448)
M DpShMCreate: sizeof(wp_ca_adm) 64000 (64)
M DpShMCreate: sizeof(appc_ca_adm) 64000 (64)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/16/584064/584080
M DpShMCreate: sizeof(comm_adm) 584080 (1144)
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 (80)
M DpShMCreate: sizeof(vmc_adm) 0 (2152)
M DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: sizeof(j2ee_adm) 3936
M DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000ED90050, size: 6368592)
M DpShMCreate: allocated sys_adm at 000000000ED90060
M DpShMCreate: allocated wp_adm_list at 000000000ED93030
M DpShMCreate: allocated wp_adm at 000000000ED93220
M DpShMCreate: allocated tm_adm_list at 000000000ED9DA40
M DpShMCreate: allocated tm_adm at 000000000ED9DA90
M DpShMCreate: allocated wp_ca_adm at 000000000F2E09A0
M DpShMCreate: allocated appc_ca_adm at 000000000F2F03B0
M DpShMCreate: allocated comm_adm at 000000000F2FFDC0
M DpShMCreate: system runs without slock table
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 000000000F38E760
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated gw_adm at 000000000F38E810
M DpShMCreate: allocated j2ee_adm at 000000000F38E850
M DpShMCreate: allocated ca_info at 000000000F38F7C0
M DpShMCreate: allocated wall_adm at 000000000F38F7E0
M DpCommAttachTable: attached comm table (header=000000000F2FFDC0/ft=000000000F2FFDD0)
M DpRqQInit: use protect_queue / slots_per_queue 0 / 5001 from sys_adm
M rdisp/queue_size_check_value : -> on,50,30,40,500,50,500,80
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 DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE
M ThStart: taskhandler started
M ThInit: initializing DIA work process W0
M
M Tue Apr 01 15:13:34 2014
M ThInit: running on host KLSOL
M
M Tue Apr 01 15:13:35 2014
M calling db_connect ...
B create_con (con_name=R/3)
B Loading DB library 'E:\usr\sap\SOL\DVEBMGS12\exe\dboraslib.dll' ...
B Library 'E:\usr\sap\SOL\DVEBMGS12\exe\dboraslib.dll' loaded
B Version of 'E:\usr\sap\SOL\DVEBMGS12\exe\dboraslib.dll' is "720.00", patchlevel (0.58)
B New connection 0 created
C Prepending E:\usr\sap\SOL\DVEBMGS12\exe to Path.
C Oracle Client Version: 10.2.0.5.0
C Detailed Oracle client (patch) info not available.
C application info callback registered
C Client NLS setting (OCINlsGetInfo): connection handle 0, 'AMERICAN_AMERICA.UTF8'
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@SOL on connection 0 (nls_hdl 0) ... (dbsl 720 210710)
C Nls CharacterSet NationalCharSet Env Err ErrBt
C 0 UTF8 0000000003C8CD70 0000000003C94910 0000000003C96128
C Attaching to database server SOL (con=0, svchp=0000000003C95FE8, srvhp=0000000003C968B8)
C Starting user session: OCISessionBegin(con=0, usr='/',svc=0000000003C95FE8, srv=0000000003C968B8, usr=0000000003CA3560)
C Now '/@SOL' is connected: con=0, nls=0, session_id=130.
C Got SAPSR3's password from OPS$-user
C Disconnecting from connection 0 ...
C Closing user session (con=0, svc=0000000003C95FE8, usr=0000000003CA3560)
C Now I'm disconnected from ORACLE
C Connecting as SAPSR3/<pwd>@SOL on connection 0 (nls_hdl 0) ... (dbsl 720 210710)
C Nls CharacterSet NationalCharSet Env Err ErrBt
C 0 UTF8 0000000003C8CD70 0000000003C94910 0000000003C96128
C Starting user session: OCISessionBegin(con=0, usr='SAPSR3', svc=0000000003C95FE8, srv=0000000003C968B8, usr=0000000003CA3560)
C Now 'SAPSR3/<pwd>@SOL' is connected: con=0, nls=0, session_id=130.
C Database NLS settings in V$NLS_PARAMETERS: 'AMERICAN_AMERICA.UTF8'
C DB instance SOL is running on KLSOL with ORACLE version 10.2.0.5.0 since APR 01, 2014, 15:13:16.
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX BC HC PRM RCT FRC TIM MAX OPT Date Time DBHost Program
B 000 000 R/3 000000000 ACTIVE NO NO NO YES NO NO 000 255 255 20140401 151335 KLSOL
C OCIStmtExecute() failed with -1=OCI_ERROR
C SQL error 376:
C *** ERROR => Error 376 in stmt_fetch() from oci_execute_stmt(), orpc=0
[dbsloci.c 16295]
C *** ERROR => ORA-00376 occurred when executing SQL stmt (parse error offset=0)
[dbsloci.c 16313]
C sc_p=0000000003C60040,no=0,idc_p=0000000000000000,con=0,act=1,slen=26,smax=256,#vars=0,stmt=0000000002B30C60,table=SVERS
C SELECT VERSION FROM SVERS ;
C sc_p=0000000003C60040,no=0,idc_p=0000000000000000,con=0,act=1,slen=26,smax=256,#vars=0,stmt=0000000002B30C60,table=SVERS
C Statement cache: sc=0000000003C60040, upsert_sc=0000000000000000, oci_stp=0000000003CA13D8
C prepared=0, literal_cnt=0, native_sql=0, lob_ret_cnt=0, fae_cnt=0, xop=1, dbcount=0
C IN : col_cnt=0, row_max=0, row_xcnt=0, row_pcnt=0, row_i=0, row_total=0,
C row_upto=-1, row_size=0, vda_max=0, bound=0, itp=0000000000000000, vda_arr=0000000000000000
C lob_cnt=0, lob_max=0, lob_pw_cnt=0, lob_arr=0000000000000000, rows_ret=0
C OUT: col_cnt=1, row_max=1, row_xcnt=1, row_pcnt=0, row_i=0, row_total=0,
C row_upto=-1, row_size=144, vda_max=32, bound=1, itp=0000000003837220, vda_arr=0000000003C54F00
C lob_cnt=0, lob_max=0, lob_pw_cnt=0, lob_arr=0000000000000000, rows_ret=0
C SELECT VERSION FROM SVERS ;
B ***LOG BZA=> table SVERS does not exist on database [dblink 1323]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 004096) [thxxhead.c 1461]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 11090]
M
M Info for wp 0
M
M pid = 9332
M severity = 0
M status = 0
M stat = WP_NEW
M waiting_for = NO_WAITING
M reqtype = DP_RQ_DIAWP
M act_reqtype = NO_REQTYPE
M req.req_info =
M req.tid = -1
M req.uid = 4294967295
M req.mode = 255
M req.len = -1
M req.rq_id = 65535
M req.rq_source =
M last_tid = 0
M last_uid = 0
M last_mode = 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 ThIErrHandle: current request:
M
M -IN-- sender_id ? tid -1 wp_ca_blk -1 wp_id -1
M -IN-- action - uid -1 appc_ca_blk -1 type -
M -IN-- new_stat NO_CHANGE mode 255 len -1 rq_id -1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server KLSOL_SOL_12 on host KLSOL (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Tue Apr 01 15:13:35 2014
M * RELEASE 720
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 11367
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrBtcCallLgCl< for event BEFORE_DUMP
M ThCallHooks: hook >ThrBtcCallLgCl< o.k.
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 779]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 303]
M ThCallHooks: hook >ThrSaveSPAFields< o.k.
M ThIErrHandle: 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 (Workp. 0 9332) [dpnttool.c 339]
Please help me out.
Regards..
Swapnil.
Hi Swapnil.
ORA-00376: file 23 cannot be read at this time
C ORA-01110: data file 23: 'F:\ORACLE\GCP\SAPDATA2\SR3_12\SR3.DATA12''
Does the data file SR3.DATA12 exists in the path mentioned above ???
Please check and revert.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Deepak,
Thanks for your quick response.
My error log in dev_w0 as follows..
SQL error 376:
C *** ERROR => Error 376 in stmt_fetch() from oci_execute_stmt(), orpc=0
[dbsloci.c 16295]
C *** ERROR => ORA-00376 occurred when executing SQL stmt (parse error offset=0)
I have taken the log which you have mentioned from different thread.
My log is blank in front of SQL error 376:
Regards..
Swapnil.
Hi,
Thanks Deepak..
My problem is resolved by following the note 328785 - ORA-00376: File cannot be read at this time
Actually my log is different in dev_w0, so i was confused that shall I use this or not. But my doubt is clear now and server is started successfully.
Thanks to all.....
Regards..
Swapnil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Actually we have two database on one server i.e. for SOLMAN and Quality.
For connect to database of SOLMAN, I have reached to location where sqlplus.exe resides, and run the sqlplus.exe file, when I enter the login credentials it gives me an following error.
I have used the user= <sid>adm , and its password. From which user I have to login?
<sid>adm is a member of ORA_SOL_DBA, ORA_SOL_OPER
I have checked the environmental variables following entries are already maintained.
dbs_ora_schema
dbs_ora_tnsname
ORACLE_HOME
ORACLE_SID
When I run command r3trans -d, output as follows....
Please help me out.
Regards..
Swapnil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
pls you database is opened ,
using R3trans -D
if not return 000
pls check database status
sqlplus / as sysdba;
sql> select file#,status from v$datafile;
FILE# STATUS
———- ——-
1 SYSTEM
2 ONLINE
3 ONLINE
4 RECOVER
if datafile need recovery pls recover it and take it status to online
using
recover datafile F:\ORACLE\GCP\SAPDATA2\SR3_12\SR3.DATA12';
alter datafile F:\ORACLE\GCP\SAPDATA2\SR3_12\SR3.DATA12' online
after using R3trans -d to check database connect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Deepak and Josef,
Thanks for your valuable points.
I will follow the note 328785 and run the command SELECT VERSION FROM SVERS and get back to you.
@Josef I have seen so many threads they have detailed error description but in my case its not available so I have small doubt in this, so I just asked.
Regards..
Swapnil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Deepak and Gaurav,
Thanks for your inputs.
I have checked the note 328785
But in this note there is the detail log infront of ORA-00376 i.e. file cannot be read or file cannot be modified etc etc.
But in my dev_wo logs its blank,
SQL error 376:
C *** ERROR => Error 376 in stmt_fetch() from oci_execute_stmt(), orpc=0
[dbsloci.c 16295]
C *** ERROR => ORA-00376 occurred when executing SQL stmt (parse error offset=0)
so does this NOTE help me?
Regards..
Swapnil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swapnil,
Please connect to database using sysdba and excute the below command
SELECT VERSION FROM SVERS ;
Paste the results.
Other observation is
Solution Manager 7.1, ORACLE 10.2.0.5.0, Windows server 2008 R2.
You are running on the non-Supported version of Oracle. Request you to upgrade the same to 11.2.0.3 atleast.
Hope this helps.
Regards,
Deepak Kori
Oracle SQL error 376 just means this:
file <n> cannot be read at this time
Have a look at the friendly Oracle manual, in case you don't trust me.
It shouldn't matter whether or not that additional explaining text is there.
It may be release dependent.
So I join those who already suggested SAP note 328785.
But of course it is your choice whether or not you will accept the help offered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swapnil,
Please follow scn link sap system message: DB error: SQL error 376 occ... | SCN
Thanks,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.