postgresql-7.4.2-1 and fedora core 2 test
Markus Bertheau
twanger at bluetwanger.de
Wed Mar 17 20:07:08 UTC 2004
В Срд, 17.03.2004, в 10:29, Götz Reinicke пишет:
> Hi,
>
> I'd tried to install OGO on my Testserver, but it failed because I
> forgot to install postgresql.
>
> I downloaded the latest postgresql-*7.4.2-1, but couldn't start the server.
>
> [root at salvatore data]# /etc/init.d/postgresql start
> Datenbank initialisieren: [FEHLGESCHLAGEN]
> postgresql Service starten: [FEHLGESCHLAGEN]
>
> The Core 1 postgresql-7.3.4-11-out-of-the-box-installation worked on a
> different server.
>
> Any ideas??
Find this line in /etc/init.d/postgresql
su -l postgres -c "/usr/bin/initdb --pgdata=$PGDATA > /dev/null 2>&1" < /dev/null
and change it to
su -l postgres -c "/usr/bin/initdb --pgdata=$PGDATA > /var/log/pgsql 2>&1" < /dev/null
then find this line
su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o '-p ${PGPORT} ${PGOPTS}' start > /dev/null 2>&1" < /dev/null
and change it to
su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o '-p ${PGPORT} ${PGOPTS}' start > /var/log/pgsql 2>&1" < /dev/null
then look in /var/log/pgsql for the error messages.
--
Markus Bertheau <twanger at bluetwanger.de>
More information about the fedora-test-list
mailing list