Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6365 Weergaven

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

Avatar
Annuleer

Do you have postgresql installed?

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

Auteur

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

Beste antwoord

Try to completely remove postgres with:

sudo apt-get --purge autoremove postgresql*

Reinstall postgres.

Avatar
Annuleer
Auteur

Thanks for the answer, unfortunately the error persits.

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

Gerelateerde posts Antwoorden Weergaven Activiteit
0
feb. 25
1645
2
jan. 25
8315
2
jan. 24
10138
7
jan. 24
49138
0
mrt. 23
2171