Received: from web9610.mail.yahoo.com (web9610.mail.yahoo.com [216.136.129.189]) by hub.org (8.10.1/8.11.0) with SMTP id e9QCHrU59381 for ; Thu, 26 Oct 2000 08:17:53 -0400 (EDT) (envelope-from drajesh80@yahoo.com) Message-ID: <20001026121747.24312.qmail@web9610.mail.yahoo.com> Received: from [203.199.224.137] by web9610.mail.yahoo.com; Thu, 26 Oct 2000 05:17:47 PDT Date: Thu, 26 Oct 2000 05:17:47 -0700 (PDT) From: Dronamraju Rajesh Subject: pg_atoi: error in "template1": can't parse "template1" To: pgsql-admin@postgresql.org, pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200010/115 X-Sequence-Number: 909 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/