On Mon, Nov 16, 2009 at 9:55 AM, Reno Bladergroen <reno.bladergr...@telenet.be> wrote: > Today I restarted to install postgres from scratch, because I have a lot of > installation problems. To summarize my system: > I have two xubuntu logins: a "superuser" and postgres. The latter one is a > user with basic privileges. > I installed pgsql according to the manual, generated a data folder, changed > ownership to postgres, switched user postgres and initialized the database. > starting the database is also successful (status says running). > But now: when I use the command createdb test, I get the error "can't connect > to database postgres: could not connect to server: no such file or directory, > Is the server running locally and accepting .... etc."
Ooops, you left out the part where you tell us what you did. Seeing your createdb switches etc would help a lot. Better to give us too much info than not enough. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general