dbTalk Databases Forums  

[BUGS] problem start database

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] problem start database in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ing. Jhon Carrillo - Caracas, Venezuela
 
Posts: n/a

Default [BUGS] problem start database - 09-21-2005 , 08:17 AM






hi,

i have a problem when i run the initdb file, do you know anything?

bash-2.05b$ /usr/lib/postgresql/bin/initdb -D /var/lib/pgsql/data
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 C.

fixing permissions on existing directory /var/lib/pgsql/data ... ok
creating directory /var/lib/pgsql/data/global ... ok
creating directory /var/lib/pgsql/data/pg_xlog ... ok
creating directory /var/lib/pgsql/data/pg_xlog/archive_status ... ok
creating directory /var/lib/pgsql/data/pg_clog ... ok
creating directory /var/lib/pgsql/data/pg_subtrans ... ok
creating directory /var/lib/pgsql/data/base ... ok
creating directory /var/lib/pgsql/data/base/1 ... ok
creating directory /var/lib/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /var/lib/pgsql/data/base/1 ... FATAL: XX000:
failed to initialize lc_messages to ""
LOCATION: InitializeGUCOptions, guc.c:2389
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/pgsql/data"


thanks.


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
  #2  
Old   
Devrim GUNDUZ
 
Posts: n/a

Default Re: [BUGS] problem start database - 09-21-2005 , 08:28 AM







Hi,

On Tue, 20 Sep 2005, Ing. Jhon Carrillo - Caracas, Venezuela wrote:

Quote:
i have a problem when i run the initdb file, do you know anything?

bash-2.05b$ /usr/lib/postgresql/bin/initdb -D /var/lib/pgsql/data
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 C.
<snipped>

Quote:
creating directory /var/lib/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /var/lib/pgsql/data/base/1 ... FATAL: XX000:
failed to initialize lc_messages to ""
LOCATION: InitializeGUCOptions, guc.c:2389
This reminded me a bug that was fixed in 7.4.2. Are you using 7.4 or
7.4.1?

Regards,
--
Devrim GUNDUZ
Kivi Biližim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match


Reply With Quote
  #3  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] problem start database - 09-21-2005 , 11:16 AM



"Ing. Jhon Carrillo - Caracas, Venezuela" <jdigital (AT) cantv (DOT) net> writes:
Quote:
creating template1 database in /var/lib/pgsql/data/base/1 ... FATAL: XX000:
failed to initialize lc_messages to ""
What PG version is this exactly, what platform are you running it on,
and what locale environment are you running initdb in? (For the last
question, show the output of "locale", or if you don't have that
program then "env | grep ^L".)

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.