HI I installed postgsql on ubuntu 8.10 intrepid ibex and typed comand to start making a new Dbase but stoped as I had to do somthing else to do and had no time.
Next time I went back and tried again II just get errors.
I tried typing in psql but only get these errors
jpd@jpd-desktop:~$ sudo su postgres
postgres@jpd-desktop:/home/jpd$ createuser -U postgres --createdb --no-adduser -P terp
Enter password for new role:
Enter it again:
Shall the new role be allowed to create more new roles? (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"?
postgres@jpd-desktop:/home/jpd$ createdb -U postgres -O terp --encoding=UNICODE terp
createdb: 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"?
postgres@jpd-desktop:/home/jpd$ gedit /etc/default/tinyerp-server
No protocol specified
(gedit:7992): Gtk-WARNING **: cannot open display: :0.0
I don't know what to do next?