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