Re: [BUGS] initdb and version 7

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [BUGS] initdb and version 7
Дата
Msg-id Pine.GSO.4.02A.10002291218380.14457-100000@Svan.DoCS.UU.SE
обсуждение исходный текст
Ответ на initdb and version 7  (michael <michael@systems.to>)
Список 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@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden

В списке pgsql-bugs по дате отправления:

Предыдущее
От: michael
Дата:
Сообщение: initdb and version 7
Следующее
От: michael
Дата:
Сообщение: Re: [BUGS] initdb and version 7