postgresql 6.5.3-15 fails to create the template database
Hi,
I currently use 2.2.10 kernel with potato on my Amiga. When I tried to
install postgresql with apt-get, it always fails at the phase of
creating the temlate database. Here is the log. Anyone help me?
---
Setting up postgresql (6.5.3-15) ...
PostgreSQL databases can be created with any one of a number of different
character encodings. Please choose the default encoding, which will be used
for all newly-created databases in the absence of a specific encoding
specification. The choices are:
SQL_ASCII ASCII
EUC_JP Japanese EUC
EUC_CN Chinese EUC
EUC_KR Korean EUC
EUC_TW Taiwan EUC
UNICODE Unicode(UTF-8)
MULE_INTERNAL Mule internal
LATIN1 ISO 8859-1 English and some European languages
LATIN2 ISO 8859-2 English and some European languages
LATIN3 ISO 8859-3 English and some European languages
LATIN4 ISO 8859-4 English and some European languages
LATIN5 ISO 8859-5 English and some European languages
KOI8 KOI8-R
WIN Windows CP1251
ALT Windows CP866
Enter default encoding (UNICODE): EUC_JP
Now installing the PostgreSQL database files in /var/lib/postgres/data
su postgres -c cd /var/lib/postgres; . ./.profile; initdb -e EUC_JP -l /usr/lib/postgresql/lib -r /var/lib/postgres/data -u postgres
We are initializing the database system with username postgres (uid=31).
This user will own all the files and must also own the server process.
Creating template database in /var/lib/postgres/data/base/template1
FATAL: s_lock(801b6432) at spin.c:109, stuck spinlock. Aborting.
FATAL: s_lock(801b6432) at spin.c:109, stuck spinlock. Aborting.
initdb: could not create template database
initdb: cleaning up by wiping out /var/lib/postgres/data/base/template1
dpkg: error processing postgresql (--configure):
subprocess post-installation script returned error exit status 1
Reply to: