Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6392 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

Do you have postgresql installed?

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

Tác giả

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

Câu trả lời hay nhất

Try to completely remove postgres with:

sudo apt-get --purge autoremove postgresql*

Reinstall postgres.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks for the answer, unfortunately the error persits.

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 25
1689
2
thg 1 25
8374
2
thg 1 24
10138
7
thg 1 24
49178
0
thg 3 23
2183