starting postgres on red hat

From: Mark Gordon <mark(at)telesoft(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: starting postgres on red hat
Date: 2001-05-22 14:57:08
Message-ID: 20010522.14570800@mark.sunbelt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Running redhat 7.1

I am using JDBC to access my postgres database. If i use the
/etc/init.d/postgressql start shell script the database does not start
with the -i option for tcp/ip access.

I added the -i option to the portion of the script below bit it didn't
work.

echo -n "$PSQL_START"
su -l postgres -c "LC_ALL=C /usr/bin/pg_ctl -D $PGDATA
-p /usr/bin/postmaster start >/dev/null 2>&1" < /dev/null
sleep 1
pid=`pidof postmaster`

If I start the postmaster from a shell with the -i option it works fine.

Thanks,

Mark (mark(at)telesoft(dot)com)

Browse pgsql-novice by date

  From Date Subject
Next Message Mark Gordon 2001-05-22 15:23:10 starting postgres on red hat
Previous Message harrold 2001-05-22 13:05:05 Re: toast examples.