Received: from smtp.mail.yahoo.com (smtp.mail.yahoo.com [128.11.68.32]) by hub.org (8.9.3/8.9.3) with SMTP id XAA08339 for ; Mon, 29 May 2000 23:21:16 -0400 (EDT) (envelope-from william_decker@yahoo.com) Received: from sys-123-ofallon.primary.net (HELO classicxl) (216.87.61.123) by smtp.mail.yahoo.com with SMTP; 29 May 2000 20:21:14 -0700 X-Apparently-From: Message-ID: <000801bfc9e6$0045d1e0$0100005a@classicxl> From: "William Decker" To: Subject: initdb & pg_encoding Date: Mon, 29 May 2000 22:20:24 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01BFC9BC.15EF4460" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200005/47 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01BFC9BC.15EF4460 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ok, I am ready to pull my hair out, what I have left!! Here is what I got: RedHat Linux 6.2 on an Athlon 700 processor with 128meg RAM and 30 gig of d= rive space. What my problem is: During the installation of PostgreSQL 6.5.3, I execute the initdb command u= sing the postgres user account. I get the following error message: pg_encoding: error in loading shared libraries: pg_encoding: undefined symb= ol: pg_char_to_encoding We are initializing the database system with username postgres (uid=3D26). This user will own all the files and must also own the server process. Creating Postgres database system directory /usr/local/pgsql/data Creating Postgres database system directory /usr/local/pgsql/data/base Creating template database in /usr/local/pgsql/data/base/template1 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. What am I doing wrong? What should I be looking for? Your assistance in r= esolving this would be greatly appreciated since I am new to the Linux comm= unity and really do not want to donate more money to Bill Gates! Sincerely; Bill Decker St. Louis, MO USA ------=_NextPart_000_0005_01BFC9BC.15EF4460 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Ok, I am ready to pull my hair out, what I= have=20 left!!
 
Here is what I got:
 
RedHat Linux 6.2 on an Athlon 700 pro= cessor=20 with 128meg RAM and 30 gig of drive space.
 
What my problem is:
 
During the installation of PostgreSQL 6.5.= 3, I=20 execute the initdb command using the postgres=20 user account.  I get the following error message:
 
pg_encoding: error in loading shared l= ibraries:=20 pg_encoding: undefined symbol: pg_char_to_encoding
 
We are initializing the database syste= m with=20 username postgres (uid=3D26).
This user will own all the files and m= ust also=20 own the server process.
 
Creating Postgres database system dire= ctory=20 /usr/local/pgsql/data
 
Creating Postgres database system dire= ctory=20 /usr/local/pgsql/data/base
 
Creating template database i= n=20 /usr/local/pgsql/data/base/template1
 
Adding template1 database to pg_database...
ERROR: pg_atoi: error in "template1": can't parse=20 "template1"
ERROR: pg_atoi: error in "template1": can't parse=20 "template1"
    syntax error 1 : parse errorinitdb: could not l= og=20 template database
initdb: cleaning up.
 
What am I doing wrong?  What should I be looking for?  Your= =20 assistance in resolving this would be greatly appreciated since I am new to= the=20 Linux community and really do not want to donate more money to Bill Gates!<= /DIV>
 
Sincerely;
 
Bill Decker
St. Louis, MO USA
 
------=_NextPart_000_0005_01BFC9BC.15EF4460-- __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com