Skip site navigation (1) Skip section navigation (2)

Re: [PORTS] Port Bug Report: Cannot initdb

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Gene Brock <gbrock(at)email(dot)sjsu(dot)edu>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: Cannot initdb
Date: 1999-03-26 19:42:49
Message-ID: 36FBE339.CE7204B6@alumni.caltech.edu (view raw or flat)
Thread:
Lists: pgsql-ports
> 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 <packages from previous command>

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

In response to

pgsql-ports by date

Next:From: Unprivileged userDate: 1999-03-26 20:29:59
Subject: Port Bug Report: Will not compile under SCO OSR 5.0.5
Previous:From: Unprivileged userDate: 1999-03-26 19:29:27
Subject: Port Bug Report: Cannot insert more data into database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group