免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3189 | 回复: 1
打印 上一主题 下一主题

求救!!!机器突然断电,postgres回滚出现错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-01-25 21:38 |只看该作者 |倒序浏览
请问下面的问题如何解决:sco unix 5.0.5环境,postgres7.3
   突然断电, 数据库不能启动了
[/usr/postgres/data]=>;pg_ctl start
LOG: database system was interrupted being in recovery at 2005-01-18 17:40:06 CST
This probably means that some data blocks are corrupted
and you will have to use the last backup for recovery.
LOG: checkpoint record is at 0/7C19E64C
LOG: redo record is at 0/7C19E64C; undo record is at 0/0; shutdown FALSE
LOG: next transaction id: 3041910; next oid: 1019812
LOG: database system was not properly shut down; automatic recovery in progress
postmaster successfully started
[/usr/postgres/pgsql/data]=>;LOG: redo starts at 0/7C19E68C
PANIC: Invalid page header in block 1648 of 18548
LOG: startup process (pid 681) was terminated by signal 6
LOG: aborting startup due to startup process failure

论坛徽章:
0
2 [报告]
发表于 2005-02-09 00:54 |只看该作者

求救!!!机器突然断电,postgres回滚出现错误

做过vacuum了吗?一般断电后需要做vacuum把数据库整理一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP