reinstall PosgresQL - wo ist template0?

Ich meinte eigentlich: ja - woher sonst sollte das Verzeichnis (und dessen Inhalt) stammen?

Trotzdem habe ich das jetzt nochmal versucht (erst su postgres, dann):

 /usr/lib/postgresql/8.4/bin/initdb -D /usr/local/psql/data

Der liefert mir jetzt aber:

could not change directory to "/root"
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 de_CH.UTF-8.
The default database encoding has accordingly been set to UTF8.
The default text search configuration will be set to "german".

creating directory /usr/local/psql/data ... initdb: could not create directory "/usr/local/psql": Keine Berechtigung

Das Verzeichnis existiert jedoch bereits mit owner “root” und group “postgres”. Die darunter liegenden Verzeishnisse /8.4/bin und /8.4/lib ebenfalls.

Soll ich dieses ganze Verzeichnis erst löschen?

Übrigens: Die ERSTE Meldung (could not change directory to “/root”) kommt mir auch spanisch vor. Woher kommt diese denn? Etwas falsch mit “passwd”? Das sieht bei mir so aus:

postgres:x:108:113:PostgreSQL administrator,,,:/usr/lib/postgresql/8.4/bin:/bin/bash

Nachtrag: Ich habe das Verzeichnis jetzt gelöscht und (natürlich via user postgres) mittels INITDB neu anlegen lassen. So sieht das aus:

could not change directory to "/root"
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 de_CH.UTF-8.
The default database encoding has accordingly been set to UTF8.
The default text search configuration will be set to "german".

creating directory /usr/local/psql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 24MB
creating configuration files ... ok
creating template1 database in /usr/local/psql/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.

Success. You can now start the database server using:

    /usr/lib/postgresql/8.4/bin/postgres -D /usr/local/psql/data
or
    /usr/lib/postgresql/8.4/bin/pg_ctl -D /usr/local/psql/data -l logfile start

Trotzdem: Logge ich mich mit phpgAdmin dort ein (nach einem Server-Restart, sicherheitshalber) sehe ich dort nur ein Schema “public” OHNE Tabellen, Sichten, Sequenzen, Funktionen und Domänen. Da sind keine “templates”…