跳至內容
選單
此問題已被標幟
2 回覆
14361 瀏覽次數

Hi there,

When selecting Financials a window is opened with the OpenERP Server Error: InternalError: index "ir_translation_src_hash_idx" contains unexpected zero page at block 84 HINT: Please REINDEX it.

Does anybody knows how this can be done? Is there a tool which I can do this?

頭像
捨棄

So how did you solve this?

最佳答案

You have some database corruption, but probably nothing to worry about. The error report is telling you what you should do . . . use REINDEX.

However, before anything you should use pg_dump to get a text backup copy of your entire database.

Then log in to postgres as admin with psql and run the command REINDEX INDEX ir_translation_src_hash_idx

Just Google it for more details : https://www.google.com/search?q=index+contains+unexpected+zero+page+at+block+HINT%3A+Please+REINDEX+it

If you still have problems after that, try pg_restore with the text backup to a new database and see if that one works. I'm confident it will.

頭像
捨棄
作者

Thanks, pgadminIII and a Reindex did the trick.

I'm glad I was able to help.

最佳答案

GUI method:

Run pgAdmin3, open database-Schemas-public-Tables-ir_translation-Indexes- right click: ir_translation_src_hash_idx - Maintenance.. REINDEX(by default) - OK!

頭像
捨棄

Excelent information !!!!!

相關帖文 回覆 瀏覽次數 活動
1
12月 24
3834
0
11月 24
1593
2
7月 24
3223
0
4月 24
2108
3
3月 24
1987