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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <vladimirg(at)rambler(dot)bg>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Bug #466: Unable to remove /root/tmp/initdb:xxxx.xxx
Date: 2001-09-22 01:04:55
Message-ID: Pine.LNX.4.30.0109220259510.680-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Vladimir Georgiev (vladimirg(at)rambler(dot)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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Vince Vielhaber 2001-09-22 02:54:05 Re: Website, mailing list
Previous Message Tom Lane 2001-09-21 23:25:22 Re: Website, mailing list