[syslog-ng] Parsing failed for ARM cross compile

Nakarin Kamkheaw nakarin.kamkheaw at grandstream.com
Thu Feb 23 22:22:02 UTC 2017


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.ctl
syslog-ng: Error changing to directory=/opt/sysroot/var, errcode=2
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
# ls -l /var/run/
-rw-r--r--    1 root     root             4 Feb 23 22:14 crond.pid
drwxr-xr-x    2 root     root          4096 Feb 23 22:14 dbus
srwxr-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.pid

On Thu, Feb 23, 2017 at 8:52 AM Noémi Ványi <sitbackandwait at gmail.com>
wrote:

Hi,

Is /var/run/syslog-ng.ctl on NFS?

BR,
kvch

On 23 February 2017 at 02:05, Nakarin Kamkheaw <
nakarin.kamkheaw at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170223/022f003f/attachment.html>


More information about the syslog-ng mailing list