콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6405 화면

Hi, Im triying to install and configure postgresql in my local server, but when I try to log with user postgres I get the following: sudo su - postgres Unknown id: -

I've read that this problem ca be fixed with this command: sudo apt-get install postgresql libpq-dev

...but I'm still getting thee error

What am I missing? Please help me

Thanks

아바타
취소

Do you have postgresql installed?

What do you get when you type: ps -C postgres ?

작성자

This is what I get: PID TTY TIME CMD 4752 ? 00:00:02 postgres 4754 ? 00:00:05 postgres 4755 ? 00:00:04 postgres 4756 ? 00:00:04 postgres 4757 ? 00:00:00 postgres

베스트 답변

Try to completely remove postgres with:

sudo apt-get --purge autoremove postgresql*

Reinstall postgres.

아바타
취소
작성자

Thanks for the answer, unfortunately the error persits.

Find a way to completely uninstall postgresql (and deleting all his related folders), and reinstall it.

관련 게시물 답글 화면 활동
0
2월 25
1740
2
1월 25
8425
2
1월 24
10138
7
1월 24
49232
0
3월 23
2203