public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] postgres postinstall problem
@ 2007-04-10 11:09 Stefán István
  2007-04-10 11:40 ` Pongracz Istvan
  0 siblings, 1 reply; 2+ messages in thread
From: Stefán István @ 2007-04-10 11:09 UTC (permalink / raw
  To: gentoo-user

Hello!
I try to install postgresql and according to the gentoo howto after the emerge 
I execute the followning command and get this error:

# emerge --config =postgresql-8.0.12


Configuring pkg...

 * Creating the data directory ...
 * Initializing the database ...
QA Notice: USE Flag 'kernel_linux' not in IUSE for dev-db/postgresql-8.0.12
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale hu_HU.iso88592.
The default database encoding has accordingly been set to LATIN2.

fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating directory /var/lib/postgresql/data/global ... ok
creating directory /var/lib/postgresql/data/pg_xlog ... ok
creating directory /var/lib/postgresql/data/pg_xlog/archive_status ... ok
creating directory /var/lib/postgresql/data/pg_clog ... ok
creating directory /var/lib/postgresql/data/pg_subtrans ... ok
creating directory /var/lib/postgresql/data/base ... ok
creating directory /var/lib/postgresql/data/base/1 ... ok
creating directory /var/lib/postgresql/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /var/lib/postgresql/data/base/1 ... FATAL:  
XX000: failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:2403
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data"
 * 
 * You can use the '//etc/init.d/postgresql' script to run PostgreSQL instead 
of 'pg_ctl'.
 * 

If I see what the locale setting are, I see that LC_MESSAGE is set:
# locale           
LANG=hu
LC_CTYPE="hu_HU.iso88592"
LC_NUMERIC="hu_HU.iso88592"
LC_TIME="hu_HU.iso88592"
LC_COLLATE="hu_HU.iso88592"
LC_MONETARY="hu_HU.iso88592"
LC_MESSAGES="hu_HU.iso88592"
LC_PAPER="hu_HU.iso88592"
LC_NAME="hu_HU.iso88592"
LC_ADDRESS="hu_HU.iso88592"
LC_TELEPHONE="hu_HU.iso88592"
LC_MEASUREMENT="hu_HU.iso88592"
LC_IDENTIFICATION="hu_HU.iso88592"
LC_ALL=hu_HU.iso88592

Can somebody tell me what do I wrong?

Thanks,
István
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] postgres postinstall problem
  2007-04-10 11:09 [gentoo-user] postgres postinstall problem Stefán István
@ 2007-04-10 11:40 ` Pongracz Istvan
  0 siblings, 0 replies; 2+ messages in thread
From: Pongracz Istvan @ 2007-04-10 11:40 UTC (permalink / raw
  To: gentoo-user

Try to use UTF-8 instead of iso-8859-2.

pongi@localhost ~ $ locale
LANG=hu_HU.UTF-8
LC_CTYPE="hu_HU.UTF-8"
LC_NUMERIC="hu_HU.UTF-8"
LC_TIME="hu_HU.UTF-8"
LC_COLLATE="hu_HU.UTF-8"
LC_MONETARY="hu_HU.UTF-8"
LC_MESSAGES="hu_HU.UTF-8"
LC_PAPER="hu_HU.UTF-8"
LC_NAME="hu_HU.UTF-8"
LC_ADDRESS="hu_HU.UTF-8"
LC_TELEPHONE="hu_HU.UTF-8"
LC_MEASUREMENT="hu_HU.UTF-8"
LC_IDENTIFICATION="hu_HU.UTF-8"
LC_ALL=


REgards,
IStván


-- 
Nyílt forráskód azokra az igazán nehéz napokra. BSA
Open source for those really hard days. BSA
http://www.osbusiness.hu

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-10 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-10 11:09 [gentoo-user] postgres postinstall problem Stefán István
2007-04-10 11:40 ` Pongracz Istvan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox