syslog-ng make probleme?

J

joharrer

Jungspund
guten Tag,

Nach der Info von Euch auf syslog-ng umzusteigen, bin ich dabei das teil auf meinen SuSe 9.2 zu instalieren.

Kernel 2.6

nach dem entpacken nach /usr/local/syslog-ng-1.6.9 und dem aufruf von
./configure

hab ich bei make folgenden Fehler:

media:/usr/local/syslog-ng-1.6.9 # make
Making all in src
make[1]: Entering directory `/usr/local/syslog-ng-1.6.9/src'
make all-recursive
make[2]: Entering directory `/usr/local/syslog-ng-1.6.9/src'
Making all in .
make[3]: Entering directory `/usr/local/syslog-ng-1.6.9/src'
gcc -g -O2 -Wall -I/usr/local/syslog-ng-1.6.9/libol-0.3.17/src -D_GNU_SOURCE -o syslog-ng main.o sources.o center.o filters.o destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o syslog-names.o macros.o -lnsl -lresolv /usr/local/syslog-ng-1.6.9/libol-0.3.17/src/.libs/libol.a -lnsl -Wl,-Bstatic -Wl,-Bdynamic
cfg-lex.o(.text+0xd0e): In function `yylex':
/usr/local/syslog-ng-1.6.9/src/cfg-lex.c:1125: undefined reference to `yywrap'collect2: ld returned 1 exit status
make[3]: *** [syslog-ng] Fehler 1
make[3]: Leaving directory `/usr/local/syslog-ng-1.6.9/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/local/syslog-ng-1.6.9/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/local/syslog-ng-1.6.9/src'
make: *** [all-recursive] Fehler 1
media:/usr/local/syslog-ng-1.6.9 #

fangt jemand damit was an? :think:

l.g Jörg
 
Hallo Unixer,

Mein Prob hat sich erledigt :devil: !

Ich hab mir das RPM vom Ftp server runtergesaugt, mit yast installiert und Fertig.

Hmmm... Das mit dem config && make && make install ist ma doch ein wenig zu hoch :think:

Noch ne Frage zu Filtern:
Hab folgende Zeilen in die config geschrieben, und syslog neu gestartet.

filter f_zywall { match("zywall"); };

destination zywall { file("/var/log/zywall.log"); };
log { source(src); filter(f_zywall); destination(zywall); };

Aber da schreibt er mir ganau nix rein!

wenn ich nochmals editiere, auf:

filter f_zywall { match("zywall"); };

destination zywall { file("/var/log/zywall.log"); };
log { source(src); destination(zywall); };

Logt er mir natürlich alles in mein logfile.

und nun eine Zeile der Logdatei ohne filter:

--------------------------------------------
Feb 15 10:17:26 media kernel: klogd 1.4.1, log source = /proc/kmsg started.
Feb 15 10:17:46 zywall src="80.123.112.202:1688" dst="195.202.154.116:22" msg="Firewall rule match: TCP (W to L, rule:2)" note="ACCESS PERMITTED" devID="00134956FF03" cat="Access Control"
Feb 15 10:17:54 zywall src="195.202.154.116:35180" dst="195.202.128.2:53" msg="Firewall rule match: UDP (L to W, rule:1)" note="ACCESS PERMITTED" devID="00134956FF03" cat="Access Control"
Feb 15 10:17:58 media sshd[17912]: Accepted keyboard-interactive/pam for joerg from ::ffff:80.123.112.202 port 1688 ssh2
------------------------------

Das müsste doch mit dem Filter hinhaun?

L.G Jörg




L.G Jörg
 
Zuletzt bearbeitet:

Ähnliche Themen

GCC Crosscompiler unter Debian Wheezy

Samba 4.1.11 Domänen anbindung funktioniert nicht !!!

Akonadi startet nicht mehr

dovecot und postfix Konfiguration Problem

Installation von monitord unter Debian wheezy

Zurück
Oben