ORA-01122, ORA-01110, ORA-01200 of an undo file
Hi,
Yesterday there had been a power-problem and when i want to startup the database i got the following error:
ORA-01122: database file 2 failed verification check
ORA-01110: data file 2: '/.../LDPLM000/UNDOTBS01.DBF'
ORA-01200: actual file size of 1589120 is smaller than correct size of 1592960
Blocks
This is an oracle 10.2g and it is not in archivelog mode.
There is a dump from yesterday but we don't have rman.
It is 'only' the file of the undo-tablespace.
How can i solve this problem?
Thanks in advance.
Bianca
Hi;
What is exact db version? Dont you have any backup of your db?
Please see:
Bug 5840434 - ORA-1200 if a datafile RESIZE is canceled either by instance crash or user [ID 5840434.8]
ORA-01200 AFTER INCREASING DATAFILE SIZE [ID 416502.1]
Regard
Helios
Similar Messages
-
ORA-01122: database file 8 failed verification check
trc file: "dev_w0", trc level: 1, release: "700"
* ACTIVE TRACE LEVEL 1
* ACTIVE TRACE COMPONENTS all, MJ
B
B Tue Apr 29 17:57:51 2014
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' ...
B Library 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' loaded
B Version of 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.73)
B New connection 0 created
M sysno 00
M sid DEV
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 75
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 2816
M
M kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
M length of sys_adm_ext is 572 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2816) [dpxxdisp.c 1299]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is active
M DpShMCreate: sizeof(wp_adm) 18304 (1408)
M DpShMCreate: sizeof(tm_adm) 3994272 (19872)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
M DpShMCreate: sizeof(comm_adm) 528064 (1048)
M DpFileTableSize: max/headSize/ftSize/tableSize=2600/8/208056/208064
M DpShMCreate: sizeof(file_adm) 208064 (72)
M DpShMCreate: sizeof(vmc_adm) 18720 (1440)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 08750040, size: 4880152)
M DpShMCreate: allocated sys_adm at 08750040
M DpShMCreate: allocated wp_adm at 08751E40
M DpShMCreate: allocated tm_adm_list at 087565C0
M DpShMCreate: allocated tm_adm at 087565F0
M DpShMCreate: allocated wp_ca_adm at 08B25890
M DpShMCreate: allocated appc_ca_adm at 08B2B650
M DpShMCreate: allocated comm_adm at 08B2D590
M DpShMCreate: allocated file_adm at 08BAE450
M DpShMCreate: allocated vmc_adm_list at 08BE1110
M DpShMCreate: allocated gw_adm at 08BE1150
M DpShMCreate: allocated vmc_adm at 08BE1180
M DpShMCreate: allocated ca_info at 08BE5AA0
M DpShMCreate: allocated wall_adm at 08BE5AA8
M DpSesCreateTable: attached session table at 06440040 (len=138424)
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X
X Tue Apr 29 17:57:52 2014
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M DpVmcInit2: o.k.
M
M Tue Apr 29 17:57:53 2014
M ThInit: running on host sapecc6
M
M Tue Apr 29 17:57:54 2014
M calling db_connect ...
C Prepending D:\usr\sap\DEV\DVEBMGS00\exe to Path.
C Oracle Client Version: '10.2.0.1.0'
C Client NLS settings: AMERICAN_AMERICA.UTF8
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 06C34308 06C398A4 06C3912C
C Attaching to DB Server DEV (con_hdl=0,svchp=06C39078,svrhp=06C4A944)
C Starting user session (con_hdl=0,svchp=06C39078,srvhp=06C4A944,usrhp=06C979A8)
C
C Tue Apr 29 17:57:55 2014
C Now '/@DEV' is connected (con_hdl 0, nls_hdl 0).
C Got SAPSR3's password from OPS$-user
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=06C39078,usrhp=06C979A8)
C Now I'm disconnected from ORACLE
C Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 06C34308 06C398A4 06C3912C
C Starting user session (con_hdl=0,svchp=06C39078,srvhp=06C4A944,usrhp=06C979A8)
C Now 'SAPSR3/<pwd>@DEV' is connected (con_hdl 0, nls_hdl 0).
C Database NLS settings: AMERICAN_AMERICA.UTF8
C Database instance DEV is running on SAPECC6 with ORACLE version 10.2.0.2.0 since 20140429
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20140429 175754 SAPECC6
M db_connect o.k.
M ICT: exclude compression: *.zip,*.cs,*.rar,*.arj,*.z,*.gz,*.tar,*.lzh,*.cab,*.hqx,*.ace,*.jar,*.ear,*.war,*.css,*.pdf,*.js,*.gzip,*.uue,*.bz2,*.iso,*.sda,*.sar,*.gif
M ThVmcSetParam: switch vmcj/vm_auto_restart 0 -> 0 sec
J
J Tue Apr 29 17:57:57 2014
J extMemCheck is set to disp+work.ThVmcMemCheck(thxxvmemu.c:2756)
J extGcMemReserve is set to disp+work.ThVmcGcMemReserve(thxxvmemu.c:2587)
J extGcMemCommit is set to disp+work.ThVmcGcMemCommit(thxxvmemu.c:2624)
J extGcMemFree is set to disp+work.ThVmcGcMemFree(thxxvmemu.c:2643)
J extCreateSharedCodeCache is set to disp+work.ThVmcSharedCodeCacheCreate(thxxvmemu.c:1941)
J extSetSharedCodeCachePerm is set to disp+work.ThVmcSharedCodeCacheSetPerm(thxxvmemu.c:2019)
J extMalloc is set to disp+work.ThVmcMallocDispatcher(thxxvmemu.c:2070)
J extCalloc is set to disp+work.ThVmcCallocDispatcher(thxxvmemu.c:2097)
J extRealloc is set to disp+work.ThVmcReallocDispatcher(thxxvmemu.c:2124)
J extFree is set to disp+work.ThVmcFreeDispatcher(thxxvmemu.c:2149)
J extAddResourceToHeap is set to disp+work.ThVmcAddResourceToHeap(thxxvmemu.c:2662)
J extRemoveResourceFromHeap is set to disp+work.ThVmcRemoveResourceFromHeap(thxxvmemu.c:2688)
J extGetLocalMemory is set to disp+work.ThJGetLocalMemory(thxxvmemu.c:2833)
J extGetLocalMemoryPeak is set to disp+work.ThJGetLocalMemoryPeak(thxxvmemu.c:2845)
J extGetLocalAllocatedMemory is set to disp+work.ThJGetLocalAllocatedMemory(thxxvmemu.c:2857)
J extGetGlobalMemory is set to disp+work.ThJGetGlobalMemory(thxxvmemu.c:2902)
J extGetGlobalMemoryPeak is set to disp+work.ThJGetGlobalMemoryPeak(thxxvmemu.c:2914)
J extGetGlobalAllocatedMemory is set to disp+work.ThJGetGlobalAllocatedMemory(thxxvmemu.c:2926)
J extGetUsedBytes is set to disp+work.ThVmcGetUsedBytes(thxxvmemu.c:2710)
J extGetGuardInfo is set to disp+work.ThVmcGetGuardInfo(thxxvmemu.c:1410)
J extWriteMemoryDump is set to disp+work.ThJWriteMemoryDump(thxxvmemu.c:1437)
J extGetPid is set to disp+work.ThJGetPid(thxxjava.c:7663)
J extRegPtr is set to disp+work.ThJRegPtr(thxxvmemu.c:1178)
J extGetPtr is set to disp+work.ThJGetPtr(thxxvmemu.c:1190)
J extDeregPtr is set to disp+work.ThJDeregPtr(thxxvmemu.c:1202)
J extAbort is set to disp+work.ThVmcJAbortHandler(thxxjava.c:6095)
J extExit is set to disp+work.ThVmcJExitHandler(thxxjava.c:5994)
J extSaveExit is set to disp+work.ThVmcJExitHandler(thxxjava.c:5994)
J extSaveErrTxt is set to disp+work.ThVmcJSetVmErrTxt(thxxjava.c:6065)
J extSemLock is set to disp+work.ThJSemLock(thxxvmemu.c:545)
J extSemUnlock is set to disp+work.ThJSemUnlock(thxxvmemu.c:551)
J extMtxOpen is set to disp+work.ThJMtxOpen(thxxvmemu.c:641)
J extMtxClose is set to disp+work.ThJMtxClose(thxxvmemu.c:665)
J extMtxLock is set to disp+work.ThJMtxLock(thxxvmemu.c:685)
J extMtxTrylock is set to disp+work.ThJMtxTrylock(thxxvmemu.c:780)
J extMtxUnlock is set to disp+work.ThJMtxUnlock(thxxvmemu.c:853)
J extMtxForceUnlock is set to disp+work.ThJMtxForceUnlock(thxxvmemu.c:928)
J extMtxLockCount is set to disp+work.ThJMtxLockCount(thxxvmemu.c:975)
J extMtxLocked is set to disp+work.ThJMtxLocked(thxxvmemu.c:981)
J extMtxLocking is set to disp+work.ThJMtxLocking(thxxvmemu.c:1013)
J extMtxWaitingVms is set to disp+work.ThJMtxWaitingVms(thxxvmemu.c:1046)
J extMtxIAmOwner is set to disp+work.ThJMtxIAmOwner(thxxvmemu.c:1101)
J extOpen is set to disp+work.ThIoJavaOpen(thxxfile.c:381)
J extReopen is set to disp+work.ThIoJavaReopen(thxxfile.c:535)
J extClose is set to disp+work.ThIoJavaClose(thxxfile.c:665)
J extSeek is set to disp+work.ThIoJavaSeek(thxxfile.c:750)
J extSetLength is set to disp+work.ThIoJavaSetLength(thxxfile.c:882)
J extSync is set to disp+work.ThIoJavaSync(thxxfile.c:910)
J extIoAvailable is set to disp+work.ThIoJavaAvailable(thxxfile.c:937)
J extFileSizeFd is set to disp+work.ThIoJavaFileSizeFD(thxxfile.c:965)
J extPread is set to disp+work.ThIoJavaPRead(thxxfile.c:1074)
J extPwrite is set to disp+work.ThIoJavaPWrite(thxxfile.c:1111)
J extReadv is set to disp+work.ThIoJavaReadV(thxxfile.c:994)
J extWritev is set to disp+work.ThIoJavaWriteV(thxxfile.c:1038)
J extFDataSync is set to disp+work.ThIoJavaDataSync(thxxfile.c:1145)
J extFixVmToProcess is set to disp+work.ThIoFixVmToWp(thxxfile.c:1230)
J extReleaseVmFromProcess is set to disp+work.ThIoRelVmFromWp(thxxfile.c:1239)
J extGetOSDescriptor is set to disp+work.ThIoJavaGetOsFd(thxxfile.c:1249)
J extDetachIo is set to disp+work.ThIoJavaDetach(thxxfile.c:1273)
J extSocket is set to disp+work.ThSoSocketVmc(thxxsock.c:798)
J extRecvMsg is set to disp+work.ThSoRecvmsg(thxxsock.c:1147)
J extSendMsg is set to disp+work.ThSoSendmsg(thxxsock.c:1569)
J extCloseSocket is set to disp+work.ThSoCloseSocket(thxxsock.c:985)
J extConnect is set to disp+work.ThSoConnect(thxxsock.c:809)
J extBind is set to disp+work.ThSoBind(thxxsock.c:1804)
J extAccept is set to disp+work.ThSoAccept(thxxsock.c:1985)
J extListen is set to disp+work.ThSoListen(thxxsock.c:2230)
J extPoll is set to disp+work.ThSoPoll(thxxsock.c:2381)
J extShutdown is set to disp+work.ThSoShutdown(thxxsock.c:2633)
J extGetSockOpt is set to disp+work.ThSoGetsockopt(thxxsock.c:2787)
J extSetSockOpt is set to disp+work.ThSoSetsockopt(thxxsock.c:2963)
J extGetSockName is set to disp+work.ThSoGetsockname(thxxsock.c:3122)
J extGetRecvLength is set to disp+work.ThSoGetrecvlength(thxxsock.c:3305)
J extSetNonBlocking is set to disp+work.ThSoSetnonblocking(thxxsock.c:3464)
J extCreateControlArea is set to disp+work.ThJCreateControlArea(thxxvmemu.c:3099)
J extGetControlArea is set to disp+work.ThJGetControlArea(thxxvmemu.c:3113)
J extNotifyAboutControlFlagChange is set to disp+work.ThJControlFlagChange(thxxjava.c:6147)
J extVmRunningInWp is set to disp+work.ThJVmRunningInWp(thxxjava.c:7500)
J extVmRunningOnJavaStack is set to disp+work.ThJVmRunningOnJavaStack(thxxjava.c:7508)
J extGetJavaMainStack is set to disp+work.ThJGetJavaMainStack(thxxjava.c:7513)
J extAlarm is set to disp+work.ThJAlarm(thxxjava.c:6215)
J setGlobalsHook is set to disp+work.ThJSetGlobals(thxxjava.c:6386)
J getGlobalsHook is set to disp+work.ThJGetGlobals(thxxjava.c:6374)
J getWpIdHook is set to disp+work.ThGetWpId(thxxtool.c:2002)
J getWpNoHook is set to disp+work.DpWpAdmEntry(dpxxtool.c:3215)
J getVmCount is set to disp+work.ThJGetVmcCount(thxxjava.c:3154)
J getEvtConnHdl is set to disp+work.ThJGetEvtConnHdl(thxxjava.c:1099)
J selNextHdl is set to disp+work.ThVmcSelNextHdl(thxxvmio.c:335)
J rollOut is set to disp+work.ThJRollOut(thxxjava.c:5737)
J sleepFunc is set to disp+work.ThJSleep(thxxjava.c:6901)
J selTimeout is set to disp+work.ThJSelTimeout(thxxjava.c:7292)
J proxyWakeup is set to disp+work.ThJHandleProxyWakeup(thxxjava.c:7610)
J extGetProxyActivatedHook is set to disp+work.ThJGetSapProxyActivated(thxxjava.c:7423)
J getVmcFlavour is set to disp+work.ThJGetVmcFlavour(thxxjava.c:7675)
J getVmType is set to disp+work.ThJGetVmType(thxxjava.c:7687)
J getVmMaxNo is set to disp+work.ThJGetVmMaxNo(thxxvmemu.c:3049)
J getVmId is set to disp+work.ThJGetActVmc(thxxjava.c:9681)
J isValidVmId is set to disp+work.ThJisValidVmId(thxxvmemu.c:3075)
J getVmUuid is set to disp+work.ThJGetVmUuid(thxxvmemu.c:3059)
J createUniqueId is set to disp+work.ThJCreateUniqueId(thxxvmemu.c:3084)
J statisticActive is set to disp+work.ThJStatisticsActive(thxxjava.c:7830)
J openStatInterval is set to disp+work.ThJOpenStatInterval(thxxjava.c:7852)
J closeStatInterval is set to disp+work.ThJCloseStatInterval(thxxjava.c:7868)
J intervalStatActive is set to disp+work.ThJIntervalStatActive(thxxjava.c:7885)
J extTrace is set to disp+work.ThJTrace(thxxvmemu.c:3129)
J extGetBuiltinLibs is set to disp+work.ThJGetBuiltinLibs(thxxjava.c:6250)
J extFindNative is set to disp+work.ThJFindNative(thxxvmemu.c:3150)
J extPreloadNativeOpen is set to disp+work.ThJPreloadNativeOpen(thxxjava.c:6264)
J extPreloadNativeSym is set to disp+work.ThJPreloadNativeSym(thxxjava.c:6276)
J extGetDebugFlags is set to disp+work.ThVmcGetBitmasks(thxxvmc.c:2500)
J extStartExternalTimer is set to disp+work.ThJStartExternalTimer(thxxjava.c:6288)
J extStopExternalTimer is set to disp+work.ThJStopExternalTimer(thxxjava.c:6309)
J extCheckForCleanup is set to <null>
J extJvmxInit2 is set to <null>
J extJvmxCleanup is set to <null>
M ThVmcInitWaitForVm: th_maxWaitForVmTime=30
I
I Tue Apr 29 17:58:05 2014
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 0BD30040, size: 4400000)
M SHM_ROLL_AREA (addr: 59250040, size: 61440000)
M SHM_PAGING_AREA (addr: 0C7D0040, size: 32768000)
M SHM_ROLL_ADM (addr: 0C170040, size: 615040)
M SHM_PAGING_ADM (addr: 0C210040, size: 525344)
M ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 0C2A0040
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 12160 bytes (50 server) at 0C330040
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
X ES initialized.
C
C Tue Apr 29 17:58:06 2014
C *** ERROR => ORA-376 occurred when executing SQL statement (parse error offset=0)
[dbsloci.c 12548]
C sc_p=06198094,no=1,idc_p=06B97F38,con=0,act=1,slen=66,smax=256,#vars=0,stmt=06C5E6B8,table=DDNTT
C SELECT COUNT(*) FROM DDNTT WHERE TABFORM <> 'J' AND TABFORM <> 'V';
C sc_p=06198094,no=1,idc_p=06B97F38,con=0,act=1,slen=66,smax=256,#vars=0,stmt=06C5E6B8,table=DDNTT
C prep=0,lit=0,nsql=0,lobret=0,#exec=1,dbcnt=0,upsh_p=00000000,ocistmth_p=06C51FC0
C IN : cols=0,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=-1,rsize=0,vmax=0,bound=0,iobuf_p=00000000,vda_p=00000000
C lobs=0,lmax=0,lpcnt=0,larr=00000000,lcurr_p=00000000,rret=0
C OUT: cols=1,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=0,upto=-1,rsize=4,vmax=32,bound=1,iobuf_p=05637578,vda_p=06C5DB68
C lobs=0,lmax=0,lpcnt=0,larr=00000000,lcurr_p=00000000,rret=0
C SELECT COUNT(*) FROM DDNTT WHERE TABFORM <> 'J' AND TABFORM <> 'V';
B ***LOG BYL=> DBQ action required because of database error [dbsh#2 @ 1100] [dbsh 1100 ]
B SQL code: 376, SQL text: ORA-00376: file 8 cannot be read at this time
B ORA-01110: data file 8: 'D:\ORACLE\DEV\SAPDATA1\SR3_5\SR3.DATA5'
B ***LOG BY4=> sql error 376 performing SEL on table DDNTT [dbstat#4 @ 693] [dbstat 0693 ]
B ***LOG BY0=> ORA-00376: file 8 cannot be read at this time
ORA-01110: data file 8: 'D:\ORACLE\DEV\SAPDATA1\SR3_5\SR3.DATA5' [dbstat#4 @ 693] [dbstat 0693 ]
B init: Got no entries from DDNTT !
B init failed
B db_stinit failed
M *** ERROR => ThCallHooks: event handler db_init for event CREATE_SHM failed [thxxtool3.c 260]
M *** ERROR => ThIPCInit: hook failed [thxxhead.c 2047]
M ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1494]
M in_ThErrHandle: 1
M *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c 10156]
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 semaphore = 0
M act_cs_count = 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 vm = V-1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server sapecc6_DEV_00 on host sapecc6 (wp 0)
M * ERROR ThInit: ThIPCInit
M *
M * TIME Tue Apr 29 17:58:06 2014
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 17
M * MODULE thxxhead.c
M * LINE 10354
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 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
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 2816) [dpnttool.c 327]
sql>select status from v$datafile;
status
One of my datafile status is 'RECOVER'
SQL>recover datafile 8;
ora_00283 recover session cancelled due to errors
ora_01110:datafile 8:'d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
ora_01122:database file 8 failed cerification check
ora_01110:datafile 8:d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
ora_01251:unknown file header version read for file number 8
Please give me the suggestion..
Best regards
naniHi K Nani,
From your error message
ora_01122:database file 8 failed cerification check
ora_01110:datafile 8:d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
ora_01251:unknown file header version read for file number 8
Looks like Data file is corrupted.
You may refer SAP note 696141 - Composite SAP Note: ORA-01122
10. ORA-01251: Unknown File Header Version read for file number <file_id>
Reason: The file header cannot be correctly read.
Solution: If you use Oracle 9.2 on WINDOWS and if you already installed the database with Oracle 7.2 or lower, see Note 636466.
Otherwise: Restore/recovery
Only solution here is restore the database from backup.
Alternate solution If it is a non-production system.
If the file is corrupted, then take the datafile offline and open the database.
Hope this helps
Regards,
Deepak Kori -
Just got to a new job.
I try to open the database and it give me these error
ORA-01122: database file 46 failed verification check
ORA-01110: data file 46: '...../xxxx_index_01.dbf'
ORA-01200: actual file size of 2316800 is smaller than correct size of 2355200
Here is the problem.
No backup & NOARCHIVELOG mode
I try recreate the controlfile and reload it and still get the same error.
What can I do to fix this problem?
Thank You in advance.You can't fix the files. is this a index tablespaces, right?
If this is the case, please recreate the indexes again in a new tablespace or rebuild them, I'm sending you the scripts for both situations.
-- script to recreate the indexes.
declare
my_owner varchar2(30) := UPPER('&owner');
my_name varchar2(30) := UPPER('&tabname');
cursor colcur (ind_in varchar2)
is
select * from dba_ind_columns
where table_owner=my_owner and table_name=my_name
and index_name=ind_in
order by column_position;
cursor indcur is
select * from dba_indEXES
where table_owner=my_owner and table_name=my_name;
createstring varchar2(4000);
begin
for indrow in indcur loop
createstring := 'CREATE';
if indrow.uniqueness = 'UNIQUE' then
createstring := createstring || ' UNIQUE';
end if;
createstring := createstring || ' INDEX ' || indrow.index_name || ' ON '
|| indrow.table_name || ' (';
for colrow in colcur (indrow.index_name) loop
createstring := createstring || colrow.column_name || ',';
end loop; --colcur
createstring := rtrim(createstring,',');
createstring := createstring || ') ';
createstring := createstring || ' TABLESPACE ' || indrow.tablespace_name || ';';
dbms_output.put_line ( createstring );
dbms_output.put_line (' ' );
end loop; --indcur
end;
---script to rebuild the indexes in a new tablespace
SELECT 'alter index '
|| index_name
|| ' rebuild online tablespace new_indx_tablespace;'
FROM DBA_INDEXES
WHERE tablespace_name = 'OLD_DEAD_TABLESPACE';
Regards,
Francisco Munoz Alvarez -
ORA-01122, ORA-01110, ORA-01251 when starting up instance
Hi all,
When I startup instance, I have following error. What can I do?
SQL> startup
ORACLE instance started.
Total System Global Area 655434496 bytes
Fixed Size 455424 bytes
Variable Size 494927872 bytes
Database Buffers 159383552 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: 'C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
ORA-01251: Unknown File Header Version read for file number 1
SQL> select status from v$instance;
STATUS
MOUNTEDHi all,
Taking cold backup causes this problem. But I can't solve this problem.
result of select * from v$recover_file statement is below;
ROWNUM FILE# ONLINE ONLINE_STATUS ERROR CHANGE# TIME
1 1 ONLINE ONLINE WRONG FILE TYPE 0
2 2 ONLINE ONLINE WRONG FILE TYPE 0
3 8 ONLINE ONLINE WRONG FILE TYPE 0
4 9 ONLINE ONLINE WRONG FILE TYPE 0
5 10 ONLINE ONLINE WRONG FILE TYPE 0
6 11 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
7 12 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
8 13 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
9 14 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
10 15 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
11 16 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
12 17 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
13 18 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
14 19 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
15 20 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
16 21 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
17 22 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
18 23 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
19 24 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
20 25 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
21 26 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
22 27 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
23 28 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
24 29 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
25 30 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
26 31 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
Edited by: ilke_altinpulluk on 16.Haz.2010 01:05 -
ORA-01122, ORA-01110 and ORA-01251
When we are opening the database following errors are coming in sequence as follows:
ORA-01122, ORA-01110 and ORA-01251
Other facts:
We dont have any backup.
Database is not in archive mode.
Personally I don't see any hope.
What you guys think?Ok see this
SQL> startup
ORACLE instance started.
I tried do media recover in case of NOARCHIVE log mode. You can try the same in you case too
(1) Starting the Database
Total System Global Area 118255568 bytes
Fixed Size 282576 bytes
Variable Size 83886080 bytes
Database Buffers 33554432 bytes
Redo Buffers 532480 bytes
Database mounted.
ORA-01113: file 8 needs media recovery
ORA-01110: data file 8: 'C:\ORADATA\MANU\USERS01.DBF'
(2) Check the database mode
SQL> select log_mode from v$database;
LOG_MODE
NOARCHIVELOG
(3) Switch on the archive logmode
SQL> alter database archivelog;
Database altered.
(4) Recover the Database
SQL> recover
Media recovery complete.
(5) Shutdown the Database
SQL> shutdown
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
(6) Start the Database again
SQL> startup
ORACLE instance started.
Total System Global Area 118255568 bytes
Fixed Size 282576 bytes
Variable Size 83886080 bytes
Database Buffers 33554432 bytes
Redo Buffers 532480 bytes
Database mounted.
Database opened.
SQL> -
ORA-01122, ORA-1110 and ORA--12-3
Dear All,
I have restored the oracle database with the backup. When starting the database, I am getting below errors:
ORA-01122: data file 1 failed verification check
ORA-01110: data file 1: 'G:\oracle\ABP\SAPDATA1\SYSMTEM_1\SYSTEM.DATA1'
ORA-01203: wrong incarnation of this file - wrong creation SCN
Can anybody please help me in solving this isue?
Would be a great help.
Regards,
FaisalHi,
Sorry for the delay in pasting the result of the query you suggested.
Please find below the result of it:
SQL> select file#,name,creation_change# from v$d
FILE#
NAME
CREATION_CHANGE#
1
G:\ORACLE\ABP\SAPDATA1\SYSTEM_1\SYSTEM.DATA1
10
2
G:\ORACLE\ABP\SAPDATA1\UNDO_1\UNDO.DATA1
6450
FILE#
NAME
CREATION_CHANGE#
3
G:\ORACLE\ABP\SAPDATA1\SYSAUX_1\SYSAUX.DATA1
6623
4
G:\ORACLE\ABP\SAPDATA2\SR3_1\SR3.DATA1
FILE#
NAME
CREATION_CHANGE#
161311
5
G:\ORACLE\ABP\SAPDATA2\SR3_2\SR3.DATA2
161361
6
FILE#
NAME
CREATION_CHANGE#
G:\ORACLE\ABP\SAPDATA2\SR3_3\SR3.DATA3
161410
7
G:\ORACLE\ABP\SAPDATA2\SR3_4\SR3.DATA4
161572
FILE#
NAME
CREATION_CHANGE#
8
G:\ORACLE\ABP\SAPDATA3\SR3700_1\SR3700.DATA1
161628
9
G:\ORACLE\ABP\SAPDATA3\SR3700_2\SR3700.DATA2
161677
FILE#
NAME
CREATION_CHANGE#
10
G:\ORACLE\ABP\SAPDATA3\SR3700_3\SR3700.DATA3
161725
11
G:\ORACLE\ABP\SAPDATA3\SR3700_4\SR3700.DATA4
FILE#
NAME
CREATION_CHANGE#
161776
12
G:\ORACLE\ABP\SAPDATA4\SR3USR_1\SR3USR.DATA1
161808
12 rows selected.
NOTE: This was captured after replacing the backup data files which were causing problem the database to come up with the latest data files and recovering
Please suggest. -
ORA-01110: ORA-01207: on sysaux01.dbf file
Hi,
I have a an Oracle 11.2 database running on SuSE Linux, and I did a cold linux backup of the database (shutdown database, and tar all file system to tape). Now I have restored all the files on a new server, and when I try to start the database, it brings the below error.
SQL> startup mount
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2213776 bytes
Variable Size 872417392 bytes
Database Buffers 721420288 bytes
Redo Buffers 7360512 bytes
Database mounted.
SQL>
SQL> alter database open
2 /
alter database open
ERROR at line 1:
ORA-01122: database file 2 failed verification check
ORA-01110: data file 2: '/data1/oradata/prod01/sysaux01.dbf'
ORA-01207: file is more recent than control file - old control file
When I do the restore, all the files have the same datestamp. But After the alter open database command, control01.dbf and system01.dbf files changed their timestamp to today.
Help.
KevinOracle Error :: ORA-01207
file is more recent than control file - old control file
Cause
The control file change sequence number in the data file is greater than the number in the control file. This implies that the wrong control file is being used. Note that repeatedly causing this error can make it stop happening without correcting the real problem. Every attempt to open the database will advance the control file change sequence number until it is great enough.
Action
Use the current control file or do backup control file recovery to make the control file current. Be sure to follow all restrictions on doing a backup control file recovery. -
ORA-01122: database file 58 failed verification check
Hi All,
I have lost one of my datafile while moving them from 1 drive to another. I am getting the following error while trying to start the database:
ORA-01122: database file 58 failed verification check
ORA-01110: data file 58: 'G:\ORACLE\R3E\SAPDATA7\R3E700_25\R3E700.DATA25'
ORA-01251: Unknown File Header Version read for file number 58
Please suggest what can be done to correct the error. Also I don't have a backup.
Suman- open http://service.sap.com/notes
- enter "ORA-01251"
- you will find Note 696141 - Composite SAP Note: ORA-01122
and that section:
10. ORA-01251: Unknown File Header Version read for file number <file_id>
Reason: The file header cannot be correctly read.
Solution: If you use Oracle 9.2 on WINDOWS and if you already installed the database with Oracle 7.2 or lower, see Note 636466.
Otherwise: Restore/recovery
Markus -
ORA-01122: database file 30 failed verification check
SQL*Plus: Release 10.1.0.4.2 - Production on Wed Feb 13 20:33:13 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
when starting the DB for 10gAS get following error, db is started but cannot sign in
SQL> SQL> Connected.
SQL> ALTER DATABASE open
ERROR at line 1:
ORA-01122: database file 30 failed verification check
ORA-01110: data file 30: 'D:\ORACLE\ORADATA\PRT\APPS003_A.DBF'
ORA-01203: wrong incarnation of this file - wrong creation SCN
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
With the Partitioning, OLAP and Data Mining optionsYou have a mismatch in the control file and data file scn numbers. What was done before the database was getting started? I once saw this error when some one moved one file from another munt point to another and there was no rename give to the control file and the control file got no idea which is this new file and where it had come from?
Try finding the control file which is of the same backup as of this datafile.
Aman.... -
Hi All,
I had created a IR report based on a table and it was working with no issues. But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search. But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
What might have caused this issue?
Is there a way to intercept the search query from IR report?
Apex version - 4.2.3.00.08.
Any help on this appreciated.
Thanks,
JaganHi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
Can you please guide me how to check the query logs on search?
Thanks,
Jagan -
Ora-00604 error while taking tkprof of a trace file
Sorry i am giving the full erro but omitting exact table names
Hi ,
I have an error while taking tkprof of a trace file.
I gave the following command ---
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela explain= /
error is --
Error in create table of EXPLAIN PLAN table : unix_session_user.prof$paln_table
ORA-00604: error occurred at recursive SQL level 1
ORA-20001: Step-6:DDL
Event Security. You are not permitted to perform the requested structural
changes to PROF (TABLE)
Event triggered : CREATE
ora_login_user
(session_user) : unix_session_user(dummy)
Search : select count(*) from
tabl(dummy table name) where obj_name like '%\%%' escape '\' and obj_type =
'TABLE' and obj_type = 'USER' and ( event_CREATE = 'Y' or status =
'Override')
ORA-06512: at line 162
ORA-06510: PL/SQL: unhandled
user-defined exception
EXPLAIN PLAN option disabled.
i searched for the error and in oracle forum i found a solution .. http://forums.oracle.com/forums/thread.jspa?threadID=844287&tstart=0
but after giving the table option it is giving the same error
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=old_schema.plan_table explain= /
it again gave the same error.
In both two cases it gives elapsed time results,library cache missing etc but before giving this it throws ORA-00604 error as stated above
then i again correct the tkprof statement ..
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=new_schema.plan_table explain= /
say this schema name here i used is dummy schema name.
My question is did this error came as we had not sufficient previlages in the old_schema but that previleges we have in new_schema?
My databse version is 9.2.0.4.0
Thanks in advance
Edited by: bp on Feb 3, 2009 11:36 PM
Edited by: bp on Feb 3, 2009 11:40 PMPlease post here full error message, there should be lines with ORA-00604 and then some other ORA as well.
And are there any trace files generated during this error?
And as You can see from error description, probably You will have to contact with Oracle support in order to solve this case:
oerr ora 00604
00604, 00000, "error occurred at recursive SQL level %s"
// *Cause: An error occurred while processing a recursive SQL statement
// (a statement applying to internal dictionary tables).
// *Action: If the situation described in the next error on the stack
// can be corrected, do so; otherwise contact Oracle Support. -
Why APEX 4.1 Error handling function does not trap the error of missing table?
Say, I create simple application with single IR report page and I also assign standard simple error handling function.
Function works perfectly, except but this case:
If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
and error handling function is not invoked at all.
Is this a feature or a bug?Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
Hi everyone,
has anyone else had this error which has been driving me round the bend during the last three days?
I have an interactive report which used to work fine.
Now it happens (when the page loads/a filter is en- or disabled) that - from time to time, but unpredictable - I receive
ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
The report is based on a table function.
I will try to set up a testcase and post the link here, but so far I haven't managed to force the error to occur.
But maybe someone else has already bumped into this kind of error? I would be grateful for any hints!
Best regards,
Sabine
Application Express 4.1.0.00.32
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionHi Jari,
I changed the type definition (the return type of the table function) and extended the select list in the source of the IR.
I do not use 'select *' but reference every column explicitly. So APEX easked me whether to add the new column.
I also tried deleting in recreating the region, but no luck.
Any more ideas?
Best regards,
Sabine -
ORA-27047: unable to read the header block of file
My Windows 2003 crashed which was running Oracle XE.
I installed Oracle XE on Windows XP on another machine.
I coped my D:\oracle\XE10g\oradata folder of Win2003 to the same location in WinXP machine.
When I start the database in WinXP using SQLPLUS i get the following message
SQL> startup
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 62918580 bytes
Database Buffers 79691776 bytes
Redo Buffers 2904064 bytes
ORA-00205: error in identifying control file, check alert log for more info
I my D:\oracle\XE10g\app\oracle\admin\XE\bdump\alert_xe I found following errors
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Wed Apr 25 18:38:36 2007
ALTER DATABASE MOUNT
Wed Apr 25 18:38:36 2007
ORA-00202: control file: 'D:\ORACLE\XE10G\ORADATA\XE\CONTROL.DBF'
ORA-27047: unable to read the header block of file
OSD-04001: invalid logical block size (OS 2800189884)
Wed Apr 25 18:38:36 2007
ORA-205 signalled during: ALTER DATABASE MOUNT...
ORA-00202: control file: 'D:\ORACLE\XE10G\ORADATA\XE\CONTROL.DBF'
ORA-27047: unable to read the header block of file
OSD-04001: invalid logical block size (OS 2800189884)
Please help.
Regards,
ZulqarnainTry to install win 2003 server software, do the fresh installation of oracle software, now copy the datafiles and controlfiles to same locations as you did on winxp.
get back to us, if still not out of the woods. I still doubt that a simple restore would do the trick, since you doing it across different platforms, might be I can be wrong, but this is what I personally feel, you not able to start the database on winxp.
hare krishna
Alok -
Hi,
I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
==========================================================
EXCEPTION
WHEN OTHERS THEN
WF_CORE.context (
'WFCustCheck',
'MisCustDataFromTableDoc',
document_id,
display_type,
document,
document_type,
SQLERRM
RAISE_APPLICATION_ERROR (-20006, SQLERRM);
==========================================================
But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
Please let me know.
ThanksHi,
Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
Are you using documents to send the notification, or are they purely defined in the .wft file?
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com
Maybe you are looking for
-
How to enable ping service on java-stack only system
I have installed SAP NetWeaver 7.0 - Java Trial on local host. How can you activate the ping service there? It should work under "http://localhost:50000/sap/bc/ping" (I know how to activate it with transaction SICF in an abap system, but I have java-
-
Compiz, moving windows not smooth
Hello I've runned in to a little enoying problem, when moving windows on my desktop while compiz is activated the animations isn't too smooth, nothing extreme but not perfect. But when enabling the compiz Benchmark they're smooth, It feels like compi
-
Why iPhone 4S keeps sending double and triple texts, and random words I never typed. Any ideas?
-
The issue is basically this: I have an accordion (Spry). Let's say I click an element on it, shifting it. Now if that element was also a link, it will load a new page. Unfortunately, it also resets the accordion to default state, totally nullifying a
-
im trying to cancel some unwanted subscriptions and have followed the adviice I've found, but the ON/OFF slider!is not showing alongside the auto renewal button o I'm unable to switch it off. How do I change this?