[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

re: postgresql setup



I installed version 8.3.5 with tasksel. When I ran initdb, it ran in debug mode but ran successfully so far as I can tell. I was then able to run postgres -D /usr/local/postgresql/data and the message that came back said postgres was ready to accept connections. I exited that and the database system shut down. Then I tried createuser dashielljt and the following came back as an error dialog.
cut here.

Script started on Sun 25 Jan 2009 05:56:42 AM EST
verizon:~# createuser dashielljt
Shall the new role be a superuser? (y/n) y
createuser: could not connect to database postgres: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
verizon:~# exit
exit

Script done on Sun 25 Jan 2009 05:57:09 AM EST

cut here.


Reply to: