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

Re: postgresql installation



Matthias Houdek wrote:

> Am Samstag, 30. April 2005 12:22 schrieb Markus Raab:
>> Wenn ich unter Debian Sarge postgresql installieren[0] will, kommt
>> folgende Fehlermeldung:
>>
>> Creating config file /etc/postgresql/postgresql.conf with new version
>> postgresql failed to start. /usr/sbin/invoke-rc.d is probably broken.
>> Stopping PostgreSQL database server: postmasterpg_ctl: could not find
>> Y/postmaster.pid
>> Is postmaster running?
>> .
>> Starting PostgreSQL database server: postmaster(FAILED)
>> ERROR: There is no PostgreSQL database framework in Y.
>> Run initdb as the postgres user to create it
> 
> Dein Host heist Y?

Nicht das ich wüßte.
markus:~$ hostname
hyperbyte
markus:~$ uname -n
hyperbyte

> Ansonsten steht da: Run initdb as the postgres user to create it
> 
> also: su postgres | initdb

root:~# su postgres -c initdb
sh: line 1: initdb: command not found

abgesehen davon wurde initdb eigentlich eh schon von der
installationsroutine aufgerufen:

root:/var/lib/postgres# su postgres -c '/usr/lib/postgresql/bin/initdb
-D /var/lib/postgres'
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_AT@euro.

initdb: directory "/var/lib/postgres" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/lib/postgres" or run initdb with an argument other
than
"/var/lib/postgres".

>> Funktioniert genauso nicht. Ich kann keine neuen Tabels o.ä. anlegen:
>> createdb: konnte nicht mit Datenbank template1 verbinden: konnte
>> nicht mit dem Server verbinden: 8ä·@Ý·
> 
> Du hast ein Zeichensatzproblem?

Habs gerade mit Zeichensatz "C" installiert, hat nichts geändert.

Entweder das Paket oder meine Konfiguration hat einen Bug... Welche
Konfiguration könnte das sein?

mfg Markus


-- 
http://www.markus-raab.org | Frei atmen macht das Leben nicht allein. 
                      -o)  | -- Goethe, Iphigenie  
Kernel 2.6.11          /\  | 
on a i686             _\_v | 



Reply to: