[syslog-ng] Help

Patrick H. syslogng at feystorm.net
Fri May 28 19:09:52 CEST 2010


Without seeing your config, I dont know. But I would also advise taking 
care of all those warnings you get when starting it up. Many of them can 
be taking care of just by specifying the config as a version 3 config.

Sent: Friday, May 28, 2010 10:36:02 AM
From: Chaitanya Sangawar <CS0048029 at TechMahindra.com>
To: Syslog-ng users' and developers' mailing list 
<syslog-ng at lists.balabit.hu>, Patrick H. <syslogng at feystorm.net>
Subject: Re: [syslog-ng] Help
>
> Hello Patrick,
>
>  
>
> I have a feeling that my installation is successful but I am not able 
> to run it.
>
>  
>
> Like for eg. I created a source file (tmp) and a destination file 
> (tmpout). Added a dump entry abcd in tmp and executed syslog-ng as 
> below command:
>
> /opt/syslog-ng/sbin/syslog-ng -f /opt/syslog-ng/etc/syslog-ng.conf -p 
> /var/run/syslog-ng.pid &
>
> [1] 2028
>
> [root at emsbayapm46] # Configuration file has no version number, 
> assuming syslog-ng 2.1 format. Please add @version: maj.min to the 
> beginning of the file;
>
> WARNING: global: the default value of chain_hostnames is changing to 
> 'no' in version 3.0, please update your configuration accordingly;
>
> WARNING: input: sources do not remove new-line characters from 
> messages by default in version 3.0, please add 'no-multi-line' flag to 
> your configuration if you want to retain this functionality;
>
> WARNING: file source: default value of follow_freq in file sources is 
> changing in 3.0 to '1' for all files except /proc/kmsg;
>
> WARNING: template: the default value for template-escape is changing 
> to 'no' in version 3.0, please update your configuration file accordingly;
>
> WARNING: filters do not store matches in macros by default in 3.0, 
> please update your configuration by using an explicit 'store-matches' 
> flag to achieve that;
>
> WARNING: the match() filter without the use of the value() option is 
> deprecated and hinders performance, please update your configuration;
>
>  
>
> [1]+  Done                    /opt/syslog-ng/sbin/syslog-ng -f 
> /opt/syslog-ng/etc/syslog-ng.conf -p /var/run/syslog-ng.pid
>
>  
>
> All the contents from tmp moved to tmpout, so I think it is working.
>
>  
>
> The problem is now… when I have it running as a daemon, when I make 
> entries in /tmp after this , the data is not written in tmpout.
>
>  
>
> Can you please let me know what is missing and how can I run it as a 
> daemon so all the time the entries are ready and diverted?
>
>  
>
> Thanks & Regards,
>
> Chaitanya S
>
>  
>
>  
>
> *From:* syslog-ng-bounces at lists.balabit.hu 
> [mailto:syslog-ng-bounces at lists.balabit.hu] *On Behalf Of *Patrick H.
> *Sent:* Thursday, May 27, 2010 10:14 AM
> *To:* Syslog-ng users' and developers' mailing list
> *Subject:* Re: [syslog-ng] Help
>
>  
>
> Ya, dont use a linux init script on solaris, it wont work (without 
> significant tweaking).
> You can download solaris software from sunfreeware.com 
> (http://www.sunfreeware.com/programlistsparc10.html#syslogng)
> And no on the valid for a month thing. That would be a violation of 
> the GPL.
>
> Sent: Wednesday, May 26, 2010 10:35:20 PM
> From: Chaitanya Sangawar <CS0048029 at TechMahindra.com> 
> <mailto:CS0048029 at TechMahindra.com>
> To: Syslog-ng users' and developers' mailing list 
> <syslog-ng at lists.balabit.hu> <mailto:syslog-ng at lists.balabit.hu>
> Subject: Re: [syslog-ng] Help
>
> I tried to use init.d script from a rpm version on solaris but for 
> some reason it doesn't execute as is n I can't get it started as 
> daemon. When I run syslog-ng, it works one time. I will go through the 
> site also.
>
> Where can I get pre compiled version aren't they vad only for a month?
>
> Thanks,
> Chaitanya S
>
> Sent from HTC
>
> ------------------------------------------------------------------------
>
> *From: *Patrick H. <syslogng at feystorm.net> <mailto:syslogng at feystorm.net>
> *Sent: *Thursday, 27 May 2010 1:15 AM
> *To: *Syslog-ng users' and developers' mailing list 
> <syslog-ng at lists.balabit.hu> <mailto:syslog-ng at lists.balabit.hu>
> *Subject: *Re: [syslog-ng] Help
>
> I loathe compiling on solaris, and try to avoid it wherever possible. 
> If the only reason youre not using the pre-compiled package is the 
> lack of init script, then it'd be easier to get an init script than 
> compile a new syslog-ng. If anything, you can just yank the init 
> script from the source and use it with the pre-compiled version. If 
> youre using solaris 10, then the proper way is to use the SMF 
> manifests. A good source is 
> http://hub.opensolaris.org/bin/view/Community+Group+smf/manifests and 
> there's one for syslog-ng listed there.
>
> Sent: Wednesday, May 26, 2010 1:30:25 PM
> From: Chaitanya Sangawar <CS0048029 at TechMahindra.com> 
> <mailto:CS0048029 at TechMahindra.com>
> To: syslog-ng at lists.balabit.hu <mailto:syslog-ng at lists.balabit.hu> 
> <syslog-ng at lists.balabit.hu> <mailto:syslog-ng at lists.balabit.hu>
> Subject: [syslog-ng] Help
>
> Hello All,
>
>  
>
> I am not sure if this is a forum where I can post some help I would 
> require but would appreciate if it is.
>
> I have been trying to install syslog-ng open source on Solaris since 
> quite sometime and now I am almost giving up.
>
>  
>
> After installing I would have presumed to have /etc/init.d/syslog-ng 
> file created but it wasn’t.
>
> Also now I am not able to do “make” to syslog-ng , observing the 
> following error.
>
>  
>
> Can anyone help me why this is happening?
>
> Is it related to PATH / PKG_CONFIG_PATH or something ? Something or 
> the other is happening and always ending up not able to complete the 
> installation.
>
>  
>
> # echo $PATH
>
> /usr/bin:/usr/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/bin:/usr/sbin:/opt/local/bin:/usr/local/bin:/opt/local/scripts/common:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/bin/nsr:/usr/sbin/nsr:/usr/ccs/bin:/usr/local/bin:/usr/sfw/bin:/usr/lib:/usr/lib:/usr/local/lib:/usr/local/bin:/usr/sfw/bin:/usr/sfw/bin
>
> echo $PKG_CONFIG_PATH
>
> /usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/:/usr/sfw/bin
>
>  
>
> make
>
> make  all-recursive
>
> Making all in src
>
> lex   cfg-lex.l
>
> "cfg-lex.l":line 263: Error: missing translation value
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `cfg-lex.c'
>
> Current working directory /opt/syslog-ng-3.0.4/src
>
> *** Error code 1
>
> The following command caused the error:
>
> failcom='exit 1'; \
>
> for f in x $MAKEFLAGS; do \
>
>   case $f in \
>
>     *=* | --[!k]*);; \
>
>     *k*) failcom='fail=yes';; \
>
>   esac; \
>
> done; \
>
> dot_seen=no; \
>
> target=`echo all-recursive | sed s/-recursive//`; \
>
> list='src tests doc contrib debian tgz2build'; for subdir in $list; do \
>
>   echo "Making $target in $subdir"; \
>
>   if test "$subdir" = "."; then \
>
>     dot_seen=yes; \
>
>     local_target="$target-am"; \
>
>   else \
>
>     local_target="$target"; \
>
>   fi; \
>
>   (cd $subdir && make  $local_target) \
>
>   || eval $failcom; \
>
> done; \
>
> if test "$dot_seen" = "no"; then \
>
>   make  "$target-am" || exit 1; \
>
> fi; test -z "$fail"
>
> make: Fatal error: Command failed for target `all-recursive'
>
> Current working directory /opt/syslog-ng-3.0.4
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `all'
>
>  
>
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.============================================================================================================================
>
> ------------------------------------------------------------------------
>
>
>   
>  
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>  
>   
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.============================================================================================================================
>
>  
> ------------------------------------------------------------------------
>
>
>   
>  
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>  
>   
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.============================================================================================================================
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100528/937d4403/attachment-0001.htm 


More information about the syslog-ng mailing list