본문 바로가기

Sysops Notepad

검색하기
Sysops Notepad
프로필사진 sysops

  • 분류 전체보기 (188)
    • TIP (4)
    • IT (8)
    • 업무 (176)
      • sys (63)
      • dev (21)
      • etc (92)
    • 주식일기 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • zabbix
  • Chrome
  • Python
  • rsyslog
  • GNOME
  • syslog
  • K8S
  • docker
  • GPU
  • Shell
  • RHEL
  • Linux
  • JSON
  • yum
  • bash
  • Kubernetes
  • CentOS
  • centos 7.5
  • log
  • 디렉토리
  • audit
  • 크롬
  • 파이썬
  • C
  • Elk
  • PostgreSQL
  • Elasticsearch
  • 서울시민카드
  • 빅데이터
  • Audit Log
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Ident authentication failed for user (1)

Sysops Notepad

Centos 7 postgresql 접속 오류시 조치 방법

처음 postgresql 구성간 아래와 같은 에러 메세지가 나올 경우....psycopg2.OperationalError: FATAL: Ident authentication failed for user "test".... psql: FATAL: Peer authentication failed for user "test" [root] # vi /var/lib/pgsql/10/data/pg_hba.conf 위 경로 들어가 상황에 맞게 METHOD 부분의 ident를 MD5 or trust로 변경해 준다. # IPv4 local connections:host all all 127.0.0.1/32 md5 [root] # systemctl restart postgresql-10 접속 성공~

업무/sys 2018. 7. 8. 01:05
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바