{bug reports please to pgsql-bugs}
planx plnetx writes:
> but if I run initdb it tell me:
> ***************
> This user will own all the data files and must also own the server process.
>
> Creating database system directory /home/SQL/sdp
> Creating database system directory /home/SQL/sdp/base
> Creating database XLOG directory /home/SQL/sdp/pg_xlog
> Creating template database in /home/SQL/sdp/base/template1
> /usr/pgsql/bin/initdb: line 442: 992 Broken pipe cat
> "$TEMPLATE"
> 993 | sed -e "s/PGUID/$POSTGRES_SUPERUSERID/g"
> 994 Segmentation fault | "$PGPATH"/postgres $FIRSTRUN template1
It would be good to know which program segfaulted. If you have a core file
then run `file core' to see. If it happens to be `postgres', then a
backtrace would also be nice. (configure with --enable-debug, recompile,
re-run initdb, then `gdb /path/to/postgres /path/to/core'. Thanks.
>
> initdb failed.
> Removing /home/SQL/sdp.
> Removing temp file /tmp/initdb.973.
> *********************
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden