[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

postgresql will not configure



Hi.  I am trying to install and use postgresql, but it will not
configure itself.

Here is what I get from the script.

Setting up postgresql (7.0.2-6) ...
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): Now installing the PostgreSQL database files in /var/lib/postgres/data
su postgres -c cd /var/lib/postgres; . ./.profile; initdb --encoding UNICODE --pglib /usr/lib/postgresql/lib --pgdata /var/lib/postgres/data --sysid 31
Could not determine current user name. You are really hosed.
dpkg: error processing postgresql (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 postgresql

Any assistance would be appreciated.

-- 
         John Covici
         covici@ccs.covici.com



Reply to: