[syslog-ng] Parsing failed for ARM cross compile

Nakarin Kamkheaw nakarin.kamkheaw at grandstream.com
Thu Feb 23 01:05:23 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170223/7a853ca5/attachment-0001.html>


More information about the syslog-ng mailing list