global options problems on Solaris 7/sparc
Hi, I'm putting the following items in the global options section, but syslog-ng keeps complaining about parse errors in my config file, specifically the "owner", "group", "perm", and "dir_perm" options. I'm running libol-0.2.20 and syslog-ng.1.4.7, though it happened with libol-0.2.19 and syslog-ng.1.4.5 as well: ############################# # options ############################# options { use_dns(yes); use_fqdn(no); long_hostnames(off); sync(0); create_dirs(yes); owner(0); group(1); perm(0600); dir_perm(0755); }; Any help would be most appreciated. Tom -- Tom Wells Raza Foundries, Inc. email: twells@razafoundries.com Sr. Systems Administrator phone: 408-434-5544
perm(0600); dir_perm(0755); someone correct me if i am wrong, but the perm options belong in your destination statement. here is an example from my conf
destination d_faci { file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/$FACILITY" perm(0600)); }; Chris Scheller Network One Internet, inc. http://www.networkone.net/ System/Network Administration 1.888.GOT-NET1
participants (2)
-
Chris Scheller
-
Tom Wells