Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] initdb and version 7

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: michael <michael(at)systems(dot)to>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: [BUGS] initdb and version 7
Date: 2000-02-29 11:22:31
Message-ID: Pine.GSO.4.02A.10002291218380.14457-100000@Svan.DoCS.UU.SE (view raw or flat)
Thread:
Lists: pgsql-bugs
Platform, shell version, configure options? Details, man! ;)

On Wed, 1 Mar 2000, michael wrote:

> $ initdb --pgdata=/usr/local/pgsql.db
> This database system will be initialized with username "postgres". This
> user will own all the data files and must also own the server process.
> Fixing permissions on pre-existing data directory //usr/local/pgsql.db
> Creating database system directory /usr/local/pgsql.db/base Creating
> database XLOG directory /usr/local/pgsql.db/pg_xlog Creating template
> database in /usr/local/pgsql.db/base/template1
> /usr/local/pgsql/bin/initdb: line 441: 338 Broken pipe cat "$TEMPLATE"
> 339 | sed -e "s/PGUID//$POSTGRES_SUPERUSERID/g" 340 Segmentation fault
                       ^^
Ay, there's the rub. (I think.) This might make sed puke, though surely
not very socially friendly. Try removing this double backslash in initdb.

Alternatively, try removing any old or new postgres out of your path and
starting initdb with a full directory specification.

> |
> "$PGPATH"/postgres $FIRSTRUN template1 initdb failed. Removing
> /usr/local/pgsql.db. rm: cannot remove directory
> &pi0;/usr/local/pgsql.db': Permission denied Failed. Removing temp file
> /tmp/initdb.316.


-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e(at)gmx(dot)net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


In response to

Responses

pgsql-bugs by date

Next:From: Marko KreenDate: 2000-02-29 14:21:01
Subject: Re: [BUGS] 7.0beta1: bugs appearing on cygwin
Previous:From: Bruce MomjianDate: 2000-02-28 23:26:54
Subject: Re: [BUGS] 7.0beta1: bugs appearing on cygwin

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group