pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gtrica <gtricarico@intin.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: psql error
Date: Thu, 21 Feb 2002 19:30:11 -0500
Message-ID: <12125.1014337811@sss.pgh.pa.us> (raw)
In-Reply-To: <a4tdt9$1225$1@jupiter.hub.org>
References: <a4tdt9$1225$1@jupiter.hub.org>

"Gtrica" <gtricarico@intin.it> writes:
> I'm new with postgress datbase..
> I have started correctly postmaster, I created a database "primo" ...
> Now when I try to start "psql primo" I receive the following error
> "psql : FATAL 1: cannot create init file
> .//base/primo/pg_internal.init.1179"

It looks to me like you tried to start the postmaster with a relative
PGDATA path (something like "postmaster -D .").  Try an absolute
path instead.

(IIRC, PG 7.1 and later will accept a relative path, but earlier versions
don't cope.  If you are indeed running something older than 7.1, it's
definitely a good idea to update.)

			regards, tom lane



view thread (16+ messages)  latest in thread

Message-ID: <12125.1014337811@sss.pgh.pa.us>
Permalink:  ../12125.1014337811@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12125.1014337811@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gtricarico@intin.it
  Subject: Re: psql error
  In-Reply-To: <12125.1014337811@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox