Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6272 Представления

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
1398
2
янв. 25
7879
2
янв. 24
10138
7
янв. 24
48812
0
мар. 23
2012