ZFS Checksum Errors on Resilver
I'm currently running into a situation where one drive has gone offline due to too many errors, and one of my spares has been pulled in to my ZFS pool and ZFS is attempting to resilver onto that disk. However, there are checksum errors being generated on the spare disk during the resilver process. The resilver has now moved on to a second spare disk that it is attempting to use, and is, again, hitting checksum errors. I'm pretty sure I don't have three bad drives, and all of the rest of the drives in the pool (three others) are attached to the same FC connection and are not experiencing the same checksum errors.
This all started when my storage controller decided to reboot itself a few times, so I don't know if the pool needs a scrub or what. I'm half afraid to do the scrub for fear that it will find more "errors" and attempt to take ever more drives offline, which would be very bad for my data. Any suggestions on getting rid of these checksum errors, since I'm sure it isn't the drive, the storage controller, or the FC bus causing it? Something internal to ZFS...
Thanks,
Nick
Well, I'm not sure what was going on. I managed to finish the resilver, then use zpool clear to clear the errors on the original device. The zpool resilvered back to the original device without a problem. I'm doing a scrub, now, to make sure I don't have any bad data points or checksums actually written to the disk. I don't have the zpool output showing the checksum errors, anymore, but I do have the iostat output:
zfsmgr@zfs1:~$ iostat -En
c2t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: DELL Product: PERC 5/i Revision: 1.03 Serial No:
Size: 159.45GB <159450660864 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 123 Predictive Failure Analysis: 0
c4t112d7 Soft Errors: 0 Hard Errors: 3 Transport Errors: 0
Vendor: IFT Product: A08F-G2422 Revision: 348C Serial No:
Size: 999.93GB <999931576320 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 3 Recoverable: 0
Illegal Request: 14 Predictive Failure Analysis: 0
c4t112d5 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: IFT Product: A08F-G2422 Revision: 348C Serial No:
Size: 999.93GB <999931576320 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 3 Predictive Failure Analysis: 0
c4t112d4 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0
Vendor: IFT Product: A08F-G2422 Revision: 348C Serial No:
Size: 999.93GB <999931576320 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0
Illegal Request: 16 Predictive Failure Analysis: 0
c4t112d3 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: IFT Product: A08F-G2422 Revision: 348C Serial No:
Size: 999.93GB <999931576320 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c4t112d2 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: IFT Product: A08F-G2422 Revision: 348C Serial No:
Size: 999.93GB <999931576320 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 6 Predictive Failure Analysis: 0
c4t112d1 Soft Errors: 0 Hard Errors: 3 Transport Errors: 0
Vendor: IFT Product: A08F-G2422 Revision: 348C Serial No:
Size: 999.93GB <999931576320 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 3 Recoverable: 0
Illegal Request: 16 Predictive Failure Analysis: 0
c4t112d0 Soft Errors: 0 Hard Errors: 3 Transport Errors: 0
Vendor: IFT Product: A08F-G2422 Revision: 348C Serial No:
Size: 999.93GB <999931576320 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 3 Recoverable: 0
Illegal Request: 16 Predictive Failure Analysis: 0
c3t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HL-DT-ST Product: CDRW/DVD GCC4244 Revision: B101 Serial No:
Size: 0.68GB <677877760 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
Similar Messages
-
Zfs scrub took forever and generated many checksum errors
Hi,
I have one machine running Solaris 10 10/07 X86_64. It has been a few days since I started "zpool scrub <pool>", but scrub still hasn't made much progress (still at 1.79%). I wonder if the scrub operation will ever complete. On a 4TB file system, how long does "scrub" run to finish generally?
Also running scrub generated many checksum errors on many disks, is this normally expected? Or something is wrong with hardware?
Any advice how to make scrub run faster?
$ zpool status
pool: bigpool
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://www.sun.com/msg/ZFS-8000-9P
scrub: scrub in progress, 1.79% done, 27h51m to go
config:
NAME STATE READ WRITE CKSUM
bigpool ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c3t0d0 ONLINE 0 0 16
c3t1d0 ONLINE 0 0 14
c3t2d0 ONLINE 0 0 12
c3t3d0 ONLINE 0 0 16
c3t4d0 ONLINE 0 0 6
raidz1 ONLINE 0 0 0
c3t5d0 ONLINE 0 0 65
c3t6d0 ONLINE 0 0 66
c3t7d0 ONLINE 0 0 87
c3t8d0 ONLINE 0 0 87
c3t9d0 ONLINE 0 0 62
spares
c3t10d0 AVAIL
Simonwhat % of the 4tb is used? you could zpool scrub -s <pool> (prob know this..). zpool manpages has: "whereas scrubbing examines all
data to discover silent errors due to hardware faults or disk failure."
are you seeing any hw issues with disk controllers or disks themselves in /var/adm/messages since you say you have checksum errors? any fault lights on any disk or array in use? -
CMOS Checksum Error on MSI 785GM-E51
Hi, I have 2 years old MSI 785GM-E51. Approximately 2 - 3 months ago, my PC just go hang without any reasons, even the mouse / keyboard won't respond to anything.
After I reset, sometimes it's fine, but sometimes it's hang again, the interval is random. Sometimes it even hang when in the POST or when i enter BIOS setting.
After several restart, it's sometimes gives me CMOS Checksum Error, so I decided to reset the CMOS using jumper method. After that my PC just works normal.
Until a week ago, my pc start to hang randomly again, the symptom is similar but this time sometimes it's not hang, but the PC just restart immediately with black / white / blue random pattern
displayed momentarily on the screen. And it always display CMOS Checksum Error. I already tried reinstalling Windows, and updating BIOS via flash disk from Live Update 5, no use.
I already tried to plug out my VGA and using the onboard one, still crash / hang randomly. I also test Memtest overnight with passing 11 pass without error.
Is it my motherboard already dead? or it's my PSU? CPU?
Here is my complete specs:
AMD Phenom II X4 955BE
MSI 785GM-E51
DDR3 Dual Channel 4GB RAM (corsair, forgot the model)
Radeon 5770
WDC 1TB
WDC 1.5TB
Amacrox Free Style 650W
Thanks in advance.Quote
Yesterday i desperate enough and change some BIOS settings, and
surprisingly, the CPU is much cooler!
Try entering bios, hitting f6 for optimized defaults then save and exit. See if problem persists.
Quote
As far as I remember, no, the crash / hang time i remembered is when POST / boot / startup / browsing / install app / playing games / copy file.
And one more thing, when it hangs, it really hangs, not just the windows, sometimes it even not respond to reset button, so i have to power it off. But sometimes it respond
to reset button, but with quite a long delay, it could half a minute i think.
Have you tried re-seating the cpu,memory and all of the power connectors etc?
What are the amp ratings on the 12v rail of the PSU? I found this on thier website but dont have time to dig furthur: Quote
4-Channel 12V Rails Design
Although the VGA you list only needs 24a on a 12v rail.
Quote
what's cpuid / ram timings / spd? where i can look at it?
http://www.cpuid.com/
When the program opens, take a screen shot of the tab that describe how your ram is running, It will show the current timings,speed, single or dual channel. Also take a ss of the spd tab, which will show the jdec standards that apply to that ram and the xmp profile. Then post the SS's to imageshack or the link and link them. -
According to William Stanek, in his Windows Server 2012 R2 Inside Out: Configuration, Storage & Essentials book, this is apparently possible: (pg. 615 - here it is on Google Books: https://books.google.ca/books?id=0IyfBAAAQBAJ&pg=PT819&lpg=PT819&dq=read+operation )
Integrity can be enabled when the system is not running on Storage Spaces. When
integrity is enabled and ReFS detects a checksum mismatch, ReFS logs an event and
fails the read operation by default. If you don’t want the read operation to fail, you
can configure ReFS to continue with the read operation. A related event will be logged
regardless.
So then how do I configure it to do that???
(And just to make it super-clear, I'm NOT using Storage Spaces, so there is no redundancy via mirroring/parity, and I'm not expecting any file repair - just detection of corruption. It's just a basic volume formatted with ReFS and
with integrity streams enabled, via format E: /fs:ReFS /i:enabled
For those who want more details, here's the situation:
I try to perform a read operation on a file with corrupted data (purposely done for testing using a low-level disk editor), I get a the following error message:
And an event ID 133 from ReFSv1 gets logged in the System log:
Clicking "Try Again" just brings up the same message, and clicking "Skip" skips the operation entirely.
This is indeed the correct default behaviour.
What I want instead is for the read operation to be allowed to complete, with corrupt data and all, and ONLY for the event to be logged. And according to William Stanek, this is supposed to be configurable somewhere - and after hours of searching, I haven't
been able to find anything.Hi Tommy,
>>How can I configure ReFS to NOT fail read operations when a checksum error is detected
We can use PowerShell command Set-FileIntegrity to configure this. The specific parameter for controlling this behavior is
-Enforce <Boolean>which indicates whether to enable blocking access to a file if integrity streams do not match the data.
Regarding this point, the following article can be referred to as reference.
Set-FileIntegrity
https://technet.microsoft.com/en-us/library/jj218351.aspx
Best regards,
Frank Shen
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Hello consultant:
We are trying configurated SSO usind SPNEGO module
We have a portal 7.0 ehp1 and Active Directory Microsoft versión 2003 native
we have followed the steps described in note Sap 1457499"Note 1457499 - SPNego add-on"
When we have logged with user Active Directory and we try access to portal we obtain following error:
Authorization check user error
We have Deploy the Web diagtool from SAP Note 1045019 on the J2EE server, run it and perform the
following steps:
1. Select "Component" = "security" and "Activity" = "all"
2. Click the "Go" button, followed by the "Add All" button
3. Select "Component" = "All" and in the "Search pattern" field write "com.sap.security.spnego"
4. Click the "Go" button, followed by the "Add All" button
5. Start the tool
Then we have reproduce the problem and stop the tool. The generated zip file will contain following error:
15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~p.security.spnego.krb5.crypto.DesCrypto Checksum error! checksum: 0xc46bfed8d0dbc54221ee75405c8cd5ac; calculated checksum: 0x6ead7e801608b729a6957597327f2ba5
15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~m.sap.security.spnego.SPNEGOLoginModule Could not validate SPNEGO token.
java.lang.Exception: Checksum error.
at com.sap.security.spnego.krb5.crypto.DesCrypto.decrypt(DesCrypto.java:43)
at com.sap.security.spnego.krb5.KrbEncryptedData.decrypt(KrbEncryptedData.java:81)
at com.sap.security.spnego.krb5.KrbApReq.decrypt(KrbApReq.java:67)
at com.sap.security.spnego.SPNEGOLoginModule.parseAndValidateSPNEGOToken(SPNEGOLoginModule.java:234)
at com.sap.security.spnego.SPNEGOLoginModule.processAuthorizationHeader(SPNEGOLoginModule.java:385)
at com.sap.security.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:102)
at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:912)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:181)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Could you help us?
Many thanks for your collaboration<< Do not post the same question across a number of forums >>
-
Apex 2.2.1- error in editing a report withIE 6: ORA-20001- Checksum error
Hi all,
I'am getting an Error when I try to edit a report with Internet Explorer 6: ORA-20001-...- Checksum error.
With Firefox it works fine.
Customer is using IE as standard browser and Firefox is not available here.
Any Ideas?
KazimI had to apply Patch 4554072, provided with APEX.
This patch is available in the directory patch\bug4554072.
Kazim -
Copy files between pcs - checksum error
Scenario:
- Two PCs (A and B) in a small LAN.
- Computer A runs a NFS and a FTP server. I can transfer file from A to B mounting the nfs exported directories or downloading them via FTP.
- The files can reside in ext3 or xfs partitions, on different drives, in A and they are being copied to B in ext3 or xfs partitions, again on different drives.
- Drives and filesystems are healthy (knock on wood).
I download a given file along with its checksum file (md5 or sfv format), from internet on A: the checksum check using cfv (tried even md5sum) says it's allright.
Then I copy the file on B (via FTP or NFS - it doesn't matter), check it again and I have an error ("bad crc"). Sometimes for the file I download, there's a torrent: if I use the torrent file and check the integrity of the downloaded file (with ktorrent or gtorrentviewer), I find that there's a missing piece.
The above happens random, not always and not with all files.
A really strange thing is that, if I mount A's exported directory in B and if I run the checksum check from B, I also get an error (as said above, if I check the file directly on A, it's good).
I can't remember when this started - in your opinion, where should I look for solving this?I dont really understand the torrent part of the story.
Sorry - I wasn't that much clear and my english doesn't help
A torrent file can be used for an integrity check of the file: not only it reports if the checksum is right or wrong, but - in this latter case - it can tell you that there are missing pieces in the file and how many.
Hmm and it sounds like pc B isnt that healthy
I checked for filesystem sanity in both PCs, and I also run the Seagate diagnostic tool on both of them. The chance that 4 hard disk are failing at the same time in the same PC is negligible. Anyway, I'm open to suggestions here - maybe it's an hardware issue, but I don't think it's related to the hard disks.
what if you try it with an usb stick ??
I'll try copying files to an external drive and to another PC - thanks for the idea
try to check the size of the file you copy if there are both equal.
They aren't - otherwise I won't get that checksum error. The difference is usually small, though - only a few kbytes: it seems to me that the copy process doesn't end properly. -
Solaris 10 express developer ed. dvd checksum error
Hi,
I downloaded the solaris 10 express developer ed. dvd. I used Sun Download manager for the download. the file e had checksum error. Hence the DVD contains checksum error. Is there any way we could correct the download without the need re-download the entire file. Other files ending a,b,c,e dont have this problem. Am i the only one getting this problem or is it a known issue?
with regards,
ashwinSorry there is no real way to solve this other than downloading the last segment of the file.
-
Checksum error in Manual Tabular Form
Hi everyone,
I have created 2 (manual tabular forms) on a same page but i am getting checksum error for one of the tabular form.
Here is my code:
1 st Tabular Form:
select
x.del,
x.ECGEXST_ID,
x.LEAD_CD,
x.ST_ID,
x.ENTERED_DTS,
X.ENTERED_BY_NM,
X.UPDATED_DTS,
X.UPDATED_BY_NM,
x.cks
from (
select
htmldb_item.checkbox(1,ECGEXST_ID) del,
htmldb_item.hidden(2,ECGEXST_ID) ECGEXST_ID,
htmldb_item.select_list_from_query (3, LEAD_CD,'select lead_cd , lead_cd from lslead order by display_seq ',15) LEAD_CD,
htmldb_item.select_list_from_query(5,ST_ID,'select lkup_dsc,lkup_id from lkup where lkup_grp_id = 17',25) ST_ID,
wwv_flow_item.display_and_save(6,to_char(ENTERED_DTS,'MM/DD/YYYY')) ENTERED_DTS,
au.LAST_NM || ', ' || au.FIRST_NM ENTERED_BY_NM,
wwv_flow_item.display_and_save(7,to_char(UPDATED_DTS,'MM/DD/YYYY')) UPDATED_DTS,
au1.LAST_NM || ', ' || au1.FIRST_NM UPDATED_BY_NM,
htmldb_item.md5_checksum(ECGEXDT_ID,LEAD_CD,ST_ID,ENTERED_DTS,ENTERED_BY_MSPR_ID) cks
from ECGEXST,
app_user au,app_user au1 where au.MSPR_ID(+) = ECGEXST.ENTERED_BY_MSPR_ID and au1.MSPR_ID(+) = ECGEXST.UPDATED_BY_MSPR_ID
and ECGEXDT_ID = :P65_ECGEXDT_ID
union all
select
htmldb_item.checkbox(1,null) del,
htmldb_item.hidden(2,null) ECGEXST_ID,
htmldb_item.select_list_from_query (3,null,'select lead_cd , lead_cd from lslead order by display_seq ',15) LEAD_CD,
htmldb_item.select_list_from_query(5,null,'select lkup_dsc,lkup_id from lkup where lkup_grp_id = 17',25) ST_ID,
wwv_flow_item.display_and_save(6,null) ENTERED_DTS,
null ENTERED_BY_NM,
wwv_flow_item.display_and_save(7,null) UPDATED_DTS,
null UPDATED_BY_NM,
htmldb_item.md5_checksum(null,null,null,null,null) cks
from dual) x
UPDATE PROCESS:
declare
l_cks wwv_flow_global.vc_arr2;
j pls_integer := 1;
val1 varchar2(100);
val2 varchar2(100);
begin
-- Get original MD5 checksum
select wwv_flow_item.md5(ECGEXDT_ID,LEAD_CD,ST_ID,ENTERED_DTS,ENTERED_BY_MSPR_ID) cks
BULK COLLECT INTO
l_cks
from ECGEXST where ECGEXDT_ID = :P65_ECGEXDT_ID;
-- Compare the original checksum, l_cks,
-- with submitted checksum, htmldb_application.g_fcs.
-- If they are different, raise an error.
for i in 1..l_cks.count
loop
if htmldb_application.g_fcs(i) != l_cks(i) then
rollback;
raise_application_error(
-20001,
'Current version of data in database has changed '||
'since user initiated update process.');
-- return;
end if;
end loop;
-- update ECGRSTST
for i in 1..htmldb_application.g_f02.count
loop
if htmldb_application.g_f02(i) is not null then
update ECGEXST
set
ECGEXDT_ID = :P65_ECGEXDT_ID,
LEAD_CD = replace(htmldb_application.g_f03(i),'%'||'null%',NULL),
ST_ID = replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
where ECGEXST_ID = htmldb_application.g_f02(i);
else
if htmldb_application.g_f03(i) is not null then
insert into ECGEXST
(ECGEXST_ID ,
ECGEXDT_ID,
LEAD_CD,
ST_ID)
values
(ECGEXST_SEQ.nextval,
:P65_ECGEXDT_ID,
replace(htmldb_application.g_f03(i),'%'||'null%',NULL),
replace(htmldb_application.g_f05(i),'%'||'null%',NULL));
end if;
end if;
end loop;
end;
The first tabular form is working fine.But for the second tabular form i am getting the checksum error.I have created a test table and checked the checksum values.The checksum values are changing.
Here is the code of my 2nd tabularform:
select
x.del,
x.ECGEXT_ID,
x.LEAD_CD,
x.T_ID,
x.ENTERED_DTS,
X.ENTERED_BY_NM,
X.UPDATED_DTS,
X.UPDATED_BY_NM,
x.cks
from (
select
htmldb_item.checkbox(11,ECGEXT_ID) del,
htmldb_item.hidden(12,ECGEXT_ID) ECGEXT_ID,
htmldb_item.select_list_from_query (13, LEAD_CD,'select lead_cd , lead_cd from lslead order by display_seq ',15) LEAD_CD,
htmldb_item.select_list_from_query(15,T_ID,'select lkup_dsc,lkup_id from lkup where lkup_grp_id = 18',25) T_ID,
wwv_flow_item.display_and_save(16,to_char(ENTERED_DTS,'MM/DD/YYYY')) ENTERED_DTS,
au.LAST_NM || ', ' || au.FIRST_NM ENTERED_BY_NM,
wwv_flow_item.display_and_save(17,to_char(UPDATED_DTS,'MM/DD/YYYY')) UPDATED_DTS,
au1.LAST_NM || ', ' || au1.FIRST_NM UPDATED_BY_NM,
htmldb_item.md5_checksum(ECGEXDT_ID,LEAD_CD,T_ID,ENTERED_DTS,ENTERED_BY_MSPR_ID) cks
from ECGEXT,
app_user au,app_user au1 where au.MSPR_ID(+) = ECGEXT.ENTERED_BY_MSPR_ID and au1.MSPR_ID(+) = ECGEXT.UPDATED_BY_MSPR_ID
and ECGEXDT_ID = :P65_ECGEXDT_ID
union all
select
htmldb_item.checkbox(11,null) del,
htmldb_item.hidden(12,null) ECGEXT_ID,
htmldb_item.select_list_from_query (13,null,'select lead_cd , lead_cd from lslead order by display_seq ',15) LEAD_CD,
htmldb_item.select_list_from_query(15,null,'select lkup_dsc,lkup_id from lkup where lkup_grp_id = 18',25) T_ID,
wwv_flow_item.display_and_save(16,null) ENTERED_DTS,
null ENTERED_BY_NM,
wwv_flow_item.display_and_save(17,null) UPDATED_DTS,
null UPDATED_BY_NM,
htmldb_item.md5_checksum(null,null,null,null,null) cks
from dual) x
UPDATE PROCESS:
declare
l_cks wwv_flow_global.vc_arr2;
j pls_integer := 1;
val1 varchar2(100);
val2 varchar2(100);
begin
-- Get original MD5 checksum
select wwv_flow_item.md5(ECGEXDT_ID,LEAD_CD,T_ID,ENTERED_DTS,ENTERED_BY_MSPR_ID) cks
BULK COLLECT INTO l_cks
from ECGEXT where ECGEXDT_ID = :P65_ECGEXDT_ID;
-- Compare the original checksum, l_cks,
-- with submitted checksum, htmldb_application.g_fcs.
-- If they are different, raise an error.
for i in 1..l_cks.count
loop
if htmldb_application.g_fcs(i) != l_cks(i) then
-- val1 := htmldb_application.g_fcs(i);
-- val2 := l_cks(i);
-- insert into test2 (val_1,val_2) values (val1,val2);
rollback;
raise_application_error(
-20001,
'Current version of data in database has changed '||
'since user initiated update process.');
return;
end if;
end loop;
-- update ECGRSTST
for i in 1..htmldb_application.g_f12.count
loop
if htmldb_application.g_f12(i) is not null then
update ECGEXT
set
ECGEXDT_ID = :P65_ECGEXDT_ID,
LEAD_CD = replace(htmldb_application.g_f13(i),'%'||'null%',NULL),
T_ID = replace(htmldb_application.g_f15(i),'%'||'null%',NULL)
where ECGEXT_ID = htmldb_application.g_f12(i);
else
if htmldb_application.g_f13(i) is not null then
insert into ECGEXT
(ECGEXT_ID ,
ECGEXDT_ID,
LEAD_CD,
T_ID)
values
(ECGEXT_SEQ.nextval,
:P65_ECGEXDT_ID,
replace(htmldb_application.g_f13(i),'%'||'null%',NULL),
replace(htmldb_application.g_f15(i),'%'||'null%',NULL));
end if;
end if;
end loop;
end;
please help me in solving this.The same code its good for one tabular form and for the other it giving the checksum error.
Thanks in advance
phaniHi patrick,
Thanks for the reply i am getting the checksum error even if i used my primary key in the select statement of the MD5 checksum.
My primary key in the second tabular form is
htmldb_item.hidden(12,ECGEXT_ID) ECGEXT_ID
so i changed the process to:
for i in 1..htmldb_application.g_f12.count
loop
if htmldb_application.g_f12(i) is not null
then
select wwv_flow_item.md5(ECGEXDT_ID,LEAD_CD,T_ID,ENTERED_DTS,ENTERED_BY_MSPR_ID) cks
BULK COLLECT INTO l_cks
from ECGEXT where ECGEXT_ID = htmldb_application.g_f12(i);
-- Compare the original checksum, l_cks,
-- with submitted checksum, htmldb_application.g_fcs.
-- If they are different, raise an error.
if htmldb_application.g_fcs(i) != l_cks(i) then
-- val1 := htmldb_application.g_fcs(i);
-- val2 := l_cks(i);
-- insert into test2 (val_1,val_2) values (val1,val2);
rollback;
raise_application_error(
-20001,
'Current version of data in database has changed '||
'since user initiated update process.');
end if;
end if;
end loop;
It's not possible to use BULK COLLECT to get the MD5 checksum of all >>>rows. Because the index positions in the MD5 array and the >>>apex_application.g_fxx array index will probably not match, especially if you >>>don't order or if you are on a second page.How come the first tabular form is running i used the bulk collect in the first tabular form
HERE IS THE CODE FOR THE FIRST TABULAR FORM:
-- Get original MD5 checksum
select wwv_flow_item.md5(ECGEXDT_ID,LEAD_CD,ST_ID,ENTERED_DTS,ENTERED_BY_MSPR_ID) cks
BULK COLLECT INTO
l_cks
from ECGEXST where ECGEXDT_ID = :P65_ECGEXDT_ID;
-- Compare the original checksum, l_cks,
-- with submitted checksum, htmldb_application.g_fcs.
-- If they are different, raise an error.
for i in 1..l_cks.count
loop
if htmldb_application.g_fcs(i) != l_cks(i) then
rollback;
raise_application_error(
-20001,
'Current version of data in database has changed '||
'since user initiated update process.');
-- return;
end if;
end loop; -
when i boot (or try to) i get an error that says checksum error system defaults loaded...and then i can get into bios...after i restart the computer just spins fans and nothing else happens...i dont understand this because i just built two identical computers and one of them works...my psu is 400w...
mobo - k7n420
cpu - athlon xp 2100+
psu - 400w
ram - 128ddr kingston (Value bleh...)
geforce 4 4200
turtle beach santa cruzya - but half the time i cant get into the bios...
the leds in the back are on chipset initializing...and it just freezes there...
i dont get this i built the identical computer for my cousin and his works perfectly... :( -
I have been running a dbxml database for about 18 months now and recently (in last 2 weeks) I have been getting the following error message:
dbxml- getDocument c0104
1 documents found
dbxml- print
checksum error: page 4950: catastrophic recovery required
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
projectDatabase.dbxml: pgin failed for page 4950
stdin:3: print failed, Error: DB_RUNRECOVERY: Fatal error, run database recovery
dbxml- exit
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
PANIC: fatal region error detected; run recovery
Container - DB error during database close: -30974
File handles still open at environment close
Open file handle: projectDatabase.dbxml
Open file handle: log.0000025440
PANIC: fatal region error detected; run recovery
db_recover -c -P 0625g7Ui3 -f
recovery 85% complete
Running recovery does not make a difference. The only way to recover is to copy the replication client DB (which does not have these errors) to the master and restart the application. It only seems to affect random documents in the DB. All of the ones affected have not been modified in many weeks to months (they have been read but not written to in this time). Has anyone encountered this before? Does this indicate a hardware issue?
DougA check of our raid disks found parity errors at the time of the failures.
Thanks for your help.
Doug -
Checksum Error after downloading
Hi, I purchased as a bundle both Adobe Elements 10 and Photoshop Elements together at the half price special. Adobe Elements 10 installed just fine with serial number provided for me...however
Photoshop Elements downloads and upon completion a pop-up window states that "unable to verify, checksum error" and only thing I can do then is to cancel the whole thing. I've tried both download procedures with the same result, failure to get my Photoshop Elements installed due to checksum error...any suggestions?
thanksAll you can do is try downloading again from the Adobe Web site. Use IE, if you're using a different browser.
Ken -
ERROR -- Checksum error for Hidden and Protected item ID
Hello all,
I usually get the error:
Checksum error for Hidden and Protected item ID (10785219011206310), value (on), posted checksum (C1DEF33B4C8D57845151B7D18363B3D7), expected checksum (********************************), index_i (3), index_j (2), index_m (1);
I have already found one thread with this question - Checksum error for Hidden and Protected item ID
but there are no answers to this problem.
Any thoughts how to solve this and what is causing it??
Regards Pedro.Pedro,
Read under the improved security section in the below article.
http://www.oracle.com/technology/products/database/application_express/html/3.1_new_features.html
I used to receive the same error because I was trying to update the value of the hidden and protected item on the same page repeatedly.
I changed the item type to hidden to avoid the error.
Hope this helps,
Dippy -
Checksum error for Hidden and Protected item ID
Hi,
I created an icon which is called 'Find an employee'. When a clicked on that icon, it shows employee id and employee name. And near these names there is a select button. But, it gives the following error:
Checksum error for Hidden and Protected item ID (1558647128276141385), value (KING ), posted checksum (3F6EC88428199012945F76490A29168B), expected checksum (********************************), index_i (4), index_j (3), index_m (3);
Is there anyone who knows the reason of this error?
Regards,
Edited by: user13385266 on 23-Jul-2010 06:00Erro Checksum error for Hidden and Protected item ID (1118508917223363)
Edited by: taylor gao on 2011-1-13 下午6:26 -
Checksum error for Hidden and Protected item
I have a region with 3 items - a Text field, a Text area and a Hidden and Protected item. When clicking on the save button the record should be written to the table. However I get the following error:
++Checksum error for Hidden and Protected item ID (7676217916943303), value (), posted checksum (1060941776BCEA7DDAE813A442DF01E3), expected checksum (********************************), index_i (8), index_j (1), index_m (3);++
When I change the hidden and protected field to a regular text field I am able to successfully process the page.
Do I have to do anything different when I have a hidden and protected field? Would appreciate any suggestions/comments to help resolve this issue.
Regards,
GhaziIf you have client-side code that changes the value of a "Hidden and Protected" item after the item/value has been emitted to the page by Application Express, you need to change the item type to Hidden, instead.
Scott
Maybe you are looking for
-
File.execute() not working for bat file
Dear all, The purpose of my function copyToWinClipboard (text) is to get a string directly into the Windows Clipboard. The purpose is to allow the user of my project just to paste into the open-dialog of the application EndNote. I'm not certain wheth
-
Photosmart b110a only prints in black and white
Hi i've got a photosmart b110a which copies and scans in colour, but will only print out from my imac in black and white. Does anyone have the same problem and hopefully the answer
-
Does Apple make a wireless pci card for the G5?
I have a new Airport Extreme base station, but my PowerMac G5 still has the old airport pci card. Does Apple make an "n" pci card that I can use to swap out my old wireless card?
-
IDOC-FILE {A new Line auto Created at app server in file after mapping }
Hi. In my 2/3 objects based on Idoc to file scenario. when i send idoc... ( having n entries ) and the created file at recieciving system has n records but problem is that a new line is inserted after n record
-
PlayBook bridge & os version.
two questions. 1. Is there any way to read/send SMS trough the bb bridge? will it be? 2. is there any site to see the diffrent between the old OS and the new when i update my playbook? Just information about the OS version so to speak! Thanks alot fo