Thread: Re: [HACKERS] weird problem with latest cvs

Re: [HACKERS] weird problem with latest cvs

From
Bruce Momjian
Date:
> Just  tried latest cvs and initdb hangs:
> initdb: creating template database in /usr/local/pgsql/data/base/template1
>
> Creating global classes in /base
>
> Adding template1 database to pg_database...
>
> vacuuming template1
> creating public pg_user view
> Hangup
>
> Do I need 'make distclean' first ?
>
>     Oleg

No, just a make clean.  There is a problem with loading pg_description
from initdb, and I think I have the fix.  Will post when it is updated.


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

Re: [HACKERS] weird problem with latest cvs

From
jwieck@debis.com (Jan Wieck)
Date:
> > Creating global classes in /base
> >
> > Adding template1 database to pg_database...
> >
> > vacuuming template1
> > creating public pg_user view
> > Hangup
> >
> > Do I need 'make distclean' first ?
> >
> >  Oleg
>
> No, just a make clean.  There is a problem with loading pg_description
> from initdb, and I think I have the fix.  Will post when it is updated.
>
>
> --
> Bruce Momjian                          |  830 Blythe Avenue

    Sorry,  but  it happens between the two echos for pg_user and
    description.  So it must be the pg_user creation that  fails.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #

Re: [HACKERS] weird problem with latest cvs

From
Oleg Bartunov
Date:
Bruce,

vacuum still hangs up after you patch the cvs:
We are initializing the database system with username postgres (uid=505).
This user will own all the files and must also own the server process.

Creating Postgres database system directory /usr/local/pgsql/data

Creating Postgres database system directory /usr/local/pgsql/data/base

Creating template database in /usr/local/pgsql/data/base/template1

Creating global classes in /base

Adding template1 database to pg_database...

vacuuming template1
creating public pg_user view
Hangup


    Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


Re: [HACKERS] weird problem with latest cvs

From
Bruce Momjian
Date:
> Bruce,
>
> vacuum still hangs up after you patch the cvs:
> We are initializing the database system with username postgres (uid=505).
> This user will own all the files and must also own the server process.
>
> Creating Postgres database system directory /usr/local/pgsql/data
>
> Creating Postgres database system directory /usr/local/pgsql/data/base
>
> Creating template database in /usr/local/pgsql/data/base/template1
>
> Creating global classes in /base
>
> Adding template1 database to pg_database...
>
> vacuuming template1
> creating public pg_user view
> Hangup

OK, comment out the pg_user stuff and the rest of the initdb file, and
run it.  You should then be able to start the postmaster and run psql on
the template1 database.  See what works and what doesn't.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)