728x90
1. 첫번째 오류
https://yjshin.tistory.com/744
[Linux] Ubuntu root 권한이 없는 경우, is not in the sudoers file. This incident will be reported.
[username] is not in the sudoers file. This incident will be reported. 우분투에서 sudo 명령어 작성시 root 권한이 없을 때 발생하는 오류 문구 입니다. 해결 방법은 sudoers 파일에 계정 이름을 넣어 root 권한을 부여
yjshin.tistory.com
2. 두번째 오류

원인 파악을 위해 로그파일 확인!

pg_hba.conf 파일에 오류가 있음을 확인했다.
위 파일에서
#local replication all
이 부분 주석처리.