Odoo Help


postgres unknown id

Marco Antonio Cid Barreras
on 4/13/14, 2:04 PM 2,832 views

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


Do you have postgresql installed?

Ramy Wafa
on 4/13/14, 2:08 PM

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

Med Said BARA
on 4/13/14, 9:51 PM

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

Marco Antonio Cid Barreras
on 4/13/14, 11:06 PM

Med Said BARA

--Med Said BARA--

| 5 5 7
--Med Said BARA--
Med Said BARA
On 4/13/14, 10:07 PM

Try to completely remove postgres with:

sudo apt-get --purge autoremove postgresql*

Reinstall postgres.

Thanks for the answer, unfortunately the error persits.

Marco Antonio Cid Barreras
on 4/14/14, 12:09 AM

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

Med Said BARA
on 4/14/14, 10:04 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/13/14, 2:04 PM
Seen: 2832 times
Last updated: 3/16/15, 8:10 AM