[syslog-ng] Invalid frame header; header=''

jnordwick jnordwick at allstontrading.com
Tue Oct 13 21:41:41 CEST 2009


I can't seem to get syslog-ng to recongnize a syslog message. I used  
the example message you give in the docs, but all it says is  "Invalid  
frame header".



Here is the error message:

Oct 13 14:35:55 logger-01 syslog-ng[29653]: Invalid frame header;  
header=''



here is how I'm sending my test message:

echo "<34>1 2003-10-11T22:14:15.003Z mymachine.example.com su - ID47 -  
BOM'su root' failed for lonvick on /dev/pts/8" | nc logger-01 20514



Here is the config:

options {
     flush_lines(1);
};

source src {
     internal();
     syslog(ip("192.168.27.198") port(20514) transport("tcp"));
};

destination dest { file("/data/local/logs/sys.log" owner(xl) group 
(xl)); };

log { source(src); destination(dest); };



------------------------------------------------------------------------------------------
This message is for the named person(s) use only. It may contain confidential proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Allston Trading LLC and its subsidiaries and affiliates each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.
------------------------------------------------------------------------------------------











More information about the syslog-ng mailing list