Vacuum Full (ERROR: could not read block)

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Vacuum Full (ERROR: could not read block)

Postby mukzr » Sun Apr 19, 2009 2:13 pm

Hi guys. wanted to do housekeeping for my 2 DB's today. housekeeping the 1st database was no problem, but i wasnt able to vacuum the 2nd DB... cluster, analyze and update cache did work... but not VACUUM FULL

here is the error message:

There were errors during the housekeeping process:
Unable to execute query: VACUUM FULL;; Reason: Fatal Error (ERROR: could not read block 1291213 of relation 1663/17096/17229: Invalid argument )


and the image of the error:

[ img ]

Any solutions for this problem?!

Regards
mukzr
 
Posts: 6
Joined: Wed Sep 03, 2008 6:12 pm

Re: Vacuum Full (ERROR: could not read block)

Postby kraada » Mon Apr 20, 2009 10:23 am

This issue may be the result of faulty hardware or a system crash. You can set PostgreSQL to ignore these errors by clicking Start --> Programs --> PostgreSQL --> Configuration Files --> Edit postgresql.conf. In the configuration file that appears, go to the bottom of the file and add the text "zero_damaged_pages = on" on a new line and then save and close the file. Click Start --> Programs --> PostgreSQL --> Stop Service and then Start --> Programs --> PostgreSQL --> Start Service and PostgreSQL will ignore the damaged data.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Vacuum Full (ERROR: could not read block)

Postby mukzr » Mon Apr 20, 2009 10:52 am

hey kraada... thank you for this hint. but do you know, if after this edit, i can use this database for spadeeye !? now, the DB does not work with spadeye (the other DB do) but do you know if after caching the DB will work with spadeye?!

regards
mukzr
 
Posts: 6
Joined: Wed Sep 03, 2008 6:12 pm

Re: Vacuum Full (ERROR: could not read block)

Postby kraada » Mon Apr 20, 2009 12:25 pm

I can't see why that change should make the database not work with SpadeEye, unless the database damage was in the SpadeEye's own tables, in which case re-running the SpadeEye caching process should fix that for you.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests