Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Problem mit lc-collect



Hi,

postgres(at)pgsql:~/data$ cd /usr/lib/postgresql/bin
postgres(at)pgsql:/usr/lib/postgresql/bin$ ./initdb -E UTF8
--lc-collate=de_DE.utf8 --lc-ctype=de_DE.utf8  /var/lib/postgres/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 locales:
  COLLATE:  de_DE.utf8
  CTYPE:    de_DE.utf8
  MESSAGES: C
  MONETARY: C
  NUMERIC:  C
  TIME:     C

fixing permissions on existing directory /var/lib/postgres/data/... ok
creating directory /var/lib/postgres/data//base... ok
creating directory /var/lib/postgres/data//global... ok
creating directory /var/lib/postgres/data//pg_xlog... ok
creating directory /var/lib/postgres/data//pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /var/lib/postgres/data//base/1... ok
initializing pg_shadow... ok
enabling unlimited row size for system tables... ok
initializing pg_depend... ok
creating system views... ok
loading pg_description... ok
creating conversions... ok
setting privileges on built-in objects... ok
creating information schema... ok
vacuuming database template1... ok
copying template1 to template0... ok

Success. The database server should be started automatically.
If not, you can start the database server using:

    /etc/init.d/postgresql start
postgres(at)pgsql:/usr/lib/postgresql/bin$

Diese initdb habe ich durchgeführt, nach dem ich Postmaster gestoppt habe
und DATA-Verzeichniss gelöscht habe.


> Am Freitag, 26. Mai 2006 09:52 schrieb Kennard Simon:
>> 1. ich habe den Server heruntergefahren : /etc/init.d/postgresql stop
>> 2. Data-Verzeichniss gelöscht : rm -r /var/lib/postgres/data/
>> 3. Initialisierung mit initdb (als postgres):
>> ./usr/lib/postgresql/bin/initdb -E UTF8 --lc_collate=de_DE.utf8
>> --lc_ctype=de_DE.utf8 /var/lib/postgres/data/
>
> Da hab ich schon mal meine Zweifel:
>
> $ initdb -E UTF8 --lc_collate=de_DE.utf8 --lc_ctype=de_DE.utf8 foo
> initdb: invalid option: --lc_collate=de_DE.utf8
> Try "initdb --help" for more information.
>
> Ich würde jedenfalls gerne mal die tatsächlichen Befehle mit Ausgabe
> sehen.
> Und dann mal direkt nach dem initdb ein pg_controldata ausführen und hier
> zeigen.
>
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
>
>





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group