Hi <br><br>Thanks to all for the help .. got it working .. :-)<br><br><div><span class="gmail_quote">On 9/21/06, <b class="gmail_sendername">G.W. Haywood</b> <<a href="mailto:ged@jubileegroup.co.uk">ged@jubileegroup.co.uk
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi there,<br><br>On Thu, 21 Sep 2006 Gregory Machin wrote:<br><br>> unresolved reference: inputs
<br><br>This tells you the problem.<br><br>> this is my config file<br>> ...<br>> #source inputs { internal(); ...<br><br>This 'source' line is commented out, so it doesn't exist, so you can't<br>use the source 'inputs'. That will be a problem when you try to use it.
<br>Also the internal() source is required so you MUST include it. If you<br>don't include it, that will be a problem whatever you do.<br><br>> ...<br>> log { source(inputs);<br>> ...<br>> log { source(inputs);
<br>> ...<br>> log { source(inputs);<br>> ...<br><br>Here are three places where you try to use it.<br><br>Why was it necessary to ask? If something isn't clear about any of<br>that I'm sure people here would like to know, so that the clarity
<br>might be improved.<br><br>> How should this be defined for fedora core ?<br>> source stdlog { unix-dgram("/dev/log"); };<br><br>I don't use Fedora. I would think that's fine, but others here will<br>know for sure. You might want to try
<br><br>log { source(stdlog); ...<br><br>somewhere instead of one of your<br><br>log { source(inputs);<br><br>so that you actually use your 'stdlog' source.<br><br>FWIW if you're having trouble understanding the syntax of syslog-ng's
<br>configuration file then I think you're going to run into difficulty if<br>you try to log to MySQL as a first step. Why not try logging to files<br>to start with, things will probably be a lot clearer for you. You can
<br>add database logging later, when you have things under control.<br><br>--<br><br>73,<br>Ged.<br>_______________________________________________<br>syslog-ng maillist - <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu
</a><br><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>Frequently asked questions at <a href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Gregory Machin<br><a href="mailto:gregory.machin@gmail.com">gregory.machin@gmail.com</a><br><a href="http://www.linuxpro.co.za">www.linuxpro.co.za</a>