Hi guys,<div><br></div><div>I&#39;m trying to setup a master syslog-ng server which listens on UDP syslog port to incoming squid access log and Cisco syslog messages. It uses a db_parser to parse and store these access logs in different variables. I now need to store these values in a simple mysql database. I have created the database schema and thought of using a pipe and a wrapper script to write the query. But read that there are problems sometimes with this approach.</div>

<div>I then thought about doing it using libddb and downloaded the package syslog-ng_3.2.2 from the website.</div><div><br></div><div>So far so good, but when I try to run syslog-ng it gives me an error:</div><div><div><br>

</div><div> syslog-ng</div><div>Error opening plugin module; module=&#39;afsql&#39;, error=&#39;/usr/local/lib/syslog-ng/libafsql.so: undefined symbol: dbi_result_free&#39;</div><div>Error opening plugin module; module=&#39;afsql&#39;, error=&#39;/usr/local/lib/syslog-ng/libafsql.so: undefined symbol: dbi_result_free&#39;</div>

<div>Error parsing destination, destination plugin sql not found in /usr/local/etc/syslog-ng.conf at line 61, column 3:</div><div><br></div><div>  sql(type(mysql)</div><div>  ^^^</div><div><br></div></div><div>Any pointers on what I&#39;m missing here ? I have commented out the &#39;@module afsql&#39;  line in modules.conf, have made sure I&#39;ve got the latest libdb and libdb-devel packages. I&#39;m running CentOS 5.x and just don&#39;t know how to proceed :( Appreciate all and any help guys thank you.</div>

<div><br></div><div><br></div><div><br></div><div>-- <br>Eshan Bhide<br>Engineer, Core Infrastructure and Systems Development<br>Global Gossip<br><br>14 Wentworth Ave<br>Surry Hills, NSW 2010 Australia<br><br>
</div>

<pre>-------------------------------------------------

IMPORTANT NOTICE : The information in this email is confidential and may also be privileged. 
If you are not the intended recipient, any use or dissemination of the information and any
disclosure or copying of this email is unauthorised and strictly prohibited. If you have received
this email in error, please promptly inform us by reply email or telephone. You should also delete
this email and destroy any hard copies produced.