Jaisen N.D. wrote:
postgres(at)localhost:~$ /usr/lib/postgresql/8.1/bin/createdb testcreatedb: could not connect to database postgres: could not connect to server: No such file or directoryIs the server running locally and acceptingconnections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?postgres(at)localhost:~$ ----------------------------------------------------- Why it can't connect to server? How can I resolve it??
Doublecheck to see what port PostgreSQL is running on. Debian is known to put postgreSQL on non-standard ports, in order to make it possible to run multiple versions of postgreSQL on the same machine.
-- Tommy Gildseth