RESTORE - Kernel Bad page - header and trailer not matching
Hello,
I have a Problem with the recover of my backup.
When i want to make a restore of the Database this error is shown in Logfile KNLDIAGERR
2008-11-26 21:20:38 --- Starting GMT 2008-11-26 20:20:38 7.5.0 Build 032-123-111-699
2008-11-26 21:26:57 0xE0C ERR 20005 Kernel Bad page - header and trailer not matching
2008-11-26 21:26:57 0xE0C ERR 20006 Kernel Header [ 5277032 - data - tab - checksumData - empty ]
2008-11-26 21:26:57 0xE0C ERR 20007 Kernel Trailer[ 0 - data - nil - chckNil - empty ]
2008-11-26 21:26:57 0xE0C ERR 52015 RESTORE write/check count mismatch 5277032
2008-11-26 21:26:57 0xDFC ERR 52012 RESTORE error occured, basis_err 300
2008-11-26 21:26:57 0xDFC ERR 51080 SYSERROR -9026 BD Bad datapage
any Help ?
thanks a lot
Steven
Hi Steven,
the database kernel checks with every read the header trailer. If it got a mismatch during read the error message you got is logged.
The same checkes will be executed when you create a backup. You told us that the backup could be executed without any errors and that the system where you created the backup is ok as well -> you executed a Check data?
Now everything looks like the error is in the backup and happened during writies to the external backup medium. Or the backup is ok and then the error happens during read from the external medium.
To get closer to the reason where the problem is located I need to have some more information.
1. You did the restore several times?
2. Did the bad Data Page shappens always on the same page -> Check knldiag.err
3. Did you do your backup on tape?
4. Did you try to create a backup into a file?
5. Does the restore from file got the error as well?
Regards, Christiane Hienger
Similar Messages
-
Header and trailer pages in report templates
Hi:
I wonder how can i make header and trailer pages in the tamplate reports , so that the objects in the template header & footer report would be inherited to the generated reports. I use Oracle reports 6.0.8 and there is no header section, niether Trailer section in the Template Editor, I've read in the reports online help :"You can use the margin and body of the Header and Trailer sections to create a Header and Trailer page as in earlier releases. In future releases, you will be able to add and delete sections.", is there any method i can use to make header&trailer pages in the template.I have the same question. This is what I found on Metalink.
goal: How To Define A Header/Trailer Section In A Reports Template Definition File (TDF)
fact: Oracle Reports Developer
fix: It is not possible to have a HEADER/TRAILER section in a Reports Template Definition File (TDF). Templates do not need to have a HEADER/TRAILER section, infact there is no sectioning in a template. They just define the visual layout when applied against a report section.
This did not answer my question! -
SAP is running with corrupted DB6 Database with many "Bad Page Header" . .
Hello Friends,
One of our DB6 Database is showing multiple entries in db2diag.log file, while performing SAP Local client copy, SGEN, SAP System Copy, REORGCHK for All, RUNSTAT for single Table......
RETCODE : ZRC=0x87020036=-2029912010=SQLB_BADHDR "Bad Page Header"
DIA8547C An error occurred in a database page header.
System Information:
SAP system : Solution Manager 70 , Support Stack 15
Database : DB2 v9.1.700.855 , FP7
Operating system: Windows Server 2003 Ent. x64 Edition
Currently, All things are working fine with the current status of DB6 Database. SAP Solman system is starting and shutting down in normal way whenever it is required. In DB6COCKPIT, not even single alert is there for inconsistent objects, and for other factors. Even, At present, I am able to perform both compressed /uncompressed Online/Offline backup of the System Database.
Previously, the system was maintained by other BASIS administrator. The problem came to know by me, when i ran SGEN after successfully applying ST-A/PI add-on in system, as per as EarlyWatch report notification. The corruption might happened before 6 to 7 months ago, as i have seen the same messages in db2diag.log files, when the same problem was identified by me recently. And moreover, as per as our Backup cycle, all dedicated Backup Tapes are overwritten with existing status of SAP Solman Database within this 6 to 7 months long period, so I can not restore the consistent Database backup to correct the problem.
The ABAP dumps which came as a result of SGEN and of some operations are as followed:
DBIF_REPO_INTERNAL_ERROR
DBIF_REPO_SQL_ERROR (SQL error "-1034" occurred when accessing program, SQL error "-99999" occurred when accessing program)
GEN_BRANCHOFFSET_LIMIT_REACHED
etc...etc...
I tried to diagnosis the cause of this problem using DB2DART tool and done the analysis of all tablespaces. Out of 37 Tablespaces, multiple Tablespaces are found with error/corruptions.
Due to the corruption in multiple Database Obejcts, I am not able to do SAP Local client copy, SGEN, SAP System Copy, REORGCHK for All, RUNSTAT for single Table... and other Database related operations.
Is there any alternative to correct this corrupted database excep Backup/Restore database?
I am looking for your cooperations to solve this unexpected critical Problem.
Regards,
Bhavik G. Shroff
Edited by: Bhavik G. Shroff on Nov 12, 2009 11:31 AMAshley,
Fortunately the db2diag.log provides a lot of good debugging information. Here is an excerpt of the information that we captured for a (different) problem we were having:
2009-03-26-17.22.23.655840000 I6020445A3130 LEVEL: Severe
PID : 1314904 TID : 5913 PROC : db2sysc 0
INSTANCE: db2bq2 NODE : 000
EDUID : 5913 EDUNAME: db2pclnr (BQ2) 0
0x0000000110692608 : 0000 0000 0000 0000 FFFF FFFF FFFF FFFF ................
0x0000000110692618 : 0000 0002 850F 000C ........
DATA #3 : Buffer page descriptor, PD_TYPE_SQLB_BPD, 152 bytes
Pagekey: PPNum:5409475
objectPageNum: 153219
bucketGroupHashIndex: 1817
hashnext: 0x0000000000000000
hashprev: 0x0700000063240858
osslatch:
+
Basically the information you are looking for is the PageKey which tells you that the problem happened in tablespace id 59, tableid 9 pagenumer 5409475. You can then use db2dart to dump that particular page and examine the contents (in our case it was zeroed out due a filesystem problem).
db2dart <db> /DP /TSI 59 /PS 5409475 /NP 0
There are various other dump options that you can use. I have found this to be very useful in diagnosing these kind of problems.
- Sameer -
How to set a page header and footer of an excel file i'm creating
Hello !
SORRY MY ENGLISH is very BAD.
I tried to set page header and footer in Excel sheet with ABAP ole
DATA : BEGIN OF enter,
x(1) TYPE x VALUE '0D',
END OF enter.
DATA : format(255) TYPE c.
FORM set_page_sheet.
CALL METHOD OF excel 'ActiveSheet' = sheet.
CALL METHOD OF sheet 'PageSetup' = pagesetup.
SET PROPERTY OF pagesetup 'Orientation' = xllandscape.
SET PROPERTY OF pagesetup 'PrintTitleRows' = '$9:$12'.
CLEAR format.
ERROR
CONCATENATE 'PAGESHEET' enter-x 'PAGE &P/&N' INTO format.
ERROR
SET PROPERTY OF pagesetup 'RightHeader' = format.
CLEAR format.
CONCATENATE ' Text 1 ' enter-x 'Text 2'
enter-x 'Text 3 ' INTO format.
SET PROPERTY OF pagesetup 'RightFooter' = format.
FREE OBJECT pagesetup.
ENDFORM. " set_page_sheet
Activate report -
ERROR - The enter-x must by data type c or another then data type x
Thanks for answer.Try to define ENTER this way & try
class cl_abap_char_utilities definition load.
DATA : BEGIN OF enter,
x type c value cl_abap_char_utilities=>cr_lf,
END OF enter.
PS : I am not 100% sure about this.
a® -
Generating Header and trailer sections in reports..
Hi all.
I want to generate reports, that has both a header- and a trailer section page.
Usually this was part of the template report, but in Designer 9, the generator first converts the template report (.rdf) to a template report (.tdf), and is then using this template.
But where is the header- and trailer page? You can't see them in the reports builder, when looking at templates, and the generated report does not contain any header- nor trailer pages.
Have I missed something?
Any replies welcome...
Benny AlbrechtsenI have the same question. This is what I found on Metalink.
goal: How To Define A Header/Trailer Section In A Reports Template Definition File (TDF)
fact: Oracle Reports Developer
fix: It is not possible to have a HEADER/TRAILER section in a Reports Template Definition File (TDF). Templates do not need to have a HEADER/TRAILER section, infact there is no sectioning in a template. They just define the visual layout when applied against a report section.
This did not answer my question! -
Page Header and Footer in Printer Friendly mode
Hi,
I have a report which has more than 500 rows and I want to print them.
The printer friendly mode works fine, but is it possible that there is a page "header" and "footer" on every page which is printed?
For example, that the column headings are on every page which was printed?
Or that at the bottom of each page is the page number displayed?
Does anyone have an idea?
Thanks,
TimIE and Firefox are designed for WEB pages.
WEB pages are on Internet. Security is important and browser should not compromise user to use it.
Many users=Many printers!
If you want to write app for especially one printer and know users (Intranet application) then here is what you can do:
1) Use IE
2) write your own ocx with interface for your needs.
3) every user should implement this ocx in their browser.
4) When they accept your ocx, then in this "small app" you could do as much as this user can do on their own windows. So setting printer, orientation and size is a peace of cake.
5) make your report regarding this printer
And this is it!
And few other things...
If user choose larger font then your HTML is broken!!!
For that I think that PL/PDF or Mail merge is better solution! -
Extracting body with header and trailer multiple times from a multirow file
Hello Everyone,
I am new to OSB and currently working on a project where I need to extract data from a flat file containing multiple rows of body and a single header and trailer in the following fashion:
Original File:
<Header></Header>
<Details></Details>
<Details></Details>
<Trailer></Trailer>
Desired format using OSB:
<Header></Header>
<Details></Details>
<Trailer></Trailer> ... in a single file, multiple times
Please help me in carrying out this functionality. It's really urgent and important.
Thanks,
SaurabhSome may argue this is not the right forum - database general might have been a little been than downloads - but now the thread is here I'll try an answer.
As I see it It depends on your spooling tool.
Lets assume you are using sqlplus.
I that case the sql prompt command may serve your purpose
Alternatively
select 'header' from dual
union all
select field1||','||field2||','field3 .... /*must single string expression but may concatentate field */ from somtable
union all
select 'trailer' from dual;may suit.
However I fear either I have not understood the question or if I have understood the question that you may have difficulties implementing this.
Edited by: bigdelboy on 19-Apr-2009 14:32 -
Spooling data with Header and trailer
Hi everyone,
I have a problem in spooling the data.
I get a .dat file to load into db .That .dat file will be having header,records,trailer.While loading into the db i load only the records .
I load the .dat file into table using sqlldr with direct= true and parallel=true.
I load data into one table.header and trailer into one table(Loading into two different tables using three control file each for header,records,trailer to load from same .dat file).But while spooling the data out after some modifications to the table.i need to spool it with the header and trailer.I am able to spool only the records but not header and trailer.
That header and trailer are in standard form,everytime i get the .dat file.
Help me how to spool data from a table with the HEADER & TRAILER in the spool file.
ThanksSome may argue this is not the right forum - database general might have been a little been than downloads - but now the thread is here I'll try an answer.
As I see it It depends on your spooling tool.
Lets assume you are using sqlplus.
I that case the sql prompt command may serve your purpose
Alternatively
select 'header' from dual
union all
select field1||','||field2||','field3 .... /*must single string expression but may concatentate field */ from somtable
union all
select 'trailer' from dual;may suit.
However I fear either I have not understood the question or if I have understood the question that you may have difficulties implementing this.
Edited by: bigdelboy on 19-Apr-2009 14:32 -
Supress Header and Trailer from being generated and printed
I am using oracle 9i Reports Builder.
Is there a way to supress the header and trailer pages from being generated and printed.Increase the marigin size to zero size header and trailer in the layout editor and then run the report.
-
Unix Flat File: Remove header and trailer and put in another file.
Hi,
I have Source Flat File placed on Unix Box with header and trailer.
I want to remove Header and Trailer and put in some other file and Data in another file.
I tried following command in unix its working.But not getting Header and Trailer in another file.
sed '1d;$d' input_source.txt > output_data.txt
also How will i use OS command for it in ODI.
Guide me.
Thanks
AshwiniHi Ashwini,
You can run OS commands in a package using an ODI Tool: OdiOSCommand.
It is also possible to execute OS commands in an ODI procedure using the Operating System or Jython technologies.
There should be some articles about this on metalink (http://metalink.oracle.com).
Thanks,
Julien -
Question
I was on an online course website, logged in and working on an assignment. Suddenly the page disappeared and was not on the tabs either. I went to the home page and tried to log back in and it said I was already logged in on another browser window and if I proceeded to log in again the assignment I was working on would be ended and I would receive a zero. I can't locate the browser window that I was signed in on. Help...I don't want to get a zero, but don't know how to get back into the website under my original log in & get back to my half completed assignment.Hi,
Please try this: In Firefox '''History''' ('''Alt''' + '''S''') and check if it is listed in either '''Recently Closed Tabs''' or '''Recently Closed Windows''' or in the list below. If you cannot find it click '''Show All History''', on the left of the window click '''Today''' below '''History''' and on the right look for the site entry corresponding closely to the time when you lost it. If you cannot see the column heading named '''Visit Date''', you may have to enable it by right-clicking on the column header strip.
Also please note that the online course site may have redirected you to another site for the test, so it is also a good idea to look into site entries that may match the time. -
Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?
Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions. Complain to Apple, you may have better chance than me and they may finally listen to their users....
-
Master Page Header and Footer in Page Viewer Web Part
Hi.
I created a View in Pages Library to view specific folders.
After that i added one Page Viewer web part to one of the aspx page.
There in the Page Viewer web part properties Link i have provided the url of the view.
It is displaying the folders but at the same time it is displaying the master page header and footer inside the web part.
Now i need to display the folders alone inside the Page Viewer web part.
Please let me know how to exclude the master page header and footer inside the Page Viewer web part?
Regards,
Sudheer
Thanks & Regards, SudheerI think that is the default behavior of the page viewer webpart.
In the page viewer web part,your just enter the url of the website.So that is treated as webpage and it is displaying as per page.
http://meritsolutions.com/meritmatters/archives/576-Displaying-a-File,-Folder-or-Web-Page-in-the-Page-Viewer-Web-Part.html
If you want to display a folder, type in a network path to that folder under Link and the folder content will be displayed.
Find the more details about page viewer webpart in msdn
http://office.microsoft.com/en-in/sharepoint-server-help/page-viewer-web-part-HA010024045.aspx -
How to generate Header and Trailer for a file
Hi Guru
How can we generate header and Trailer for a file
EX:
i want to generate header with date and trailer with record count from table.
Sample file :
20120120
fwsfs
adfwsfd
adff
afsadf
afdwsg
adgsg
adgsgg
asgdsag
sdgasgdaf
sdfsagfadf
10Hi ,
1.Create an interface to load data from oracle to file and set generate header as false option in IKM .
2.Create variable get_current_date of alphanumeric datatype and implement logic SELECT to_Char(SYSDATE,'yyyymmdd') FROM DUAL under refreshing tab
3.Create variable get_record_count of numeric datatype and implement logic SELECT '<%=odiRef.getPrevStepLog("INSERT_COUNT")%>' FROM DUAL under refreshing tab
4.Create a package
Drag the get_current_date variable ,
Drag odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A" #GET_current_date in command tab
Drag the interface
Drag another variable get_Record_count
Drag the odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" -APPEND "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A"
#GET_RECORD_COUNT in command tab
Link all these in sequence,save and run the package.
OR Modify the IKM SQL to File Append to achieve same functionality.
Thanks,
Anuradha -
How to do the header and trailer validation in the input file?
hi,
what are the ways we can validate whether header and trailer record exists in the input file?
how to do that?
regards
RubanFile to Proxy Validation
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2dd39dceaa0
/people/swaroopa.vishwanath/blog/2005/06/24/generic-approach-for-validating-incoming-flat-file-in-sap-xi--part-1
/people/swaroopa.vishwanath/blog/2005/06/29/generic-approach-for-validating-incoming-flat-file-in-sap-xi--part-ii
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
Maybe you are looking for
-
I am having trouble with MAIL not working. Can I put in the system disk and just install Mail again?? I tried to see if i could put it in the trash and it wouldn't do that. I didn't know if that was a good thing to do or not. I would appreciate any h
-
Nightly build version history?
Thank you for your help. I'm wondering if there is a webpage where version history for the nightly builds is posted. I'm often curious what has been addressed in each build. Also, what does cor-el stand for?
-
Unable to Publish to Mobileme on iPhone - Fix/Trick
I was unable to publish photos from my camera roll to mobileme on my iPhone until I figured out a trick to get it to work. I had to first enter a title and then choose the gallery after that. That seemed to work. When I chose the gallery and then ent
-
Email help still needed please
In my set up wizard, for email, I have only 2 options: 1. i want to use a work email account with a Blackberry Enterprise Server 2. I want to skip email set up. How do i therefore access email setup? I have a Pearl 8120. Thanks for help
-
My Creative Cloud is not opening
My Creative Cloud is not opening, it will either be a white screen or just my background