errors during housekeeping

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

Moderator: Moderators

errors during housekeeping

Postby Twizz » Sun Apr 05, 2009 3:55 pm

When trying to cluster my database I get the following error.

There were errors during the housekeeping process

Unable to execute query: CLUSTER;; Reason: Fatal error (ERROR: could not open segment 1 of relation ..... no such file or directory).

When digging into this with PGAdmin. Trying to backup the data and restore it into another db, there seem to be some missing tables. I haven't noticed any problems within PT, but there seem to be some prlbmes when I try to restore the database from PGAdmin. I get a lot of TOC errors for creating tables and indexes.

As I said, PT3 is working fine, but I still want to get rid of this problem. Any suggestions as to how I can repair the db?

Running pt3 latest beta (26).
Twizz
 
Posts: 19
Joined: Mon Feb 04, 2008 3:41 pm

Re: errors during housekeeping

Postby WhiteRider » Sun Apr 05, 2009 6:17 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: errors during housekeeping

Postby Twizz » Sun Apr 05, 2009 8:33 pm

Reindexing worked, thank you.
Twizz
 
Posts: 19
Joined: Mon Feb 04, 2008 3:41 pm


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests