[syslog-ng] Newbie

Adrian ajc80 at o2.co.uk
Sat Feb 11 23:17:32 CET 2006


ajc80,

Sunday, January 29, 2006, 3:30:27 PM, you wrote:

> Hello,

> I'm a newbie to syslog-ng, I have followed the instructions and used and
> altered the necessary examples to suit my directory structures, so my
syslog
> messages are dumped in to mysql database.

> When starting syslog-ng I get the following messages:

> # /etc/init.d/syslog-ng start
> Starting MySQL pipe...
> Starting syslog-ng...
> Warning: No source refers to internal messages, they'll go to /dev/null
> unresolved reference: inputs
> Error initializing configuration, exiting.

> The "No source refers to internal messages...." message I understand.

> The "unresolved reference: inputs" I don't and can't seem to find anything
> in the archives.

Looking through your conf file I don't see an inputs source - except
the commented out Solaris one.

> I've included the syslog-ng.conf file and the mysql.pipe file below.

> Any help would be appreciated.

> Thanks,

> Adrian.


> #####################################################################
> # Define syslog input stream
> # This is specific to Solaris 9

> # source inputs { internal();
> #               sun-streams("/dev/log" door("/var/run/syslog_door"));
> #               tcp(max_connections(1000)); };

> # For newer versions of Linux (Debian GNU/Linux woody,
> # and RedHat Linux post 7.0)
> #
> source stdlog { unix-dgram("/dev/log"); };

>As above. I am a newbie myself so I am probably talking through my
>hat anyway ;)

> -- 
> Best regards,
> David                            mailto:dma at pern.co.uk



#######################################################################

Hi David,

I'm still none the wiser. I have hashed out the three lines which start
source inputs:

> # source inputs { internal();
> #               sun-streams("/dev/log" door("/var/run/syslog_door"));
> #               tcp(max_connections(1000)); };

As it suggests that this is for Solaris systems only, and Redhat should use
the following line:

> # For newer versions of Linux (Debian GNU/Linux woody,
> # and RedHat Linux post 7.0)
> #
> source stdlog { unix-dgram("/dev/log"); };


Which I un-hashed. Where would I places the inputs and what would they look
like??

Any help very much appreciated.

Kind regards,

Adrian.




More information about the syslog-ng mailing list