Re: Is Postgres broken in Red Hat 9? - Mailing list pgsql-general

From Richard Welty
Subject Re: Is Postgres broken in Red Hat 9?
Date
Msg-id E19ZxPV-0002nK-HR@skipper.averillpark.net
Whole thread Raw
In response to Re: Is Postgres broken in Red Hat 9?  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-general
On Tue, 8 Jul 2003 11:40:15 -0600 (MDT) "scott.marlowe" <scott.marlowe@ihs.com> wrote:

> You may have a firewall setup to block all ports by default.
> firewall-config or something like it was the name of the firewall config
> util in 7.2.

in recent redhats, this is likely it.

sudo /sbin/ipchains -L

to see the current ipchains firewall rules,

sudo /sbin/iptables -L

for iptables. i've not run RH 9 yet, so i don't know what the defaults are
here, but i've had this problem on slightly older releases, so there are no
suprises if this is the problem.

you can either learn enough about iptables/ipchains to punch a hole, but to
make sure that it will solve the problem, try shutting the whole think down
first:

sudo /etc/rc.d/init.d/ipchains stop
sudo /etc/rc.d/init.d/iptables stop

after that, see if the network clients can connect.

richard
--
Richard Welty                                         rwelty@averillpark.net
Averill Park Networking                                         518-573-7592
    Java, PHP, PostgreSQL, Unix, Linux, IP Network Engineering, Security

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Is Postgres broken in Red Hat 9?
Next
From: Tom Lane
Date:
Subject: Re: PG crash on simple query, story continues