Re: postgresql installation
Am Samstag, 30. April 2005 15:32 schrieb Markus Raab:
> 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
Die Installationsroutine sucht aber auf dem Server "Y"
> > 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".
Ja, das sind die Standardeinstellungen. Wenn du bei der Konfiguration
nix geändert hast ... ?
Ich hab's bei mir gerade vor ein paar Tagen installiert (Sarge, aktuelle
Pakete) - ohne Probleme.
> >> 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.
Sieht aber irgendwie komisch aus.
> Entweder das Paket oder meine Konfiguration hat einen Bug... Welche
> Konfiguration könnte das sein?
Ich würde einfach mal die pg-Pakete deinstallieren und löschen, danach
neu installieren (mit vorherigem neuen Download!) - vielleicht ist da
ja was nicht richtig mitgekommen.
Ansonsten hat deine Systemkonfiguration eine Macke - würde ich mla so
tippen.
--
Gruß
MaxX
Bitte beachten: Diese Mailadresse nimmt nur Listenmails entgegen.
Für PM bitte den Empfänger gegen den Namen in der Sig tauschen.
Reply to: