【问题标题】:How to integrate pgbouncer-1.4 with PostgreSQL -9.0 database如何将 pgbouncer-1.4 与 PostgreSQL -9.0 数据库集成
【发布时间】:2016-06-26 14:21:56
【问题描述】:

enter link description here我是 pgbouncer 和 postgreSQL 数据库的新手。尝试将 pgbouncer 与 postgreSQL 数据库集成。 成功安装 pgbouncer 后,启动 pgbouncer 时出现错误。

bash-3.2$ ./pgbouncer -d /etc/pgbouncer.ini
2016-03-11 05:18:21.549 25831 ERROR broken auth file
2016-03-11 05:18:21.549 25831 LOG File descriptor limit: 1024 (H:1024), max_client_conn:1000, max fds possible 1010
2016-03-11 05:18:21.550 25831 FATAL @src/main.c:739 in function main(): unix socket is in use,cannot continue 

请在此处分享一些想法如何解决此问题。

提前致谢 萨提亚

【问题讨论】:

    标签: database postgresql pgbouncer


    【解决方案1】:

    嗯 - 看起来你有两个问题。

    1. 您的身份验证文件有错误。
    2. 您尝试侦听的套接字正在使用中。

    你可能想要:

    1. 阅读 pgbouncer 文档了解配置格式
    2. 确保您有 pgbouncer 在与 PostgreSQL 不同的套接字上侦听(我假设这里发生了这种情况)。

    【讨论】:

      猜你喜欢
      • 2016-10-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-22
      • 2012-08-02
      相关资源
      最近更新 更多