> 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