pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dronamraju Rajesh <drajesh80@yahoo.com>
To: pgsql-admin@postgresql.org
To: pgsql-sql@postgresql.org
Subject: pg_atoi: error in "template1": can't parse "template1"
Date: Thu, 26 Oct 2000 05:17:47 -0700 (PDT)
Message-ID: <20001026121747.24312.qmail@web9610.mail.yahoo.com> (raw)

Dear all,

   I have installed postgres 6.5.1 on my RedHat Linux
box. The installation went smooth without any
problems. Now when i run initdb I got errors. I have
seen the Postgres FAQ also and have ensured that all
the directories i,e /usr/local/pgsql, /home/postgres
etc are owned by postgres super user. I also have set
the following environmental variables: -

PATH=/usr/bin:/usr/local/bin:/usr/local/pgsql/bin
HOME=/home/postgres
INPUTRC=/etc/inputrc
LC_COLLATE=C
SHELL=/bin/bash
PGLIB=/usr/local/pgsql/lib
USER=postgres
PGDATA=/usr/local/pgsql/data
MANPATH=:/usr/local/pgsql/man
LC_CTYPE=C
LANG=en_US
OSTYPE=Linux
SHLVL=1
LC_COLLATE=C

But even then I got errors when I run initdb like

Adding template1 database to pg_database...
ERROR:  pg_atoi: error in "template1": can't parse
"template1"
ERROR:  pg_atoi: error in "template1": can't parse
"template1"
        syntax error 1 : parse errorinitdb: could not
log template database
initdb: cleaning up.

PLEASE help me in this regard.

Thanks & Regards
Rajesh.

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/



view thread (2+ messages)  latest in thread

Message-ID: <20001026121747.24312.qmail@web9610.mail.yahoo.com>
Permalink:  ../20001026121747.24312.qmail@web9610.mail.yahoo.com/
Also on:    postgresql.org/message-id/20001026121747.24312.qmail@web9610.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: drajesh80@yahoo.com, pgsql-admin@postgresql.org
  Subject: Re: pg_atoi: error in "template1": can't parse "template1"
  In-Reply-To: <20001026121747.24312.qmail@web9610.mail.yahoo.com>
  References: <20001026121747.24312.qmail@web9610.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox