<p dir="ltr">3.2 was the first modular version.</p>
<p dir="ltr">As I see you are not using the make files to install Syslog-ng, but your scripts do it on your own. And the script still has 1.6 references. No wonder it doesn&#39;t work then. The modules are installed by make install but you don&#39;t seem to use that. Or I am missing something.</p>

<p dir="ltr">And if you are compiling from source, you could use the latest version. Would make c supporting your case much easier.</p>
<div class="gmail_quote">On Jul 24, 2014 12:34 AM, &quot;Tusa Viktor&quot; &lt;<a href="mailto:tusavik@gmail.com">tusavik@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hi!<br><br></div>As far as I remember, syslog-ng 3.2 was not yet modular, so it&#39;s very strange that you have a 3.2 binary which searches for modules.<br></div>Can you please post the output of syslog-ng --version and syslog-ng --module-registry?<br>


<br></div><div>By the way, syslog-ng 3.2 is about 4-5 years old, so it is heavily outdated. The most recent stable version is 3.5.5.<br></div><div><br></div>BR,<br></div>Viktor<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Jul 23, 2014 at 5:30 PM, Jean Faye <span dir="ltr">&lt;<a href="mailto:ismael.faye@yahoo.fr" target="_blank">ismael.faye@yahoo.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"><div>confirm a6d843f7ad7d1dbf1fefb6f12432e54941a680a9<br></div><div><div>

<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br></div><div><span>I first configure and compile eventlog (eventlog-0.2.13) and then configure and compile syslog-ng (syslog-ng-3.2.5).</span></div>

<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br><span></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">

<span>I configure syslog-ng with following parameters:</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">

<span>  --with-libnet=${STAGING_BINDIR_CROSS} \<br>  --enable-dynamic-linking \<br>  ${noipv6} \<br>  --enable-ssl \<br>  --disable-sub-streams \<br>  --disable-pacct \<br>  --disable-linux-caps \<br>  --disable-pcre \<br>

  --disable-sql \<br>  --enable-systemd \<br> 
 --with-systemdsystemunitdir=${systemd_unitdir}/system \</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">

<br><span></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>And I install it using:</span></div>

<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>        mv ${D}/${sysconfdir}/modules.conf ${D}/${sysconfdir}/scl-modules.conf<br>

        sed
 -i &quot;s#@include &#39;modules.conf&#39;#@include &#39;scl-modules.conf&#39;#g&quot; ${D}/${sysconfdir}/scl.conf<br>        install -d ${D}/${sysconfdir}/${PN}<br>        install ${WORKDIR}/syslog-ng.conf ${D}${sysconfdir}/${PN}.conf<br>

        install -d ${D}/${sysconfdir}/init.d<br>        install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog.${PN}</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">

