[syslog-ng] Solaris 10 x86 configuration not working
Kimmo Jaskari
kimmo.jaskari at paf.com
Mon Apr 6 12:50:06 CEST 2009
On Fri, 2009-04-03 at 21:57 +0300, mwilson at hjf.org wrote:
> 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
This has nothing to do with your config file per se. I had this issue
myself and it took a while to figure out where the problem was.
What is needed is a charset.alias file; in my case I put it
in /usr/local/lib/charset.alias. I put in a generic one I simply plucked
off the web for Solaris 10 since that was enough to make syslog-ng run
properly, but you could probably just generate one using the
config.charset script if you have that.
Here is what I used:
---
# This file contains a table of character encoding aliases,
# suitable for operating system 'solaris2.10'.
# It was automatically generated from config.charset.
646 ASCII
ISO8859-1 ISO-8859-1
ISO8859-2 ISO-8859-2
ISO8859-3 ISO-8859-3
ISO8859-4 ISO-8859-4
ISO8859-5 ISO-8859-5
ISO8859-6 ISO-8859-6
ISO8859-7 ISO-8859-7
ISO8859-8 ISO-8859-8
ISO8859-9 ISO-8859-9
ISO8859-15 ISO-8859-15
koi8-r KOI8-R
ansi-1251 CP1251
BIG5 BIG5
Big5-HKSCS BIG5-HKSCS
gb2312 GB2312
GBK GBK
GB18030 GB18030
cns11643 EUC-TW
5601 EUC-KR
ko_KR.johap92 JOHAB
eucJP EUC-JP
PCK SHIFT_JIS
TIS620.2533 TIS-620
UTF-8 UTF-8
More information about the syslog-ng
mailing list