error_message

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

error_message

Postby sofalvi100 » Mon Jan 24, 2011 5:01 am

hello,

one day I've got an error message:

Fatal Exception during Auto-Import process: Unable to execute query: INSERT INTO player VALUES (0, 0, '[Split Pot]', '[Split Pot]', 0, 0, 0, FALSE);; Reason: Fatal Error (ERROR: invalid page header in block 95 of relation "player" )

i don't know what the solution can be...
please write me some advises, if you know how I should fix the problem.

thanks
sofalvi100
 
Posts: 2
Joined: Mon Jan 24, 2011 4:37 am

Re: error_message

Postby kraada » Mon Jan 24, 2011 9:48 am

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 Database Management window - it may take a while but shouldn't take more than an hour or two unless your database is very large.

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.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: error_message

Postby sofalvi100 » Tue Jan 25, 2011 4:50 am

hi kraada,

the second solution really good...
the system is working now again

thanks for the quick answer
sofalvi100
 
Posts: 2
Joined: Mon Jan 24, 2011 4:37 am

Re: error_message

Postby WhiteRider » Tue Jan 25, 2011 7:25 am

Kraada isn't here today, but thanks for letting us know.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 41 guests

cron