Re: starting the postmaster

From: Brian <Brrrian(at)Excite(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: starting the postmaster
Date: 2002-03-08 19:04:30
Message-ID: 5.1.0.14.2.20020308110346.02f04560@mail.attbi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Bingo.... perfect... that works well.
Thank you for helping.

At 08:38 AM 3/8/02 +0000, you wrote:
>On Friday 08 March 2002 01:15, Brian wrote:
>> Hi John,
>>
>> I am getting a FAILED notice on your construction.
>>
>> if I delete the >/dev/null 2>&1 I can see:
>>
>> /usr/bin/pg_ctl: /usr/bin/postmaster -i: No such file or directory
>>
>> as a response...
>>
>
>Hmmm...
>That works for me with postgres 7.1, but having looked at the pg_ctl manual page, it probably isn't the
>best way to do it.
>
>You probably need to use the -o option to pg_ctl ...
>su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o '-i' start > /dev/null 2>&1" < /dev/null
>
>Regards
>JohnT
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster

Browse pgsql-novice by date

  From Date Subject
Next Message Joel Burton 2002-03-08 19:41:45 Re: FATAL 1: Database template0 not accepting connection?
Previous Message Josh Berkus 2002-03-08 18:37:28 Re: [NOVICE] Conditional constraint?