I have just compiled PostSQL 6.4 on a Pentium running SuSE Linux 5.3.
Everything appeared to have gone fine, however when I try to do the 'initdb' I
get an pg_atoi error. Can you shed some light on what the problem could be? I
am trying to get 6.4 running so I can use the ODBC driver so that I can use
Applix. Thanks!! I have include the complete runtime dialog.
- --------------------------------------------------------
initdb: using /usr/lib/pgsql/lib/local1_template1.bki.source as input to create the template database.
initdb: using /usr/lib/pgsql/lib/global1.bki.source as input to create the global classes.
initdb: using /usr/lib/pgsql/lib/pg_hba.conf.sample as the host-based authentication control file.
We are initializing the database system with username postgres (uid=26).
This user will own all the files and must also own the server process.
Creating Postgres database system directory /var/lib/pgsql/data
Creating Postgres database system directory /var/lib/pgsql/data/base
initdb: creating template database in /var/lib/pgsql/data/base/template1
Running: postgres -boot -C -F -D/var/lib/pgsql/data -Q template1
Creating global classes in /base
Running: postgres -boot -C -F -D/var/lib/pgsql/data -Q template1
Adding template1 database to pg_database...
Running: postgres -boot -C -F -D/var/lib/pgsql/data -Q template1 < /tmp/create.10999
ERROR: pg_atoi: error in "template1": can't parse "template1"
ERROR: pg_atoi: error in "template1": can't parse "template1"
/usr/bin/initdb: line 338: 11021 Quit postgres $BACKENDARGS template1 </tmp/create.$$
initdb: could not log template database
initdb: cleaning up.
--
Ivan Drinks Sr., MCIS