Re: [GENERAL] syntax error 2334 : parse error

From: Chris Dorr <chris(at)townnews(dot)com>
To: Floyd Shackelford <floyds(at)4peakstech(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] syntax error 2334 : parse error
Date: 2000-02-16 03:28:01
Message-ID: Pine.BSF.3.96.1000215212701.10527G-100000@zr3.lee.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

you need to do something like: initdb -pglib=/path/to/bki.file.it.asks.for
-pgdata=/where/you/want/to/store/data

At least what what's what had to be done for 6.0

## Chris Dorr
## International Newspaper Network
## 800-579-6397

On Tue, 15 Feb 2000, Floyd Shackelford wrote:

>
> I am trying to install postgresql for the first time. I am running redhat
> linux 5.x
>
> I get the output below from initdb. Anyone know how to make this work?
>
> Thanks
>
> Floyd Shackelford
>
>
> $ initdb
> initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to
> create the template database.
>
> initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create the
> global classes.
>
> initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based
> authentication control file.
>
> We are initializing the database system with username postgres (uid=100).
> This user will own all the files and must also own the server process.
>
> initdb: creating template database in /usr/local/pgsql/data/base/template1
> Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1
> syntax error 2334 : parse error
> 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
> .15789
> 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
> initdb: cleaning up.
>
>
>
> ************
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2000-02-16 04:04:47 Re: [GENERAL] syntax error 2334 : parse error
Previous Message Floyd Shackelford 2000-02-16 03:01:29 syntax error 2334 : parse error