Matthew Hixson wrote:
> I think this might be part of the problem: from 'man postmaster'
>
> " -S Specifies that the postmaster process should start up in silent mode.
> That is, it will
> disassociate from the user's (controlling) tty and start its
> own process group. This
>
On Tue, 24 Nov 1998, Jonah Kuo wrote:
> > -S -o -F 2>&1 > /usr/local/pgsql/errlog' &
>
> It still doesn't help, I have bash installed in /usr/local/bin, then
> I modified the first line to #!/usr/local/bin/bash, amd modified
> the line you wrote above, then try again, then result in same.
>
>
Matthew Hixson wrote:
> On this line:
>
> -S -o -F > /usr/local/pgsql/errlog' &
>
> Modify it to look like this:
>
> -S -o -F 2>&1 > /usr/local/pgsql/errlog' &
>
> Assuming this script runs through bash it will direct standard error
> (stderr) to standard output (stdout). All output will be sent
On Mon, 23 Nov 1998, Jonah Kuo wrote:
> Hello,
>
> First of all, I apologize if this has been discussed before.
>
> I have this startup script 'pgsql.sh' on my FreeBSD-3.0 system,
> everything goes fine except I can't have error messages send to
> the file I specified in this script
>
> #!/bin
Jason Boxman wrote:
> On Tue, 24 Nov 1998, Jonah Kuo wrote:
> Perhaps the user you're running it as (should be postgres user) doesn't
> have write permissions to that directory? Can you cat >
> /usr/local/pgsql/errlog and add stuff manually as the postgres user? I
> don't think I can be too much
Jason Boxman wrote:
> Just an offhand guess, but maybe you need to also redirect STERR in addition to
> STOUT to /usr/local/pgsql/errlog? Shell scripts have never been my thing, but
> isn't it something like "... > /usr/local/pgsql/errlog 2>&1 &" or something
> along those lines perhaps? (No sin
Hello,
First of all, I apologize if this has been discussed before.
I have this startup script 'pgsql.sh' on my FreeBSD-3.0 system,
everything goes fine except I can't have error messages send to
the file I specified in this script
#!/bin/sh
[ -x /tmp/.s.PGSQL.* ] && rm -f /tmp/.s.PGSQL.*
[ -x