>Args, sorry, I have not looked closely enough. You described the situation 
>very well in the initial post, but I failed to realize that two different 
>actions are used. Yup, that does not work with buffered mode. Sorry I 
>>overlooked that :-( Some time in the v7 time frame, we'll go to a consolidate 
>file stream cache, then the root problem will go away. But there are many 
>implications, e.g. the need for global locks, which we do not want.

thanks for your reply, i think i can split it into two file or use the 
expression-based filter to make it as one Action.

>      and find some probleam with 7.2.3:
>      runtime/.libs/librsyslog.la   line 41 , missing dependency_libs '-
> lz'
> ,will lead to link failure with zlib.
> 
>      while i start the rsyslog with
>      ./sbin/rsyslogd -x -4 -f ./rsyslog.conf -i ./rsyslog.pid
>      it won't go to background , as like the -d option used.
Just to double-check: have you set any debug options in the environment. In any 
case, I'll have a look at this. Could you file a bug?

Rainer

i double check it and redownload and recomile 7.2.3 , thease two problems exist:

while compiling:
export JSON_C_CFLAGS=-I/usr/include/lib 
export JSON_C_LIBS='-L/usr/local/lib -ljson' 
export LIBEE_CFLAGS=-I/usr/local/include 
export LIBEE_LIBS="-L/usr/local/lib -lee" 
export LIBESTR_CFLAGS='-I /usr/local/include' 
export LIBESTR_LIBS="-L/usr/local/lib -lestr" 

./configure --prefix=/home/rsyslog --enable-imfile --enable-imptcp 
--enable-omudpspoof --enable-omstdout --enable-omuxsock --enable-imtemplate 
--enable-omtemplate --enable-mysql 
make
...
  CC     rsyslogd-smtradfwd.o
  CC     rsyslogd-iminternal.o
  CC     rsyslogd-pidfile.o
  CCLD   rsyslogd
../runtime/.libs/librsyslog.a(librsyslog_la-parser.o): In function 
`uncompressMessage':
/home/downloads/rsyslog-7.2.3/runtime/parser.c:256: undefined reference to 
`uncompress'
collect2: ld returned 1 exit status
make[2]: *** [rsyslogd] Error 1
make[2]: Leaving directory `/home/downloads/rsyslog-7.2.3/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/downloads/rsyslog-7.2.3'
make: *** [all] Error 2

./runtime/.libs/librsyslog.la 
dependency_libs=' -ldl -lrt -L/usr/local/lib /usr/local/lib/libee.la 
/usr/local/lib/libestr.la -lm ' 
seems missing -lz ,  after adding it the compile pass.


while start the rsyslogd , using 
./sbin/rsyslogd -x -4 -f ./rsyslog.conf -i ./rsyslog.pid
 it won't go to background , as like the -d option used, there are no any 
RSYSLOG_DEBUG env set.
because i use the old start script , and the same environment. , 5.8.7 and 
5.8.13 and 5.10.1 is fine.

but i don't know whether this problem is due to the compile error or my very 
old centos 5.8 ...
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to