How do I pass the -i option during boot time?

Started by geotronixabout 24 years ago4 messagesgeneral
Jump to latest
#1geotronix
antonio@geolandia.home

Hi.

I Upgraded to version 7.1.3 on my RH7.1 and it seems that this version
of postgresql doesn't have network activeated by default. Ho do I
specify to the postmaster that it must start with the -i option through
the /etc/rc.d/init.d/postgresql script.
Do I have to set something in the config files in /var/lib/pgsql/data?

Thanks

#2Corey W. Gibbs
cgibbs@westmarkproducts.com
In reply to: geotronix (#1)
Re: How do I pass the -i option during boot time?

Good Morning,
here's what i had to do to get it to work, it's using the -o option
so the line in my /etc/rc.d/init.d/postgresql looks like:

su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start -o -i > /dev/null 2>&1" < /dev/null

hope it helps
corey

-----Original Message-----
From: geotronix [SMTP:antonio@geolandia.home]
Sent: Sunday, March 03, 2002 8:44 AM
To: pgsql-general@postgresql.org
Subject: [GENERAL] How do I pass the -i option during boot time?

Hi.

I Upgraded to version 7.1.3 on my RH7.1 and it seems that this version
of postgresql doesn't have network activeated by default. Ho do I
specify to the postmaster that it must start with the -i option through
the /etc/rc.d/init.d/postgresql script.
Do I have to set something in the config files in /var/lib/pgsql/data?

Thanks

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

#3Joerg Hessdoerfer
Joerg.Hessdoerfer@sea-gmbh.com
In reply to: geotronix (#1)
Re: How do I pass the -i option during boot time?

Hi,

On Sunday 03 March 2002 17:44, you wrote:

Hi.

I Upgraded to version 7.1.3 on my RH7.1 and it seems that this version
of postgresql doesn't have network activeated by default. Ho do I
specify to the postmaster that it must start with the -i option through
the /etc/rc.d/init.d/postgresql script.
Do I have to set something in the config files in /var/lib/pgsql/data?

Thanks

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Just edit /var/lib/pgsql/data/postmaster.opts, add the '-i'. Done.

Greetings,
Joe
--
Leading SW developer - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW: http://www.sea-gmbh.com

#4Doug McNaught
doug@wireboard.com
In reply to: geotronix (#1)
Re: How do I pass the -i option during boot time?

Joerg Hessdoerfer <Joerg.Hessdoerfer@sea-gmbh.com> writes:

I Upgraded to version 7.1.3 on my RH7.1 and it seems that this version
of postgresql doesn't have network activeated by default. Ho do I
specify to the postmaster that it must start with the -i option through
the /etc/rc.d/init.d/postgresql script.
Do I have to set something in the config files in /var/lib/pgsql/data?

Just edit /var/lib/pgsql/data/postmaster.opts, add the '-i'. Done.

I think it's better to instead set 'tcpip_socket = true' in
postgresql.conf.

-Doug
--
Doug McNaught Wireboard Industries http://www.wireboard.com/

Custom software development, systems and network consulting.
Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...