Hi Gerrit, as I thought, a small (but somewhat hard to spot) problem with the grammar: dashes inside property names were not correctly processed. Patch is available here:
http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=6ce87411a6c93b674a9c8139 28bc853620a4ae3b (the time was off on the system...) I'll probably do a new release today, even though not much has changed... Thanks again for reporting this problem! Rainer > -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Gerrit Seré > Sent: Friday, September 16, 2011 4:04 PM > To: [email protected] > Subject: [rsyslog] installing,trying 6.3.4 => error 2207 > > Hey, > > I was looking at the version 6.3.4 and I did a standard installation: > > # lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 10.04.3 LTS > Release: 10.04 > Codename: lucid > > # ./configure --prefix=/opt/rsyslog/rsyslog-6.3.4 > > # /var/tmp/rsyslog-6.3.4# /opt/rsyslog/rsyslog-6.3.4/sbin/rsyslogd -v > rsyslogd 6.3.4, compiled with: > FEATURE_REGEXP: Yes > FEATURE_LARGEFILE: No > GSSAPI Kerberos 5 support: No > FEATURE_DEBUG (debug build, slow code): No > 32bit Atomic operations supported: Yes > 64bit Atomic operations supported: No > Runtime Instrumentation (slow code): No > > See http://www.rsyslog.com for more information. > > Then some extra config: > > > # cat /etc/rsyslog.conf > # /etc/rsyslog.conf Configuration file for rsyslog. > # > # For more information see > # /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html > # > # Default logging rules can be found in /etc/rsyslog.d/50-default.conf > > > ################# > #### MODULES #### > ################# > > $ModLoad imuxsock # provides support for local system logging > $ModLoad imklog # provides kernel logging support (previously done by > rklogd) > $ModLoad immark # provides --MARK-- message capability > > $KLogPath /proc/kmsg > > # provides UDP syslog reception > $ModLoad imudp > $UDPServerRun 514 > > # provides TCP syslog reception > $ModLoad imtcp > $InputTCPServerRun 514 > > > ########################### > #### GLOBAL DIRECTIVES #### > ########################### > > # > # Use traditional timestamp format. > # To enable high precision timestamps, comment out the following line. > # > $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat > > # Filter duplicated messages > $RepeatedMsgReduction on > > # > # Set the default permissions for all log files. > # > $FileOwner syslog > $FileGroup adm > $FileCreateMode 0640 > $DirCreateMode 0755 > $Umask 0022 > $PrivDropToUser root > $PrivDropToGroup root > > # > # Include all config files in /etc/rsyslog.d/ # $IncludeConfig > /etc/rsyslog.d/*.conf > > # cat /etc/rsyslog.d/10-local.conf > $template DynaFile,"/var/log/servers/system-%HOSTNAME%.log" > *.* -?DynaFile > > :fromhost-ip, !isequal, "127.0.0.1" ~ > > # /opt/rsyslog/rsyslog-6.3.4/sbin/rsyslogd > rsyslogd: run failed with error -2207 (see rsyslog.h or try > http://www.rsyslog.com/e/2207 to learn what that number means) > > I change the config: > > # cat /etc/rsyslog.d/10-local.conf > $template DynaFile,"/var/log/servers/system-%HOSTNAME%.log" > *.* -?DynaFile > > #:fromhost-ip, !isequal, "127.0.0.1" ~ > > Then, it will start the daemon. Is it a bug? > > Regards, > Gerrit > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

