Re: [PORTS] Port Bug Report: Cannot initdb - Mailing list pgsql-ports

From Thomas Lockhart
Subject Re: [PORTS] Port Bug Report: Cannot initdb
Date
Msg-id 36FBE339.CE7204B6@alumni.caltech.edu
Whole thread Raw
In response to Port Bug Report: Cannot initdb  (Unprivileged user <nobody>)
List 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

pgsql-ports by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report: Cannot insert more data into database
Next
From: Unprivileged user
Date:
Subject: Port Bug Report: Will not compile under SCO OSR 5.0.5