连接zabbix用户失败,

postgres=# \c - zabbix
FATAL:  Peer authentication failed for user "zabbix"
Previous connection kept

解决办法 :
修改配置文件
/etc/postgresql/12/main# vi pg_hba.conf

# "local" is for Unix domain socket connections only
local   all             all                                     Peer
# IPv4 local connections:
host    all             all             127.0.0.1/32            Ident
# IPv6 local connections:

新文件为:

# "local" is for Unix domain socket connections only
local   all             all                                     md5
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5

参考链接 :
https://blog.csdn.net/idwtwt/article/details/82784560

postgres报错:FATAL: Peer authentication failed for user “zabbix“ Previous connection kept相关推荐

  1. Postgres数据库报错:FATAL: Peer authentication failed for user “zabbix“ Previous connection kept

    报错信息 :FATAL: Peer authentication failed for user "zabbix" /etc/postgresql/9.3/main/pg_hba. ...

  2. zabbix server报错:FATAL: password authentication failed for user zabbix

    zabbix agent日志 [root@localhost zabbix]# cat zabbix_server.log FATAL: password authentication failed ...

  3. Git报错fatal:Authentication failed for‘https://git……解决方法

    报错就是因为你输入的账号或者密码错误,导致验证失败. 方法一配置全局参数: git config --global user.name "xxx" git config --glo ...

  4. postgresql 开启远程访问、postgre设置开机自启动、psql: error: FATAL: Peer authentication failed for user “postgres“

    文章目录 一.psql: error: FATAL: Peer authentication failed for user "postgres" 二.postgresql 开启远 ...

  5. 163邮箱报错: 535 Error: authentication failed

    今天更换新的异常信息发件邮箱,重新申请了一个新邮箱,SMTP功能已经开通,调用java代码报异常,错误信息为:535 Error: authentication failed.经过网上查证,原来新的1 ...

  6. git报错fatal: HTTP request failed

    关于git报错的原因,见下链接 此链接为转载: https://blog.csdn.net/zhang_danf/article/details/45538825 我遇到是curl 版本问题,更新cu ...

  7. 爬虫报错requests.exceptions.ProxyError:/Failed to establish a new connection: [WinError 10061]

    本人导致报错的可能原因: 下载vpn软件所导致(可能性较小) 使用ip代理不当导致 报错: requests.exceptions.ProxyError: HTTPSConnectionPool(ho ...

  8. PostgreSQL提示:‘psql: FATAL: ”Peer authentication failed for user ”postgres“’错误#将文件Database administ

    #将文件Database administrative 下列中的peer改为trust $sudo nano /etc/postgresql/10/main/pg_hba.conf #重新加载配置 $ ...

  9. postgresql安装后链接报错psql: FATAL: Ident authentication failed for user “postgres“

    postgresql 安装成功后,使用链接语句链接 [root@iZbp1hdum7hefdeb75mnyfZ ~]# psql -d postgres -U postgres -W Password ...

最新文章

  1. [BZOJ2730][HNOI2012]矿场搭建(求割点)
  2. 剑指offer——面试题10:斐波那契数列
  3. opencv方框内图像保存_opencv::将两幅图像合并后,在同一个窗口显示;并将合并的图像流保存成视频文件...
  4. Mr.J--Java基础问题30问
  5. linux系统怎么清理指定日期的文件,Linux系统删除指定时间段文件的方法(2)
  6. oopc——3.封装
  7. Google Chrome 正在走 Windows 的老路
  8. 查询oracle数据库错误修改了,【案例】Oracle报错ora-00600[2662] 修改控制文件scn推进数据库scn...
  9. 精品谷歌浏览器chrome插件大汇总!值得收藏
  10. Shark为何被抛弃?
  11. 视频教程-零基础Python自动化办公(漫画版)-Python
  12. matlab gui 简介,Matlab中Powergui的介绍.pdf
  13. 牛客面经 | BAT、美团、360、滴滴新锐……2W字干货,这不仅仅是一篇面经
  14. jdk重复安装,Error:Registry key ‘Software\JavaSoft\Java Runtime Environment\CurrentVersion(已解决)
  15. 将OpenCV抓拍的图片进行x264编码并保存到文件
  16. 新浪微博模拟登陆并发文
  17. 8086CPU有哪些寄存器组成?各有什么用途?标志寄存器的各标志位在什么情况下置位?
  18. 清除挖矿病毒solr记录
  19. latex报错 Misplaced \noalign.
  20. 烟花爆炸色彩效果—ExplosionField

热门文章

  1. 我的PGA我作主----搞清楚什么是真正的PGA
  2. android 获取GPS定位,
  3. 掌握Spark机器学习库-06-基础统计部分
  4. rocketMq概念介绍
  5. Spring Boot 执行流程
  6. java移位运算符实验程序:lt;lt;(左移)、gt;gt;(带符 号右移)和gt;gt;gt;(无符号右移)...
  7. 将图片的二进制字节字符串在HTML页面以图片形式输出
  8. 2016年04月28日-统一沟通之OCS 2007 R2-公开课-通知
  9. [Python] 正确复制列表的方法
  10. 用于 Windows8 的 Wijmo Charts 图表控件