Gentoo Archives: gentoo-user

From: "Stefán István" <stefi@××××××××××××.hu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] postgres postinstall problem
Date: Tue, 10 Apr 2007 11:16:43
Message-Id: 200704101309.40965.stefi@geohidroterv.hu
1 Hello!
2 I try to install postgresql and according to the gentoo howto after the emerge
3 I execute the followning command and get this error:
4
5 # emerge --config =postgresql-8.0.12
6
7
8 Configuring pkg...
9
10 * Creating the data directory ...
11 * Initializing the database ...
12 QA Notice: USE Flag 'kernel_linux' not in IUSE for dev-db/postgresql-8.0.12
13 The files belonging to this database system will be owned by user "postgres".
14 This user must also own the server process.
15
16 The database cluster will be initialized with locale hu_HU.iso88592.
17 The default database encoding has accordingly been set to LATIN2.
18
19 fixing permissions on existing directory /var/lib/postgresql/data ... ok
20 creating directory /var/lib/postgresql/data/global ... ok
21 creating directory /var/lib/postgresql/data/pg_xlog ... ok
22 creating directory /var/lib/postgresql/data/pg_xlog/archive_status ... ok
23 creating directory /var/lib/postgresql/data/pg_clog ... ok
24 creating directory /var/lib/postgresql/data/pg_subtrans ... ok
25 creating directory /var/lib/postgresql/data/base ... ok
26 creating directory /var/lib/postgresql/data/base/1 ... ok
27 creating directory /var/lib/postgresql/data/pg_tblspc ... ok
28 selecting default max_connections ... 10
29 selecting default shared_buffers ... 50
30 creating configuration files ... ok
31 creating template1 database in /var/lib/postgresql/data/base/1 ... FATAL:
32 XX000: failed to initialize lc_messages to ""
33 LOCATION: InitializeGUCOptions, guc.c:2403
34 child process exited with exit code 1
35 initdb: removing contents of data directory "/var/lib/postgresql/data"
36 *
37 * You can use the '//etc/init.d/postgresql' script to run PostgreSQL instead
38 of 'pg_ctl'.
39 *
40
41 If I see what the locale setting are, I see that LC_MESSAGE is set:
42 # locale
43 LANG=hu
44 LC_CTYPE="hu_HU.iso88592"
45 LC_NUMERIC="hu_HU.iso88592"
46 LC_TIME="hu_HU.iso88592"
47 LC_COLLATE="hu_HU.iso88592"
48 LC_MONETARY="hu_HU.iso88592"
49 LC_MESSAGES="hu_HU.iso88592"
50 LC_PAPER="hu_HU.iso88592"
51 LC_NAME="hu_HU.iso88592"
52 LC_ADDRESS="hu_HU.iso88592"
53 LC_TELEPHONE="hu_HU.iso88592"
54 LC_MEASUREMENT="hu_HU.iso88592"
55 LC_IDENTIFICATION="hu_HU.iso88592"
56 LC_ALL=hu_HU.iso88592
57
58 Can somebody tell me what do I wrong?
59
60 Thanks,
61 István
62 --
63 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] postgres postinstall problem Pongracz Istvan <pongracz.istvan@×××××.com>