Hello Siem,<br><br>Woah, that is a quick response...!<br>Anyway, it didn't give any line when it reported the fail.<br><br><br>cheers,<br>Andy<br><br><div class="gmail_quote">2009/7/15 Siem Korteweg <span dir="ltr"><<a href="mailto:Siem.Korteweg@qnh.nl">Siem.Korteweg@qnh.nl</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Andy,<br>
<br>
which line of your server config is reported when the reload fails?<br>
<br>
regards,<br>
<br>
Siem Korteweg<br>
<br>
<br>
-----Oorspronkelijk bericht-----<br>
Van: <a href="mailto:syslog-ng-bounces@lists.balabit.hu">syslog-ng-bounces@lists.balabit.hu</a> namens Andy Kannberg<br>
Verzonden: wo 15-7-2009 16:45<br>
Aan: <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br>
Onderwerp: [syslog-ng] Another beginners problem<br>
<div><div></div><div class="h5"><br>
Hi folks,<br>
<br>
I'm new to syslog-ng. I'm trying to get it running on a bunch of Ubuntu 8.04<br>
LTS and OEL 5.3 systems.<br>
For a start, I'm trying to get it working on 2 Ubuntu 8.04 LTS boxes.<br>
What I want is that all logging of all systems is sent to a central loghost.<br>
Systems do not need to keep a local logfile.<br>
<br>
So, I've shamelesly copied over a (as said working) config from another<br>
thread a few days ago on this list.<br>
The client part works, at least, the reload goed ok. However, on the server,<br>
the reload fails, giving no kind of warning or message whatsoever to hint<br>
where the problem lies.<br>
<br>
The configuration is as follows (With thanks to Siem Korteweg, from whom I<br>
copied the config over).<br>
<br>
Client & server:<br>
<br>
source s_internal { internal(); };<br>
<br>
destination d_syslogng_log { file("/var/log/syslog-ng.log"); };<br>
<br>
source s_local {<br>
unix-dgram("/dev/log");<br>
file("/proc/kmsg" program_override("kernel:"));<br>
};<br>
<br>
destination d_remote { tcp("10.0.13.152" port(514) ) ; };<br>
<br>
destination d_local { file("/var/log/messages"); };<br>
<br>
log { source( s_internal ); destination( d_remote ); };<br>
log { source( s_internal ); destination( d_syslogng_log ); };<br>
log { source( s_local ); destination( d_remote ); };<br>
log { source( s_local ); destination( d_local ); };<br>
<br>
<br>
On the central loghost, adittional lines are added:<br>
<br>
source s_network { tcp (ip("10.0.13.152") port(514)); };<br>
<br>
destination d_network {<br>
file("/var/log/syslog-ng/hosts/$HOST_FROM/$R_YEAR/$R_MONTH/$R_YEAR-$R_MONTH-$<br>
R_DAY"<br>
create_dirs(yes)); };<br>
log { source( s_network ); destination( d_network ); };<br>
<br>
But, as said, a reload fails. Can someone help me out a little ?<br>
Oh, I am running syslog-ng 3.03, installed from the .deb package available<br>
on the website of Balabit.<br>
<br>
cheers and thanks in advance.<br>
<br>
Andy<br>
<br>
</div></div><br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br>
<br></blockquote></div><br>