Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6438 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 25
1782
2
ม.ค. 25
8448
Odoo backend to Google Data Studio แก้ไขแล้ว
2
ม.ค. 24
10138
7
ม.ค. 24
49299
0
มี.ค. 23
2231