Re: Createdb fails

From: <user(at)hotmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Createdb fails
Date: 2004-02-16 15:29:53
Message-ID: Rl5Yb.2809$t16.2332312@newssvr28.news.prodigy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Take a look at the pg_hba.conf file. You probably need to make some
adjustments to permissions here. Read the file in it's entirety. It's
well documented, and though boring, it does provide good information.

-Ken

--

KG Hagans Professional Services Group
Westerville, Ohio
ken(at)kghagans(dot)com
www.kghagans.com

""Stephen Rasku"" <srasku(at)tantalus-systems(dot)com> wrote in message
news:000001c3f251$331d3210$4e01010a(at)tantalussystems(dot)com(dot)(dot)(dot)
> I am trying to use PostgreSQL 7.2.1 on QNX 6.2.0. This version is
> available as a third party package from QNX.
>
> After installing the package, I am trying to initialize the database as
> described in the Administrator Manual.
>
>
> http://www.postgresql.org/docs/7.2/interactive/installation.html#INSTALL
> -SHORT
>
> I started postmaster using the following command:
>
> postmaster -D /var/postgres/data >>logfile 2>&1 &
>
> I have verified that postmaster is running by using "ps".
>
> I then try to create a database using the following command:
>
> createdb test
>
> and I get the following error:
>
> psql: could not connect to server: Connection refused
> Is the server running locally and accepting
> connections on Unix domain socket ""?
> createdb: database creation failed
>
> The odd thing that I notice is that the socket is null (i.e. ""). Is
> this expected? Anyone know what I am doing wrong?
>
> ...Stephen
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Rob Mosher 2004-02-16 16:03:05 Re: Changing from NOT NULL to NULL
Previous Message Dexter Tad-y 2004-02-16 13:39:36 is_locked() function for select-for-update locked rows