[syslog-ng] Solaris 10 x86 configuration not working

mwilson at hjf.org mwilson at hjf.org
Fri Apr 3 20:57:46 CEST 2009


Hello,

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.

Here's the error:

# /usr/local/sbin/syslog-ng -v -s -f /etc/syslog-ng/syslog-ng.conf
Error parsing command line arguments: Conversion from character set '646' 
to 'UTF-8' is not supported

Here's a sanitized version of my conf file:

/etc/syslog-ng/syslog-ng.conf

options {
        stats(0);
        sync(0);
        time_reopen(1);
        log_fifo_size(4096);
        long_hostnames(off);
        use_dns(no);
        use_fqdn(no);
        create_dirs(yes);
        keep_hostname(yes);
};

source          sys {
        sun-streams("/dev/log" door("/etc/.syslog_door"));
        internal();
        udp();
        tcp(ip("0.0.0.0") port(5150) max-connections(300));
};

filter          notdebug {
        level(info...emerg);
};
destination     perhost {
        file("/var/log/perhost/$HOST.log.$YEAR$MONTH$DAY");
};
log {
        source(sys);
        filter(notdebug);
        destination(perhost);
};

destination     syslogserver {
        tcp("10.1.1.20" port(5150));
};
log {
        source(sys);
        filter(notdebug);
        destination(syslogserver);
};


Any suggestions?

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090403/edd0ac14/attachment.html 


More information about the syslog-ng mailing list