<br><span></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>with </span><br><span>${sysconfdir = /etc</span><br>

<span>${PN}=syslog-ng</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br><span></span></div>

<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>I used this syslog-ng.inc file:</span></div>

<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br><span></span></div><span>DESCRIPTION = &quot;Alternative system logger
 daemon&quot;<br>DEPENDS = &quot;libol flex eventlog glib-2.0&quot;<br>LICENSE = &quot;GPL LGPL&quot;<br>LIC_FILES_CHKSUM = &quot;file://COPYING;md5=7ec1bcc46f28b11f4722e20d9b7dd4d5&quot;<br><br># syslog initscript is handled explicitly because order of<br>

# update-rc.d and update-alternatives is important<br>RDEPENDS_${PN} += &quot; ${@base_conditional(&quot;ONLINE_PACKAGE_MANAGEMENT&quot;, &quot;none&quot;, &quot;&quot;, &quot;update-rc.d&quot;, d)}&quot;<br><br>INC_PR = &quot;r7&quot;<br>

<br>inherit autotools systemd<br><br>SRC_URI = &quot;<a href="http://www.balabit.com/downloads/files/syslog-ng/sources/$%7BPV%7D/source/$%7BPN%7D_$%7BPV%7D.tar.gz" target="_blank">http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/${PN}_${PV}.tar.gz</a>&quot;<br>

<br>noipv6 = &quot;${@base_contains(&#39;DISTRO_FEATURES&#39;, &#39;ipv6&#39;, &#39;&#39;, &#39;--disable-ipv6&#39;, d)}&quot;<br><br>EXTRA_OECONF = &quot; \<br>  --with-libnet=${STAGING_BINDIR_CROSS} \<br>  --enable-dynamic-linking \<br>

  ${noipv6} \<br>  --enable-ssl \<br>  --disable-sub-streams \<br>  --disable-pacct \<br>  --disable-linux-caps \<br>  --disable-pcre \<br>  --disable-sql \<br>  --enable-systemd \<br>  --with-systemdsystemunitdir=${systemd_unitdir}/system \<br>

&quot;<br><br>do_configure_prepend() {<br>       
 eval &quot;${@base_contains(&#39;DISTRO_FEATURES&#39;, &#39;largefile&#39;, &#39;&#39;, &#39;sed -i -e 
&quot;s/-D_LARGEFILE_SOURCE//&quot; -e &quot;s/-D_FILE_OFFSET_BITS=64//&quot; 
${S}/<a href="http://configure.in" target="_blank">configure.in</a>&#39;, d)}&quot;<br>}<br><br># rename modules.conf
 because it breaks update-modules <br># see <a href="http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035537.html" target="_blank">http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035537.html</a><br>

do_install_append() {<br>        mv ${D}/${sysconfdir}/modules.conf ${D}/${sysconfdir}/scl-modules.conf<br>        sed -i &quot;s#@include &#39;modules.conf&#39;#@include &#39;scl-modules.conf&#39;#g&quot; ${D}/${sysconfdir}/scl.conf<br>

        install -d ${D}/${sysconfdir}/${PN}<br>        install ${WORKDIR}/syslog-ng.conf ${D}${sysconfdir}/${PN}.conf<br>        install -d ${D}/${sysconfdir}/init.d<br>        install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog.${PN}<br>

}<br><br>SYSTEMD_PACKAGES = &quot;${PN}-systemd&quot;<br>SYSTEMD_SERVICE = &quot;${PN}.service&quot;<br><br>FILES_${PN} = &quot;${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \<br>            ${sysconfdir} ${sharedstatedir} ${localstatedir} \<br>

            ${base_bindir}/* ${base_sbindir}/* \<br>            ${base_libdir}/*${SOLIBS} \<br>            ${datadir}/${BPN} ${libdir}/${BPN}/*${SOLIBS} \<br>            ${datadir}/include/scl/ ${datadir}/xsd&quot;<br>FILES_${PN}-dev +=
 &quot;${libdir}/${BPN}/lib*.la ${libdir}/${BPN}/*${SOLIBSDEV}&quot;<br>CONFFILES_${PN} = &quot;${sysconfdir}/${PN}.conf ${sysconfdir}/scl.conf ${sysconfdir}/scl-modules.conf&quot;<br><br>pkg_postinst_${PN} () {<br>        /etc/init.d/syslog stop<br>

        update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200<br><br>        if test &quot;x$D&quot; != &quot;x&quot;; then<br>                OPT=&quot;-r $D&quot;<br>        else<br>                OPT=&quot;-s&quot;<br>

        fi<br>        # remove all rc.d-links potentially created from alternative<br>        # syslog packages before creating new ones<br>        update-rc.d $OPT -f syslog remove<br>        update-rc.d $OPT syslog start 20 2 3 4 5 . stop 90 0 1 6 .<br>

}<br><br>pkg_prerm_${PN} () {<br>        if test &quot;x$D&quot; = &quot;x&quot;; then<br>                if test &quot;$1&quot; = &quot;upgrade&quot; -o &quot;$1&quot; = &quot;remove&quot;; then<br>                        /etc/init.d/syslog stop<br>

                fi<br>        fi<br><br>        update-alternatives --remove syslog-init syslog.${PN}<br>}<br><br>pkg_postrm_${PN} () {<br>        if test &quot;x$D&quot; != &quot;x&quot;; then<br>                OPT=&quot;-r $D&quot;<br>

        else<br>                OPT=&quot;&quot;<br>        fi<br>        if test &quot;$1&quot; = &quot;remove&quot; -o &quot;$1&quot; = &quot;purge&quot;; then<br>                if ! test -e &quot;/etc/init.d/syslog&quot;; then<br>

                        update-rc.d $OPT syslog remove<br>                fi<br>        fi<br>}</span> <div><br><br></div></div></div><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt">

 <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> Le Mercredi 23 juillet 2014 17h00, Gergely Nagy &lt;<a href="mailto:algernon@balabit.hu" target="_blank">algernon@balabit.hu</a>&gt; a écrit :<br>

 </font> </div><div><div>  <br><br> <div>Jean Faye &lt;<a shape="rect">ismael.faye@yahoo.fr</a>&gt; writes:<br clear="none"><br clear="none">&gt; There is no syslog-ng directory in /usr/lib/ on my platform. It&#39;s strange.<br clear="none">

<br clear="none">Then your installation is incomplete. How did you install syslog-ng?<div><br clear="none"><br clear="none">-- <br clear="none">|8]<br clear="none">______________________________________________________________________________<br clear="none">

Member info: <a shape="rect">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br clear="none">Documentation: <a shape="rect">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br clear="none">FAQ: <a shape="rect">http://www.balabit.com/wiki/syslog-ng-faq</a><br clear="none">

<br clear="none"></div><br><br></div>  </div></div></div> </div>  </div> </div></div><br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>
<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div>