1

在此处输入链接描述我是 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 

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

在此先感谢萨蒂亚

4

1 回答 1

0

好吧 - 看起来你有两个问题。

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

您可能想要:

  1. 阅读 pgbouncer 文档了解配置格式
  2. 确保您有 pgbouncer 在与 PostgreSQL 不同的套接字上侦听(我假设这就是这里发生的情况)。
于 2016-03-11T12:01:15.883 回答