Error during housekeeping process

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

Moderator: Moderators

Error during housekeeping process

Postby shamdonk » Sun May 31, 2009 4:05 pm

There were errors during the housekeeping process:
Unable to execute query: VACUUM FULL;; Reason: Fatal Error (ERROR: failed to re-find parent key in index "pg_attribute_relid_attnum_index" for deletion target page 19 )

I am using windows 7 32 bit; PT was working fine before not sure what this error means.

Thanks for any help in advance.
shamdonk
 
Posts: 3
Joined: Sat Mar 08, 2008 6:50 pm

Re: Error during housekeeping process

Postby WhiteRider » Sun May 31, 2009 4:27 pm

There are two main reasons for this kind of error. The first is a result of data corruption from a computer crash that requires reindexing your database. You can reindex your database from the PostgreSQL command prompt. Click Start --> Programs --> PostgreSQL --> Command prompt. At the prompt that appears, type “reindexdb -a” and hit enter. Be aware that if you have large databases this may take a while, so be patient and wait for it to finish.
(If the re-index doesn't work because you are not logged in as user 'postgres' enter: "reindexdb -U postgres -a").

The second reason for this error is a result of faulty hardware. 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 --> Reload Configuration and PostgreSQL will ignore the damaged data. If you continue to have problems with that hard drive, you should consider replacing it.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Error during housekeeping process

Postby shamdonk » Sun May 31, 2009 5:13 pm

WhiteRider wrote:There are two main reasons for this kind of error. The first is a result of data corruption from a computer crash that requires reindexing your database. You can reindex your database from the PostgreSQL command prompt. Click Start --> Programs --> PostgreSQL --> Command prompt. At the prompt that appears, type “reindexdb -a” and hit enter. Be aware that if you have large databases this may take a while, so be patient and wait for it to finish.
(If the re-index doesn't work because you are not logged in as user 'postgres' enter: "reindexdb -U postgres -a").


Pardon my ignorance; once I open the command prompt I entered both "reindexdb -a" and "reindexdb -U postgres -a" each time I am prompted for my password but I cannot enter text. I can hit enter and it says the process failed because of password authentication. Am I missing something?
shamdonk
 
Posts: 3
Joined: Sat Mar 08, 2008 6:50 pm

Re: Error during housekeeping process

Postby WhiteRider » Sun May 31, 2009 5:29 pm

The default password is dbpass.
If that doesn't work, you can remove the need for postgres passwords: How To: Remove PostgreSQL Password.

You won't see what you're typing when entering the password (for security), so type carefully!
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests