Chinaunix首页 | 论坛 | 博客
  • 博客访问: 777980
  • 博文数量: 94
  • 博客积分: 1238
  • 博客等级: 少尉
  • 技术积分: 1174
  • 用 户 组: 普通用户
  • 注册时间: 2011-08-13 19:22
个人简介

走自己的路让别人说去吧!

文章分类

全部博文(94)

文章存档

2015年(4)

2014年(3)

2013年(12)

2012年(32)

2011年(43)

分类: LINUX

2011-10-23 09:01:20

 su 到 postgres身份启动postgreSQL
 执行命令postmaster -i -D ~/data &
 提示下面错误:
  HINT:  If you're sure there are no old server processes still running, remove the shared memory block with the command "ipcclean", "ipcrm", or just delete the file "postmaster.pid".
 经过查询解决方法:
  由于非法关机的时,postgresql运行进程的pid文件没有删除,而重新启动之后,在启动postgresql服务的时候,由于postgresql查询到pid文件的存在,以为服务已经启动起来了,为了不重新加载就不再启动,
直接把那个pid文件删除掉之后,正常运行。
执行[root@photos ~]# rm -rf /home/postgre/data/postmaster.pid
阅读(8838) | 评论(0) | 转发(0) |
0

上一篇:PPTP 与L2TP

下一篇:设置SELinux状态

给主人留下些什么吧!~~