Thread
-
initdb crash after install
Jim Buckley <buckley@engr.orst.edu> — 2000-04-25T02:53:37Z
Greetings. I have read many of the questions concerning this issue. I too have installed PostgreSQL 6.5.3 faithfully following the instructions in the INSTALL file. The initdb crashes with the following error: ERROR: pg_atoi: error in "template1": can't parse "template1" In my reading of the question archive, I see the solution seems to be to clean out all the old templates. We did a fresh install of Redhat 6.2 in a CS class, and it must automatically install postgres because postgres was already present on the system. My question is: How does one find all the old libraries and clean them out? Thanks for your time, Jim Buckley, CS Student, Oregon State University.
-
Re: initdb crash after install
Tom Lane <tgl@sss.pgh.pa.us> — 2000-04-25T03:42:46Z
"Jim Buckley" <buckley@engr.orst.edu> writes: > The initdb crashes with the following error: > ERROR: pg_atoi: error in "template1": can't parse > "template1" Hmm, seems pretty wacko. I haven't seen that before, but I wonder whether you are using inconsistent bits of code, ie, a mismatch of files from your old install and files from the new one. Check your path to make sure you are using the right version of initdb, and make sure that your PGLIB environment variable points to the newly installed lib directory. regards, tom lane