<div dir="ltr">This "/" prefix and install path work like a charm. Thank you, Balázs and <span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;white-space:nowrap">Noémi</span>.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Feb 23, 2017 at 9:54 PM Scheidler, Balázs <<a href="mailto:balazs.scheidler@balabit.com">balazs.scheidler@balabit.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="gmail_msg"><div class="gmail_msg">I think module loading does not work for some reason. Is /opt/sysroot indeed your prefix or the root of your arm cross compile system? If you set prefix there only to make sure Syslog-ng installs there, then you should use:</div><div dir="auto" class="gmail_msg"><br class="gmail_msg"></div><div dir="auto" class="gmail_msg">./configure --prefix /</div><div dir="auto" class="gmail_msg">make install DESTDIR=/opt/sysroot</div><div dir="auto" class="gmail_msg"><br class="gmail_msg"></div><div dir="auto" class="gmail_msg">Prefix gets embedded into a number of default paths, such as module-path. These can be customised but that needs to be explicit.</div></div><div dir="auto" class="gmail_msg"><div dir="auto" class="gmail_msg"><br class="gmail_msg"><div class="gmail_extra gmail_msg" dir="auto"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Feb 23, 2017 23:22, "Nakarin Kamkheaw" <<a href="mailto:nakarin.kamkheaw@grandstream.com" class="gmail_msg" target="_blank">nakarin.kamkheaw@grandstream.com</a>> wrote:<br type="attribution" class="gmail_msg"><blockquote class="m_3952365278743327032quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div dir="ltr" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">There is. I'm not sure what happened the first time, though. This is the most recent output.<div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div></div><div dir="ltr" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="m_3952365278743327032quoted-text gmail_msg"><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"># syslog-ng -f /etc/syslog-ng.conf -c /var/run/syslog-ng.ctl</div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">syslog-ng: Error changing to directory=/opt/sysroot/var, errcode=2</div></div><div class="m_3952365278743327032quoted-text gmail_msg"><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">Error parsing source, source plugin system not found in /etc/syslog-ng.conf at line 10, column 2:</div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">        system();</div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">        ^^^^^^</div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">syslog-ng documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a></div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">mailing list: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a></div></div></div></div><div dir="ltr" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"># ls -l /var/run/</div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">-rw-r--r--    1 root     root             4 Feb 23 22:14 crond.pid</div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">drwxr-xr-x    2 root     root          4096 Feb 23 22:14 dbus</div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">srwxr-xr-x    1 root     root             0 Feb 23 22:19 syslog-ng.ctl</div><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">-rw-r--r--    1 root     root             4 Feb 23 22:14 syslogd.pid</div></div></div><div class="m_3952365278743327032elided-text gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="gmail_quote m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div dir="ltr" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">On Thu, Feb 23, 2017 at 8:52 AM Noémi Ványi <<a href="mailto:sitbackandwait@gmail.com" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">sitbackandwait@gmail.com</a>> wrote:<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div><blockquote class="gmail_quote m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">Hi,<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div>Is /var/run/syslog-ng.ctl on NFS?<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div>BR,<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div>kvch<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div><div class="gmail_extra m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="gmail_quote m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div></div><div class="gmail_extra m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="gmail_quote m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">On 23 February 2017 at 02:05, Nakarin Kamkheaw <span dir="ltr" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><<a href="mailto:nakarin.kamkheaw@grandstream.com" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">nakarin.kamkheaw@grandstream.com</a>></span> wrote:<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div></div><div class="gmail_extra m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="gmail_quote m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><blockquote class="gmail_quote m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">Hi,<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">I've cross-compiled syslog-ng-3.6.4 for ARM successfully, but syslog-ng is failed to run with a couple errors as shown below. I'm using the default syslog-ng.conf file with only a modification of "scl.conf" to "/etc/scl.conf". <br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"># syslog-ng -f /etc/syslog-ng.conf -c /var/run/syslog-ng.ctl<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">syslog-ng: Error changing to directory=/opt/sysroot/var, errcode=2<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">[2017-02-23T00:50:09.266037] Error opening control socket, bind() failed; socket='/var/run/syslog-ng.ctl', error='Stale NFS file handle (116)'<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">Error parsing source, source plugin system not found in /etc/syslog-ng.conf at line 10, column 2:<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">        system();<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">        ^^^^^^<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">syslog-ng documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">mailing list: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">PS. This is the configuration I use.<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">./configure --host=arm-linux-gnueabi --prefix=/opt/sysroot/ --exec-prefix=/ --enable-mongodb=no --enable-json=no --enable-stomp=no --enable-amqp=no --enable-spoof-source=no<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div>
<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></blockquote></div></div><div class="gmail_extra m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><div class="gmail_quote m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"><blockquote class="gmail_quote m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">______________________________________________________________________________<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></blockquote></div><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg"></div>
______________________________________________________________________________<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
<br class="m_3952365278743327032m_-3373073828484271074gmail_msg gmail_msg">
</blockquote></div></div></div>
<br class="gmail_msg">______________________________________________________________________________<br class="gmail_msg">
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br class="gmail_msg">
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" class="gmail_msg" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br class="gmail_msg">
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" class="gmail_msg" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg"></blockquote></div><br class="gmail_msg"></div></div></div>
______________________________________________________________________________<br class="gmail_msg">
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br class="gmail_msg">
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" class="gmail_msg" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br class="gmail_msg">
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" class="gmail_msg" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>