[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postgres Erst Installation



Hi,

Christoph Bühring schrieb:

Hallo Liste,
woran kann es liegen das ich auf meinem System (unstable) kein postgres installieren kann. (Weder stable, testing ncoh unstable).
Fehler Meldung:

ich setze mal voraus, das der Commandstring keinen Typo enthält :-)

su - postgres -c cd /var/lib/postgres; . ./.bash_profile; LANG=C initdb --encoding SQL_ASCII --pgdata /var/lib/postgres/data

dann passiert nämlich Folgendes:
1. su - postgres -c cd /var/lib/postgres;
2. Als der User (ich denke mal root) als der Du eingeloggt bist:
   . ./.bash_profile; LANG=C initdb --encoding etc.

You cannot run initdb as root. Please log in (using, e.g., 'su') as the (unprivileged) user that will own the server process.

alles klar?


mfg,

Chris


Gruss
Reinhold





Reply to: