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:./configure --prefix /make install DESTDIR=/opt/sysrootPrefix gets embedded into a number of default paths, such as module-path. These can be customised but that needs to be explicit.______________________________________________________________________________On Feb 23, 2017 23:22, "Nakarin Kamkheaw" <nakarin.kamkheaw@grandstream.com> wrote:There is. I'm not sure what happened the first time, though. This is the most recent output.# syslog-ng -f /etc/syslog-ng.conf -c /var/run/syslog-ng.ctlsyslog-ng: Error changing to directory=/opt/sysroot/var, errcode=2Error parsing source, source plugin system not found in /etc/syslog-ng.conf at line 10, column 2:system();^^^^^^syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ngmailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng# ls -l /var/run/-rw-r--r-- 1 root root 4 Feb 23 22:14 crond.piddrwxr-xr-x 2 root root 4096 Feb 23 22:14 dbussrwxr-xr-x 1 root root 0 Feb 23 22:19 syslog-ng.ctl-rw-r--r-- 1 root root 4 Feb 23 22:14 syslogd.pidOn Thu, Feb 23, 2017 at 8:52 AM Noémi Ványi <sitbackandwait@gmail.com> wrote:kvchBR,Hi,Is /var/run/syslog-ng.ctl on NFS?On 23 February 2017 at 02:05, Nakarin Kamkheaw <nakarin.kamkheaw@grandstream.com> wrote:Hi,
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".
# syslog-ng -f /etc/syslog-ng.conf -c /var/run/syslog-ng.ctl
syslog-ng: Error changing to directory=/opt/sysroot/var, errcode=2
[2017-02-23T00:50:09.266037] Error opening control socket, bind() failed; socket='/var/run/syslog-ng.ctl', error='Stale NFS file handle (116)'
Error parsing source, source plugin system not found in /etc/syslog-ng.conf at line 10, column 2:
system();
^^^^^^
syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
PS. This is the configuration I use.
./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____________________________________________________________________________________________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq