From: David Lizano <david.lizano@izanet.com>
To: pgsql-admin@postgresql.org
Subject: Bugs in PostgreSQL v7.1 rpms for RedHat
Date: Thu, 19 Apr 2001 00:51:03 +0200
Message-ID: <4.3.2.7.0.20010418231401.00bfbc10@mail.izanet.com> (raw)
I have installed PostgreSQL v7.1 in RedHat from RPM's and I have find some
bugs:
Stopping the service:
===============
When '/etc/rc.d/init.d/postgresql stop' try to stop 'postmaster' can't find
the 'postmaster.pid' file, and don't stop the postmaster daemon.
Y think it try to get in from $PGDATA/postmaster.pid , and it is locate in
'/var/run/postmaster.pid', so it don't works.
In the stop zone add:
killall -TERM postmaster
logs
===
The logs goes to /dev/null.
change "pg_ctl > /dev/null"
by
"pg_ctl > var/log/postgresql"
Access 'postmaster' through TCP/IP (it is not formerly a bug)
============================================
By default yo can't acces through TCP/IP, add this:
-o '-i'
then:
pg_ctl -o '-i'
Starting "PostgreSQL" when the server does.
================================
The installation script don't do this, you must do it if you wants that
'postmaster' starts when the server does.
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc3.d/S50postgresql
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc4.d/S50postgresql
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc5.d/S50postgresql
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc0.d/K25postgresql
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc1.d/K25postgresql
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc2.d/K25postgresql
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc6.d/K25postgresql
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Lizano - Director área técnica
correo-e: david.lizano@izanet.com
I Z A N E T - Servicios integrales de internet.
web: http://www.izanet.com/
Dirección: C/ Checa, 57-59, 3º D - 50.007 Zaragoza (España)
Teléfono: +34 976 25 80 23 Fax: +34 976 25 80 24
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: david.lizano@izanet.com
Subject: Re: Bugs in PostgreSQL v7.1 rpms for RedHat
In-Reply-To: <4.3.2.7.0.20010418231401.00bfbc10@mail.izanet.com>
References: <4.3.2.7.0.20010418231401.00bfbc10@mail.izanet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox