Article delegate-en/2877 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A2876@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: problems with delegate version 8.11.1
29 Mar 2005 21:34:56 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

Thank you for your so detailed information.

In message <_A2876@delegate-en.ML_> on 03/30/05(01:13:27)
you Daniel Spratlen <pgufqbdyi-auoevhfozonr.ml@ml.delegate.org> wrote:
 |(gdb) where
...
 |#13 fileno (fp=0xffffffff) at fileno.c:37
 |#14 0x0806b587 in open_logtmpfile ()
 |#15 0x0806b7a8 in open_logfile ()
 |#16 0x0806bc7a in LOG_open ()
 |#17 0x0804d513 in setSTDLOG ()
 
This back-trace seems to show that the DeleGate failed to make a logfile
to record stdout/stderr of DeleGate and its child processes, which is
introduced at 8.9.3, to be created as 

  "${LOGDIR}/stdout.log"

I'll fix it as the enclosed patch in the next release.  Thank you.

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller


*** dist/delegate8.11.1/src/log.c	Tue Mar  1 08:25:11 2005
--- src/log.c	Wed Mar 30 06:16:44 2005
***************
*** 643,648 ****
--- 643,649 ----
  		fp = NOLOG;
  	}
  
+ 	if( fp != NOLOG )
  	if( Logf->l_filters && streq(Logf->l_filters,"STDOUTLOG") ){
  		dup2(fileno(fp),1);
  		dup2(fileno(fp),2);

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V