Re: postgresql-7.1beta1 initdb error

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: James McMurry <jmcmurry(at)pobox(dot)com>
Cc: <pgsql-docs(at)postgresql(dot)org>
Subject: Re: postgresql-7.1beta1 initdb error
Date: 2001-01-04 17:32:55
Message-ID: Pine.LNX.4.30.0101041718010.1245-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

James McMurry writes:

> Enter new superuser password:
> Enter it again:
> The password file wasn't generated. Please report this problem.

Please apply to following patch to src/bin/initdb.sh:

diff -c -r1.118 initdb.sh
*** initdb.sh 2000/12/31 22:24:14 1.118
--- initdb.sh 2001/01/04 16:10:43
***************
*** 533,539 ****
fi
echo "ALTER USER \"$POSTGRES_SUPERUSERNAME\" WITH PASSWORD '$FirstPw'" \
| "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely
! if [ ! -f $PGDATA/pg_pwd ]; then
echo "The password file wasn't generated. Please report this problem." 1>&2
exit_nicely
fi
--- 533,539 ----
fi
echo "ALTER USER \"$POSTGRES_SUPERUSERNAME\" WITH PASSWORD '$FirstPw'" \
| "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely
! if [ ! -f $PGDATA/global/pg_pwd ]; then
echo "The password file wasn't generated. Please report this problem." 1>&2
exit_nicely
fi

Or you can just set the superuser password later if you're not up to
patching.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Ron Chmara 2001-01-05 10:37:32 Re: [GENERAL] RE: RE: Re: MySQL and PostgreSQL speed compare
Previous Message James McMurry 2001-01-04 15:50:02 postgresql-7.1beta1 initdb error