Hi, I think this is fixed by https://github.com/balabit/syslog-ng/pull/684 . Debian packages will be updated soon. L. On Tue, Sep 22, 2015 at 11:27 AM, Németh, Balázs <balazs.nemeth@balabit.com> wrote:
Hello,
Which package should provide the following file? /usr/share/syslog-ng/xsd/patterndb-4.xsd
dpkg -S /usr/share/syslog-ng/xsd/patterndb-4.xsd Returns nothing.
Without that I cannot validate my patterndb sets.
warning: failed to load external entity "/usr/share/syslog-ng/xsd/patterndb-4.xsd" Schemas parser error : Failed to locate the main schema resource at '/usr/share/syslog-ng/xsd/patterndb-4.xsd'. WXS schema /usr/share/syslog-ng/xsd/patterndb-4.xsd failed to compile /tmp/O1tb4DMkvj.xml: xmllint returned an error, the executed command was: xmllint --noout --nonet --schema /usr/share/syslog-ng/xsd/patterndb-4.xsd /tmp/O1tb4DMkvj.xml
dpkg -l | grep syslog-ng
ii syslog-ng-core 3.7.1-1 amd64 Enhanced system logging daemon (core) ii syslog-ng-mod-journal 3.7.1-1
lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.2 (jessie) Release: 8.2 Codename: jessie
Thanks in advance,
2015-08-17 16:46 GMT+02:00 Budai, László <laszlo.budai@balabit.com>:
Hi,
I've just created my unofficial OBS repo[1] for syslog-ng 3.7.1 series (current version: 3.7.1-1 ).
List of supported OSs (i386/amd64): * Debian 7.0 * Debian 8.0 * Ubuntu 12.04 * Ubuntu 14.04 * Ubuntu 14.10 * Ubuntu 15.04
Install -------
example: Debian 8.0
1. get release key wget -qO - http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/Debi... | sudo apt-key add -
2. add repo to APT sources eg.: /etc/apt/sources.list.d/syslog-ng-obs.list deb http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/Debi... ./
Then `apt-get update` and `apt-get install syslog-ng-core=3.7.1-1`
You can replace Debian_8.0 to * Debian_7.0 * xUbuntu_12.04, * xUbuntu_14.04 * xUbuntu_14.10 * xUbuntu_15.04
(`x` before Ubuntu is not a typo ;-) )
Available packages: * syslog-ng-core * syslog-ng-dbg * syslog-ng-dev * syslog-ng-mod-stomp * syslog-ng-mod-amqp * syslog-ng-mod-elastic * syslog-ng-mod-geoip * syslog-ng-mod-graphite * syslog-ng-mod-hdfs * syslog-ng-mod-http * syslog-ng-mod-java * syslog-ng-mod-java-common-lib * syslog-ng-mod-journal * syslog-ng-mod-json * syslog-ng-mod-kafka * syslog-ng-mod-mongodb * syslog-ng-mod-python * syslog-ng-mod-redis * syslog-ng-mod-riemann * syslog-ng-mod-smtp * syslog-ng-mod-sql * syslog-ng-mod-stomp
Notes to the java destinations ------------------------------
About the
``` Error opening plugin module; module='mod-java', error='libjvm.so: cannot open shared object file: No such file or directory' ```
problem.
libmod-java.so is linked to the libjvm.so library. If your java installation doesn't create a symlink in /usr/lib directory to libjvm.so then you have to modify your ld.so.conf or expand your LD_LIBRARY_PATH with the containing library before starting syslog-ng.
eg.:
LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server:$LD_LIBRARY_PATH
Links -------- [1] https://build.opensuse.org/project/show/home:laszlo_budai:syslog-ng [2] https://github.com/balabit/syslog-ng/releases/tag/syslog-ng-3.7.1
regards, Laszlo Budai
--
Balázs NÉMETH System Engineer
e-mail: balazs.nemeth@balabit.com phone: +36-1-880-6740
BalaBit-Europe Kft.www.balabit.com H-1117 Alíz str. 2. Budapest
This Communication is Confidential. We only send and receive email on the basis of the term set out at http://www.balabit.com/disclaimer/.