免费注册 查看新帖 |

Chinaunix

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

postgresql数据库开机无法启动,或者启动后立刻关闭,不知如何查找原因 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-13 17:46 |只看该作者 |倒序浏览
如题!

论坛徽章:
0
2 [报告]
发表于 2008-02-13 21:01 |只看该作者

回复 #1 youth_y 的帖子

1.若是系统自带的PGSQL,请把/var/lib/pgsql/data/logfile的内容贴出来看看;
2.若是自己编译安装的PGSQL,请把/usr/local/pgsql/data/logfile内容贴出来看看。

[ 本帖最后由 linuxdee 于 2008-2-13 21:04 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2008-02-14 10:49 |只看该作者
LOG:  database system was interrupted at 2008-02-08 11:30:08 EST
LOG:  checkpoint record is at 0/523BC0C
LOG:  redo record is at 0/523BC0C; undo record is at 0/0; shutdown FALSE
LOG:  next transaction id: 15285; next oid: 336464
LOG:  database system was not properly shut down; automatic recovery in progress
LOG:  redo starts at 0/523BC4C
LOG:  ReadRecord: record with zero length at 0/5242D3C
LOG:  redo done at 0/5242D18
LOG:  database system is ready
LOG:  database system was interrupted at 2008-02-08 11:46:46 EST
LOG:  checkpoint record is at 0/5257EB8
LOG:  redo record is at 0/5257EB8; undo record is at 0/0; shutdown FALSE
LOG:  next transaction id: 15597; next oid: 344656
LOG:  database system was not properly shut down; automatic recovery in progress
LOG:  ReadRecord: record with zero length at 0/5257EF8
LOG:  redo is not required
LOG:  database system is ready
LOG:  database system was interrupted at 2008-02-08 11:56:41 EST
LOG:  checkpoint record is at 0/5257EF8
LOG:  redo record is at 0/5257EF8; undo record is at 0/0; shutdown TRUE
LOG:  next transaction id: 15597; next oid: 344656
LOG:  database system was not properly shut down; automatic recovery in progress
LOG:  ReadRecord: record with zero length at 0/5257F38
LOG:  redo is not required
LOG:  database system is ready
LOG:  recycled transaction log file 0000000000000005
LOG:  recycled transaction log file 0000000000000006
LOG:  recycled transaction log file 0000000000000007
ERROR:  Attribute "br_name" not found
LOG:  recycled transaction log file 0000000000000008

论坛徽章:
0
4 [报告]
发表于 2008-02-14 10:52 |只看该作者
这不是当时的机器logfile,因为特殊原因那台机器已经被格了,就是不懂这些代码什么意思,谢谢指教!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP