Re: Bug #466: Unable to remove /root/tmp/initdb:xxxx.xxx

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Bug #466: Unable to remove /root/tmp/initdb:xxxx.xxx
Дата
Msg-id
Pine.LNX.4.30.0109220259510.680-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
Re: Bug #466: Unable to remove /root/tmp/initdb:xxxx.xxx Justin Clift <justin@postgresql.org>
> Vladimir Georgiev (vladimirg@rambler.bg) reports a bug with a severity of 3

> postgres$ /usr/local/pgsql/bin/initdb -D /dyn/pgsql/data
> Result: most of the script runs ok. At some point it said:
> ....... unable to remove /root/tmp/initdb:xxx.xxx
> where "xxx.xxx" are some numbers
> Result:Failed
> Observation: There are files created in /dyn/pgsql/data

Initdb doesn't produce that kind of output.  Please post the exact output
you got.  And what do you have set for $TMPDIR?

> postgres$ /usr/local/pgsql/bin/pg_ctl -D /dyn/pgsql/data -l /dyn/pgsql/home/server.log start
> Result: Failed. It said: Unable to remove /root/tmp/.....

pg_ctl doesn't produce that kind of output.  Please post the exact output
you got.

> 1) I've opened /dyn/pgsql/data/postgresql.conf
> 2) I've Uncommented the line
> #unix_socket_directory=''
> so it became this:
> unix_socket_directory='/tmp'
> 3) I've saved the so edited postgresql.conf.
> 4)
> postgres$ /usr/local/pgsql/bin/pg_ctl -D /dyn/pgsql/data -l /dyn/pgsql/home/server.log start
>
> RESULT: NOW IT WORKS FINE :-)

That is a completely incomprehensible workaround, but since you didn't
post the exact outputs above I cannot guess what actually happened here.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter
В списке pgsql-bugs по дате отправления
От: pgsql-bugs@postgresql.org
Дата:
От: Bruce Momjian
Дата:
Сообщение: Re: WAL Log numbering
FAQ