From: | darren(at)crystalballinc(dot)com |
---|---|
To: | Domagoj Cajic <dcajic(at)inet(dot)hr> |
Cc: | PostgreSql <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Cannot create database |
Date: | 2003-10-05 20:36:11 |
Message-ID: | Pine.LNX.4.44.0310051634350.26553-100000@thread.crystalballinc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Have you started the database server (postmaster)??
Try in the bin directory looking for pg_ctl bin and issuing pg_ctl start.
This will start the db server (postmaster) then you should be able to
issue the createdb command
HTH
Darren
On 5 Oct 2003, Domagoj Cajic wrote:
> First i want to say that i just subscribed to this mailing list and this
> is my first post. :)
>
> im new to postgresql and i installed it recently on linux redhat 9
> system following the instructions from administrators tutorial.
>
> then i attempted to create "my first database" following the
> instructions from tutorial, but i get this message:
>
> [root(at)localhost root]# createdb mydb
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> createdb: database creation failed
>
> can someone help me? whats wrong? i am logged in as root, just started
> learning postgresql...
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
--
Darren Ferguson
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-10-05 21:36:07 | Re: Cannot create database |
Previous Message | Bruno BAGUETTE | 2003-10-05 20:27:08 | RE : RE : mod_auth_pgsql 2.0.1 don't close the backend |