<div dir="ltr"><br><br><p class="MsoNormal">I installed syslog-ng on an offline CentOS 6.x
machine by first downloading all required rpms using this command: <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">yumdownloader --resolve syslog-ng</p><p class="MsoNormal"><br></p>
<p class="MsoNormal">There were two files needed, that did not download
and I downloaded them separately using:</p><p class="MsoNormal"><br></p><p class="MsoNormal"> yumdownloader
eventlog-0.2.13-1.el6.x86_64.<wbr>rpm <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">and: <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">yumdownloader libnet-1.1.6-7.el6.x86_64.rpm</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">These are the files I moved to the offline server: <br></p><p class="MsoNormal"><br></p>
<p class="MsoNormal">17,684 eventlog-0.2.13-1.el6.i686.rpm</p>
<p class="MsoNormal">17,804 eventlog-0.2.13-1.el6.x86_64.<wbr>rpm</p>
<p class="MsoNormal">122,940 gamin-0.1.10-9.el6.i686.rpm</p>
<p class="MsoNormal">1,738,964 glib2-2.28.8-9.el6.i686.rpm</p>
<p class="MsoNormal">4,570,040 glibc-2.12-1.209.el6_9.2.i686.<wbr>rpm</p>
<p class="MsoNormal">117,400 libgcc-4.4.7-18.el6.i686.rpm</p>
<p class="MsoNormal">60,464 libnet-1.1.6-7.el6.i686.rpm</p>
<p class="MsoNormal">59,196 libnet-1.1.6-7.el6.x86_64.rpm</p>
<p class="MsoNormal">111,688 libselinux-2.0.94-7.el6.i686.<wbr>rpm</p>
<p class="MsoNormal">309,920 libstdc++-4.4.7-18.el6.i686.<wbr>rpm</p>
<p class="MsoNormal">161,168 nss-softokn-freebl-3.14.3-23.<wbr>3.el6_8.i686.rpm</p>
<p class="MsoNormal">201,096 pcre-7.8-7.el6.i686.rpm</p>
<p class="MsoNormal">452,548 syslog-ng-3.2.5-4.el6.i686.rpm</p>
<p class="MsoNormal">451,092 syslog-ng-3.2.5-4.el6.x86_64.<wbr>rpm</p>
<p class="MsoNormal">63,536 tcp_wrappers-libs-7.6-58.el6.<wbr>i686.rpm</p>
<p class="MsoNormal">74,284 zlib-1.2.3-29.el6.i686.rpm</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Once I moved all these files to the offline server into their own folder, I ran: <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">rpm –ivh *.rpm <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">to install.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I then checked the config file, made a couple of tweaks, then started syslog-ng using:</p><p class="MsoNormal"><br></p><p class="MsoNormal">service syslog-ng start</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I got the following errors:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-family:arial,helvetica,sans-serif"><span style="font-size:10pt">Plugin module not found in 'module-path'; module-path='/lib64/syslog-ng'<wbr>, module='afsql'</span></span></p><span style="font-family:arial,helvetica,sans-serif">
</span><pre><span style="font-family:arial,helvetica,sans-serif">Plugin module not found in 'module-path'; module-path='/lib64/syslog-ng'</span><wbr><span style="font-family:arial,helvetica,sans-serif">, module='afsql'</span></pre><span style="font-family:arial,helvetica,sans-serif">
</span><p class="MsoNormal"><span style="font-family:arial,helvetica,sans-serif">[ OK ]</span></p><p class="MsoNormal"><span style="font-family:arial,helvetica,sans-serif"><br></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Syslog-ng was now running, just with these two errors.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">A quick google pointed to the problem, syslog-ng is looking for the sql plugin and the solution: <br></p><p class="MsoNormal"> yum install syslog-ng-libdbi</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">But when I tried to run <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">yumdownloader syslog-ng-libdbi <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">I got <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">"Nothing to download"</p><p class="MsoNormal"><br></p>
<p class="MsoNormal">And when I tried <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">yum install --downloadonly syslog-ng-libdbi <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">I got <br></p><p class="MsoNormal"><br></p><p class="MsoNormal">"Nothing to do"</p>
<p class="MsoNormal"> </p><p class="MsoNormal"><br></p>
<p class="MsoNormal">So here are my questions:</p>
<p class="MsoNormal"> </p>
<p class="gmail-m_7526587636746347869MsoListParagraph"><span>1.<span style="font:7pt "Times New Roman"">
</span></span>Will syslog-ng run just fine receiving udp and
sending udp with those errors and without that module? If, so, I don’t
care if I don’t get that module.</p>
<p class="gmail-m_7526587636746347869MsoListParagraph"><span>2.<span style="font:7pt "Times New Roman"">
</span></span>Is it possible to run syslog-ng and disable that module in the run command?</p>
<p class="gmail-m_7526587636746347869MsoListParagraph"><span>3.<span style="font:7pt "Times New Roman"">
</span></span>Can I remove syslog-ng and re-install disable that module on install?</p>
<p class="gmail-m_7526587636746347869MsoListParagraph"><span>4.<span style="font:7pt "Times New Roman"">
</span></span>I’d rather not recompile if I don’t have to, but I found instructions for how to do that. Any tips would be appreciated.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks.</p>
<br><div><div class="gmail_signature"><br>Craig L Bowser<br>____________________________<br><br>This email is measured by size. Bits and bytes may have settled during transport.<br></div></div>
</div>