[syslog-ng] afsql error

Jason Kojro-Badziak jbadziak at monolith-software.com
Fri Apr 20 22:41:57 CEST 2012


Hello:

When I ran the --version command you specify, I am not getting the results as you mentioned.  I am only being shown that I have version 2.1.4 installed.

# /sbin/syslog-ng --version
syslog-ng 2.1.4

I apologize, but can you please show me how I can install the afsql module?  While I am not using a SQL destination right now, we do plan on using one and I will need the module installed.

Thank you!

Jason Kojro-Badziak
Monolith Software
Staff Engineer
311 North 2nd Street, Suite #302
St. Charles, IL 60174
Office:  312-957-6470 x3010
Email:  jbadziak at monolith-software.com

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Gergely Nagy
Sent: Wednesday, April 18, 2012 5:29 PM
To: syslog-ng at lists.balabit.hu
Subject: Re: [syslog-ng] afsql error

Jason Kojro-Badziak <jbadziak at monolith-software.com> writes:

> Hello all:
>
> I am running syslog-ng on a Centos 6 server.  I installed syslog-ng 
> via yum, and while it is running successfully, I am getting this error 
> every time I start or restart syslog-ng.
>
> # /etc/init.d/syslog-ng start
> Plugin module not found in 'module-path'; module-path='/lib64/syslog-ng', module='afsql'
> Starting syslog-ng: Plugin module not found in 'module-path'; module-path='/lib64/syslog-ng', module='afsql'
>                                                            [  OK  ]

If you're not using an SQL destination, and don't need it, you can add --default-modules=affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat
to the commandline in the init script, and it will stop warning about afsql. Mind you, this is only a warning - syslog-ng will function just fine despite the perhaps scary warning at startup.

(You can get the compiled-in default by running syslog-ng --version, and looking at the Default-Modules line - remove afsql from there, and pass the rest via --default-modules)

If you do want to use an SQL destination, then you will need that module. I do not know what package it is in, possibly something like syslog-ng-module-sql or something similar.

-- 
|8]

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq



More information about the syslog-ng mailing list