<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I've been using version 2 for a couple
of years and decided to upgrade one of my systems to version 3, but my
syslog-ng.conf file doesn't seem to work. I can't figure out the
error and am hoping someone can give me a hand.</font>
<br>
<br><font size=2 face="sans-serif">Here's the error:</font>
<br>
<br><font size=2 face="sans-serif"># </font><tt><font size=2>/usr/local/sbin/syslog-ng
-v -s -f /etc/syslog-ng/syslog-ng.conf</font></tt>
<br><font size=2 face="sans-serif"><b>Error parsing command line arguments:
Conversion from character set '646' to 'UTF-8' is not supported</b></font>
<br>
<br><font size=2 face="sans-serif">Here's a sanitized version of my conf
file:</font>
<br>
<br><tt><font size=2>/etc/syslog-ng/syslog-ng.conf</font></tt>
<br>
<br><tt><font size=2>options {</font></tt>
<br><tt><font size=2> stats(0);</font></tt>
<br><tt><font size=2> sync(0);</font></tt>
<br><tt><font size=2> time_reopen(1);</font></tt>
<br><tt><font size=2> log_fifo_size(4096);</font></tt>
<br><tt><font size=2> long_hostnames(off);</font></tt>
<br><tt><font size=2> use_dns(no);</font></tt>
<br><tt><font size=2> use_fqdn(no);</font></tt>
<br><tt><font size=2> create_dirs(yes);</font></tt>
<br><tt><font size=2> keep_hostname(yes);</font></tt>
<br><tt><font size=2>};</font></tt>
<br>
<br><tt><font size=2>source sys {</font></tt>
<br><tt><font size=2> sun-streams("/dev/log"
door("/etc/.syslog_door"));</font></tt>
<br><tt><font size=2> internal();</font></tt>
<br><tt><font size=2> udp();</font></tt>
<br><tt><font size=2> tcp(ip("0.0.0.0")
port(5150) max-connections(300));</font></tt>
<br><tt><font size=2>};</font></tt>
<br>
<br><tt><font size=2>filter notdebug
{</font></tt>
<br><tt><font size=2> level(info...emerg);</font></tt>
<br><tt><font size=2>};</font></tt>
<br><tt><font size=2>destination perhost {</font></tt>
<br><tt><font size=2> file("/var/log/perhost/$HOST.log.$YEAR$MONTH$DAY");</font></tt>
<br><tt><font size=2>};</font></tt>
<br><tt><font size=2>log {</font></tt>
<br><tt><font size=2> source(sys);</font></tt>
<br><tt><font size=2> filter(notdebug);</font></tt>
<br><tt><font size=2> destination(perhost);</font></tt>
<br><tt><font size=2>};</font></tt>
<br>
<br><tt><font size=2>destination syslogserver {</font></tt>
<br><tt><font size=2> tcp("10.1.1.20"
port(5150));</font></tt>
<br><tt><font size=2>};</font></tt>
<br><tt><font size=2>log {</font></tt>
<br><tt><font size=2> source(sys);</font></tt>
<br><tt><font size=2> filter(notdebug);</font></tt>
<br><tt><font size=2> destination(syslogserver);</font></tt>
<br><tt><font size=2>};</font></tt>
<br>
<br>
<br><font size=2 face="sans-serif">Any suggestions?<br>
<br>
</font>