Postgres Plus AS 8.3R2 服务无法启动

EnterpriseDb –window 启动失败

Postgres Plus AS 8.3R2 服务无法启动  点击查看原图

htmlclip1\01\clip_image001.png">

 

查看日志文件没有提示:

通过使用 pg_ctl

cd C:\PostgresPlus\8.3R2AS\dbserver\bin

pg_ctl start –w –D C:\PostgresPlus\8.3R2AS\data -s -l C:\PostgresPlus\8.3R2AS\data\dbserver_logs\happymen20100729.txt

happymen20100729.txt 显示:

2010-07-29 11:45:32 LOG: 

    

     ** EnterpriseDB Dynamic Tuning Agent ********************************************

     *       System Utilization: 100%                                                *

     *         Database Version: 8.3.0.106                                           *

     * Operating System Version: Windows_NT                                          *

     *     Number of Processors: 2                                                   *

     *           Processor Type: x86 Family 6 Model 15 Stepping 13, GenuineIntel     *

     *   Processor Architecture: x86                                                 *

     *            Database Size: 0.1    GB                                           *

     *                      RAM: 2.0    GB                                           *

     *       Max DB Connections: 100                                                 *

     *               Autovacuum: off                                                 *

     *       Autovacuum Naptime: 60   Seconds                                        *

     *********************************************************************************

    

2010-07-29 11:45:32 FATAL:  could not load server certificate file "server.crt": No such file or directory

上网查:server.crt 文件:原来是我前台配置在PostgreSQL.conf 配置SSL 时出问题了,

#ssl = on              # (change requires restart) 注释掉即可,重启可以了

如果要配置SSL 可以參考:

If you really wish to SSL On then you need to run the following command and create a new server.key file in your new data directory.

with the following steps.

  1. openssl req -new -text -out server.req
  2. openssl rsa -in privkey.pem -out server.key
  3. rm privkey.pem
  4. openssl req -x509 -in server.req -text -key server.key -out server.crt
  5. chmod og-rwx server.key
  6. chown postgres : postgres server.key

 reference:
http://developer.postgresql.org/pgdo...s/ssl-tcp.html

__________________

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

«    2025年4月    »
123456
78910111213
14151617181920
21222324252627
282930
搜索
标签列表
网站分类
最新留言
    文章归档
    友情链接

    Powered By Z-BlogPHP 1.7.3

    Copyright Your WebSite.Some Rights Reserved.闽ICP备11018667号-2