<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'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"><<a href="mailto:ismael.faye@yahoo.fr" target="_blank">ismael.faye@yahoo.fr</a>></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 class="h5">
<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 "s#@include 'modules.conf'#@include 'scl-modules.conf'#g" ${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 = "Alternative system logger
daemon"<br>DEPENDS = "libol flex eventlog glib-2.0"<br>LICENSE = "GPL LGPL"<br>LIC_FILES_CHKSUM = "file://COPYING;md5=7ec1bcc46f28b11f4722e20d9b7dd4d5"<br><br># syslog initscript is handled explicitly because order of<br>
# update-rc.d and update-alternatives is important<br>RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"<br><br>INC_PR = "r7"<br>
<br>inherit autotools systemd<br><br>SRC_URI = "<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>"<br>
<br>noipv6 = "${@base_contains('DISTRO_FEATURES', 'ipv6', '', '--disable-ipv6', d)}"<br><br>EXTRA_OECONF = " \<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>
"<br><br>do_configure_prepend() {<br>
eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e
"s/-D_LARGEFILE_SOURCE//" -e "s/-D_FILE_OFFSET_BITS=64//"
${S}/<a href="http://configure.in" target="_blank">configure.in</a>', d)}"<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 "s#@include 'modules.conf'#@include 'scl-modules.conf'#g" ${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 = "${PN}-systemd"<br>SYSTEMD_SERVICE = "${PN}.service"<br><br>FILES_${PN} = "${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"<br>FILES_${PN}-dev +=
"${libdir}/${BPN}/lib*.la ${libdir}/${BPN}/*${SOLIBSDEV}"<br>CONFFILES_${PN} = "${sysconfdir}/${PN}.conf ${sysconfdir}/scl.conf ${sysconfdir}/scl-modules.conf"<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 "x$D" != "x"; then<br> OPT="-r $D"<br> else<br> OPT="-s"<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 "x$D" = "x"; then<br> if test "$1" = "upgrade" -o "$1" = "remove"; 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 "x$D" != "x"; then<br> OPT="-r $D"<br>
else<br> OPT=""<br> fi<br> if test "$1" = "remove" -o "$1" = "purge"; then<br> if ! test -e "/etc/init.d/syslog"; 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 <<a href="mailto:algernon@balabit.hu" target="_blank">algernon@balabit.hu</a>> a écrit :<br>
</font> </div><div><div class="h5"> <br><br> <div>Jean Faye <<a shape="rect">ismael.faye@yahoo.fr</a>> writes:<br clear="none"><br clear="none">> There is no syslog-ng directory in /usr/lib/ on my platform. It'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>