[syslog-ng]syslog-ng 1.4.17 on Solaris 8

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Wed, 12 Mar 2003 14:54:15 -0500


Hi all,

	I am having a problem with syslog-ng 1.4.17 on solaris 8. When I
start syslog-ng I get parse errors at my firs "log" statement. Here is a
shortened syslog-ng.conf file I'm using. All destination files are created
and owned by root. Like I said, it dies at that first log statement (or any
log statement) with a "Parse error at line (line number), Parse error
reading configuration file, exiting. I have checked this over and over
again, I'm just not seeing it. Thanks in advance for any information! 

Oh, I know I should upgrade to the 1.5.x tree, I am fighting that battle
with our software maintainter now, I asked for "latest stable" and got
1.4.17. 

Eric Nelson
enelson@fleetcc.com

--------------------
source local { sun-streams("/dev/log" door("/etc/.syslog_door"));
internal(); };
source network { tcp(); udp(); };

destination authlog { file("/var/log/auth.log"); };
destination syslog { file("/var/log/syslog"); };
destination kern { file("/var/log/kern.log"); };
destination maillog { file("/var/log/maillog"); };

destination console { file("/dev/sysmesg"); };

destination switch { file("/data/logs/switch.log"); };
destination test { file("/data/logs/test.log"); };

destination debug { file("/var/log/debug"); };
destination messages { file("var/log/messages"); };

filter f_authpriv { facility(auth); };
filter f_syslog { not facility(auth) and not facility(mail); };
filter f_kern { facility(kern); };
filter f_mail { facility(mail); };

filter f_switch { facility(local6, local7); };

filter f_debug { not facility(kern, auth, mail, local6, local7, local4,
local0); };
filter f_messages { level(info .. warn) and not facility(kern, auth, mail,
local6, local7, local4, local0); }

log { source(local); filter(f_authpriv); destination(authlog); };