Problems with 6.3.2
Problems with 6.3.2
От:
Dirk Elmendorf <delmendo@cymitar.net>
Дата:
I'm trying to install Postgres 6.3.2. I've upgraded from 6.2. I'm running Red Hat Linux 4.2 (kernel 2.0.34) on X86 I've applied all the patches in the patches directory and I have removed al l traces of previous installs. I've seached through all the mailing lists from the web sit e and could only locate reports of similar problems on Sparcs. But I still get the following error: initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to create the temp late database. initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create the global classe s. initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based authentication con trol file. We are initializing the database system with username pgsql (uid=17). 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 initdb: creating template database in /usr/local/pgsql/data/base/template1 Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 Creating global classes in /base Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 Adding template1 database to pg_database... Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 < /tmp/create.16258 initdb: could not log template database initdb: cleaning up. initdb simply core dumps and then destroys the data directory entirely. I really need to get this working any help would be greatly appreciated. _________________________________________________________ Dirk Elmendorf, VP/Development Main: 210-892-4000 Cymitar Technology Group, Inc. Direct: 210-892-4005 Lorene Office Plaza Fax: 210-892-4329 9828 Lorene Lane San Antonio, TX 78216-4450 _________________________________________________________ --------------End of forwarded message------------------------- _________________________________________________________ Dirk Elmendorf, VP/Development Main: 210-892-4000 Cymitar Technology Group, Inc. Direct: 210-892-4005 Lorene Office Plaza Fax: 210-892-4329 9828 Lorene Lane San Antonio, TX 78216-4450 _________________________________________________________
Re: [ADMIN] Problems with 6.3.2
От:
The Hermit Hacker <scrappy@hub.org>
Дата:
On Fri, 19 Jun 1998, Dirk Elmendorf wrote: > > I'm trying to install Postgres 6.3.2. I've upgraded from 6.2. > I'm running Red Hat Linux 4.2 (kernel 2.0.34) on X86 > > I've applied all the patches in the patches directory and I have removed al > l traces of previous installs. I've seached through all the mailing lists from the web sit > e and could only locate reports of similar problems on Sparcs. > > But I still get the following error: > initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to create the temp > late database. > initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create the global classe > s. > initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based authentication con > trol file. > > We are initializing the database system with username pgsql (uid=17). > 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 > > initdb: creating template database in /usr/local/pgsql/data/base/template1 > Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 > > Creating global classes in /base > Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 > > Adding template1 database to pg_database... > Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 < /tmp/create.16258 > initdb: could not log template database > initdb: cleaning up. > > > initdb simply core dumps and then destroys the data directory entirely. > I really need to get this working any help would be greatly appreciated. what does your initdb command look like? how are you calling it?
Re: [ADMIN] Problems with 6.3.2
От:
Dirk Elmendorf <delmendo@cymitar.net>
Дата:
On 19-Jun-98 The Hermit Hacker wrote:
>
> what does your initdb command look like? how are you calling it?
.bash_profile
PATH=$PATH:/usr/local/pgsql/bin:.
MANPATH=/usr/local/pgsql/man
PGLIB=/usr/local/pgsql/lib
PGDATA=/usr/local/pgsql/data
export PATH MANPATH PGLIB PGDATA
I source .bash_profile
then run
initdb
Since I've defined PGLIB & PGDATA in my env vars initdb doesn't complain and happliy chugg
s along until postmaster core dumps and destroys the data directory.
_________________________________________________________
Dirk Elmendorf, VP/Development Main: 210-892-4000
Cymitar Technology Group, Inc. Direct: 210-892-4005
Lorene Office Plaza Fax: 210-892-4329
9828 Lorene Lane
San Antonio, TX 78216-4450
_________________________________________________________
Re: [ADMIN] Problems with 6.3.2
От:
Dirk Elmendorf <delmendo@cymitar.net>
Дата:
On 19-Jun-98 The Hermit Hacker wrote:
>
> what does your initdb command look like? how are you calling it?
I recompiled the source with -configure --enable-cassert (Which I found recommended to Sev
eral Digital Unix people with same AMopen problem)
Now the output changes to:
Adding template1 database to pg_database...
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 < /tmp/create.13342
Failed Assertion("!(reldesc):", File: "bootstrap.c", Line: 515)
!(reldesc) (0) [No such file or directory]
initdb: could not log template database
initdb: cleaning up.
I'm not sure how to interpret this, but any help would be greatly appreciated. I miss havi
ng postgres on my machine (And I'm not getting any done with out it)
_________________________________________________________
Dirk Elmendorf, VP/Development Main: 210-892-4000
Cymitar Technology Group, Inc. Direct: 210-892-4005
Lorene Office Plaza Fax: 210-892-4329
9828 Lorene Lane
San Antonio, TX 78216-4450
_________________________________________________________