How do I pass the -i option during boot time?
How do I pass the -i option during boot time?
От:
geotronix <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
Re: How do I pass the -i option during boot time?
От:
"Corey W. Gibbs" <cgibbs@westmarkproducts.com>
Дата:
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
Re: How do I pass the -i option during boot time?
От:
Joerg Hessdoerfer <Joerg.Hessdoerfer@sea-gmbh.com>
Дата:
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
Re: How do I pass the -i option during boot time?
От:
Doug McNaught <doug@wireboard.com>
Дата:
Joerg Hessdoerfer 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...