重新启动服务后PostgreSQL服务器未连接

时间:2019-10-22 19:00:59

标签: postgresql

我已经编辑了pg_hba文件(在末尾的主机上全部添加了一行..... Xxxxxx / 32”,并将其复制到服务器,并通过“ sudo service postgresql restart”重新启动了服务,但是之后服务器没有连接。

显示以下错误,    您的数据库返回了:    “连接到     138.2xx.1xx.xx:5432被拒绝。     检查主机名和端口     是正确的,并且     邮政局长接受TCP / IP     连接。”

Jenkins作业和数据可视化工具失败,该工具以前运行正常。可能是什么原因。

在PostgreSQL日志中获取

2019-10-23 07:21:25.829 CEST [11761] LOG:  received fast shutdown request
2019-10-23 07:21:25.829 CEST [11761] LOG:  aborting any active transactions
2019-10-23 07:21:25.829 CEST [11766] LOG:  autovacuum launcher shutting down
2019-10-23 07:21:25.832 CEST [11763] LOG:  shutting down
2019-10-23 07:21:25.919 CEST [11761] LOG:  database system is shut down
2019-10-23 07:21:27.068 CEST [22633] LOG:  database system was shut down at 2019-10-23 07:21:25 CEST
2019-10-23 07:21:27.073 CEST [22633] LOG:  MultiXact member wraparound protections are now enabled
2019-10-23 07:21:27.075 CEST [22631] LOG:  database system is ready to accept connections
2019-10-23 07:21:27.075 CEST [22637] LOG:  autovacuum launcher started
2019-10-23 07:21:27.390 CEST [22639] [unknown]@[unknown] LOG:  incomplete startup packet

0 个答案:

没有答案