Unknown id: postgres

I'm getting the error: "Unknown id: postgres" when I run sudo su postgres

He're my i/o lines from the shell:

(blog-venv)vagrant@precise64:~$ sudo su postgres Unknown id: prostgres

What am I missing?

Sorry You must be a logged in, registered user to answer a question.

Answers

Install using sudo apt-get install postgresql libpq-dev and then run sudo su postgres

Had same problem worked for me :) cheers

this worked for me as well
BangPotential on

Sounds like PostgreSQL didn't get installed somehow (check the log when you vagrant up to see if any errors show for postgres).

2013-06-29T20:30:47+00:00] ERROR: Running exception handlers [2013-06-29T20:30:47+00:00] ERROR: Exception handlers complete [2013-06-29T20:30:47+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out [2013-06-29T20:30:47+00:00] FATAL: ArgumentError: wrong number of arguments (2 for 1) Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.
b1tmap on
I have the same problem. I went through this lesson a couple of months ago, and everything worked fine. For some reason the Chef files don't work anymore. I get this when I run vagrant up:
b1tmap on