Port Bug Report: Cannot initdb
Port Bug Report: Cannot initdb
От:
Unprivileged user <nobody>
Дата:
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Gene Brock
Your email address : gbrock@email.sjsu.edu
Category : install: other
Severity : serious
Summary: Cannot initdb
System Configuration
--------------------
Operating System : Linux RedHat 5.2
PostgreSQL version : 6.4.2
Compiler used : GNU gcc and g++
Hardware:
---------
Linux 2.0.36 #1 Tue Oct 13 22:17:11 EDT 1998 i586 unknown
Versions of other tools:
------------------------
flex 2.5.4, GNU Make version 3.76.1,
gcc 2.7.2.3, g++ egcs-2.90.29 980515 (egcs-1.0.3 release)
all of which come with RedHat 5.2
--------------------------------------------------------------------------
Problem Description:
--------------------
I type initdb following all directions at http://research.iphil.net/postgresql/docs/admin/c0302.htm
in directory /usr/local/pgsql. I get the error:
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 < /tmp/create
.1182
ERROR: pg_atoi: error in "template1": can't parse "template1"
ERROR: pg_atoi: error in "template1": can't parse "template1"
initdb: could not log template database
I haven't touched the template. No make or compile errors, however,
I wasn't asked about the template during ./configure
I even tried ./configure --with-template=linux_i386
What could be wrong?
--------------------------------------------------------------------------
Test Case:
----------
try to do this on Linux RedHat 5.2 on AMD Pentium II-350
by untarring, and following directions from given place,
with above mentioned version of tools.
--------------------------------------------------------------------------
Solution:
---------
Have no idea that's why I am asking....I would love to
use your database program...if I can't get it up, I
have to use Microsoft Access on NT. Please save me from this.
Please don't hesitate to contact me for more details.
--------------------------------------------------------------------------
Re: [PORTS] Port Bug Report: Cannot initdb
От:
Thomas Lockhart <lockhart@alumni.caltech.edu>
Дата:
> System Configuration
> --------------------
> Operating System : Linux RedHat 5.2
> PostgreSQL version : 6.4.2
> Problem Description:
> --------------------
> I type initdb...
> ERROR: pg_atoi: error in "template1": can't parse "template1"
> ERROR: pg_atoi: error in "template1": can't parse "template1"
> initdb: could not log template database
> I haven't touched the template. No make or compile errors, however,
> I wasn't asked about the template during ./configure
> I even tried ./configure --with-template=linux_i386
> What could be wrong?
You have a v6.3.2 installation from the RH5.x distribution. Do a
rpm -q -a | grep postg
rpm -e
on all of the packages before doing your from-source installation. The
mhonarc mailing list archives would cover this topic, as does
(probably) one of the FAQs...
- Tom