Re: [ADMIN] pgsql.sh
От | Jason Boxman |
---|---|
Тема | Re: [ADMIN] pgsql.sh |
Дата | |
Msg-id | Pine.BSF.3.96.981123233722.23743A-100000@cyber.cybertechs.com обсуждение исходный текст |
Ответ на | Re: [ADMIN] pgsql.sh (Jonah Kuo <jonahk@mail.lbfe.org.tw>) |
Список | pgsql-admin |
On Tue, 24 Nov 1998, Jonah Kuo wrote: > 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 since giving misinformation; I just double > > checked my own init.d script and it is, in fact, correctly stated above. Well, > > after I fixed my mistake... *grin*.) > > > > No matter I use "...> /usr/local/pgsql/errlog &" or > "...> /usr/local/pgsql/errlog 2>&1 &", it still send errlog to the console and > the errlog size is always zero, any further ideas? 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 more help, but I hope someone else can. > Thanks in advance. > > > Jonah > >
В списке pgsql-admin по дате отправления: