`
haoliyouyo
  • 浏览: 26620 次
  • 性别: Icon_minigender_2
  • 来自: 大连
社区版块
存档分类
最新评论

[总结]PostgreSQL服务启动又停止的解决方法

 
阅读更多

  安装PostgreSQL数据库8.3版本后,启动数据库服务,却弹出提示服务启动后又停止,一些服务自动停止,如果他们没有什么可做的,例如性能日志和警报服务。这个时候需要查看事件查看器的报错消息。
  1.当错误为could not create inherited socket,错误编码为10022。解决方法为运行netsh winsoc reset。然后重启服务即可。
  2.当错误为could not load server certificate file "server.crt":No such file or directory。解决方法为查询其配置文件postgresql.conf文件中的ssl,使其为off。
  3.错误为postgres cannot access the server configuration file "D:/Program Files/PostgreSQL/8.4/data/postgresql.conf": No such file or directory。解决方法为在电脑本地文件夹中查找该配置文件。
  如果再遇到该类问题,会继续补充。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics