免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5419 | 回复: 0

postgresql启动时遇到一个post_create错误? [复制链接]

论坛徽章:
0
发表于 2008-04-08 15:26 |显示全部楼层
5可用积分
症状:
启动postgresql的时候是失败的.
系统提示的是这个错误,kernel:post_create:setxattr failed,rc=28(dev=hda3 ino=634205)

环境:
虚拟机装了redhat as4
linux kernel 2.6.9-42.EL
postgresql8.14
resin3.0
jdk1.5

LOG:
这个是postgresql-2008-04-02_100233.log
LOG:  database system was shut down at 2008-04-02 10:02:31 EDT
LOG:  checkpoint record is at 0/33A70C
LOG:  redo record is at 0/33A70C; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 565; next OID: 10794
LOG:  next MultiXactId: 1; next MultiXactOffset: 0
LOG:  database system is ready
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
ERROR:  database "jasinda" does not exist
ERROR:  database "jasindadetail" does not exist
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
LOG:  received fast shutdown request
LOG:  shutting down
LOG:  database system is shut down
LOG:  logger shutting down

postgresql-2008-04-02_100242.log
LOG:  database system was shut down at 2008-04-02 10:02:40 EDT
LOG:  checkpoint record is at 0/33BACC
LOG:  redo record is at 0/33BACC; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 576; next OID: 16387
LOG:  next MultiXactId: 1; next MultiXactOffset: 0
LOG:  database system is ready
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
ERROR:  role "jasinda" already exists
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
LOG:  transaction ID wrap limit is 2147484146, limited by database "postgres"
LOG:  received fast shutdown request
LOG:  shutting down
LOG:  database system is shut down
LOG:  logger shutting down
这2个是发生错误以前的最后2个LOG.在/var/log/message里面也看不到其他任何的信息.就只是看到
service postgresql failed.

措施:
1.用top,和ps -aux查看是否有postmaster的进程
2.去/var/lib/pgsql/data/里面也没有发现postmaster.pid的文件..

变化:
最近这一段时间都没做什么操作.在4月3号还是可以照常访问的,但是有一次非法重起了.就造成了这种错误.

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP