LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Ian Hogben <hogbender@westnet.com.au>
To : Daryl Tester <Daryl.Tester@iocane.com.au>
Date: Wed, 1 Jan 2003 22:11:22 +0800
RE:
I remember you too. Long time no post. Perth is a lovely place and all,
but it can't beat this list. ;-)
I *did* do it as a pair, and I absolutely positively detest Outlook's
meddling ways. I type in a lowercase I and - damn! There it goes again!
Autocorrect! ARGH!
In the end, I gave up on that and modified the conf file. I should have
looked at that first but I figured I *could* do it using the init.d
script, so why not? The only way I learn sometimes is by doing things
the hard way. In this case, I learnt to edit the conf file and avoid the
script. ;-)
Thanks to Daryl, Jarrod and Steve!
-Ian
* -----Original Message-----
* From: dt@zen.localdomain [mailto:dt@zen.localdomain] On
* Behalf Of Daryl Tester
* Sent: Wednesday, 1 January 2003 12:01 PM
* To: Ian Hogben
* Cc: linuxsa@linuxsa.org.au
* Subject: Re:
*
*
* Ian Hogben wrote:
*
* > Hello, list:
*
* I remember you. :-)
*
* > su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -o "-I -p
* > 5432" -p /usr/bin/postmaster start > /dev/null 2>&1" < /dev/null
* >
* > Problem is, I have tried the ' character and also \" but it still
* > doesn't work. I know it's a simple matter to pass these quotes
* > through, but I don't know what it is. ;-)
*
* Either ' or \" should have worked. You did do it as a pair,
* didn't you? i.e. :
*
* su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -o
* \"-I -p 5432\" -p /usr/bin/postmaster start > /dev/null
* 2>&1" < /dev/null
*
* -or-
*
* su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -o
* '-I -p 5432' -p /usr/bin/postmaster start > /dev/null 2>&1"
* < /dev/null
*
* Having said that, is -I the correct option? I'm unsure which
* version of Postgres you're using, but for 7.1.3 it looks like
* "-i" to enable TCP operation (after also modifying the
* pg_hba.conf file).
*
*
* --
* Regards,
* Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd.
*
* "If you've studied your Floyd properly, you'd know that pigs
* could fly."
* -- Primus
*
* --
* LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on
* irc.openprojects.net To unsubscribe from the LinuxSA list:
* mail linuxsa-request@linuxsa.org.au with "unsubscribe" as
* the subject
*
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.openprojects.net
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page