LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 06-03-2015, 05:45 AM   #1
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 401

Rep: Reputation: 22
CentOS 7 and ulogd problem at running.


Hi again, this time I got a CentOS 7 machine and now I got this problem again.

I did everything from http://www.netfilter.org/
Got ulogd 2.0.5, also the dependencies: libnfnetlink, libmnl, libnetfilter_log, libnetfilter_conntrack, libnetfilter_acct.

Everything compiled fine when I used "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure" for some of them since they
couldn't find the pgk-config. After all that I compiled ulogd and it was OK.
(Some problem that no ulogd.conf was installed at '/usr/local/etc/' so I had to manually copy it from the 'src' directory.)
I was happy for about a minute

As I use LOGEMU only (yet) I used only these:

Code:
# this is a stack for logging packet send by system via LOGEMU
#stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU

# this is a stack for packet-based logging via LOGEMU
#stack=log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU

# this is a stack for ULOG packet-based logging via LOGEMU
#stack=ulog1:ULOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU

# this is a stack for packet-based logging via LOGEMU with filtering on MARK
#stack=log2:NFLOG,mark1:MARK,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU

# this is a stack for flow-based logging via LOGEMU
#stack=ct1:NFCT,ip2str1:IP2STR,print1:PRINTFLOW,emu1:LOGEMU
I got error on everyone of them and if I used one at the time ulogd shut down for all except 'ct1'.

The errors:

Code:
[root@kgdubben ~]# ulogd -v
Wed Jun  3 12:34:05 2015 <5> ulogd.c:843 building new pluginstance stack: 'log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU'
Wed Jun  3 12:34:05 2015 <5> ulogd_inppkt_NFLOG.c:503 forcing unbind of existing log handler for protocol 2
Wed Jun  3 12:34:05 2015 <5> ulogd_inppkt_NFLOG.c:503 forcing unbind of existing log handler for protocol 10
Wed Jun  3 12:34:05 2015 <5> ulogd_inppkt_NFLOG.c:503 forcing unbind of existing log handler for protocol 7
Wed Jun  3 12:34:05 2015 <7> ulogd_inppkt_NFLOG.c:552 unable to bind to log group 0
Wed Jun  3 12:34:05 2015 <7> ulogd.c:813 error starting `log1'
Wed Jun  3 12:34:05 2015 <5> ulogd.c:843 building new pluginstance stack: 'log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU'
Wed Jun  3 12:34:05 2015 <7> ulogd_inppkt_NFLOG.c:552 unable to bind to log group 1
Wed Jun  3 12:34:05 2015 <7> ulogd.c:813 error starting `log2'
Wed Jun  3 12:34:05 2015 <5> ulogd.c:843 building new pluginstance stack: 'ulog1:ULOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU'
Wed Jun  3 12:34:05 2015 <7> ulogd.c:870 can't find requested plugin ULOG
Wed Jun  3 12:34:05 2015 <5> ulogd.c:843 building new pluginstance stack: 'log2:NFLOG,mark1:MARK,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU'
Wed Jun  3 12:34:05 2015 <7> ulogd.c:870 can't find requested plugin MARK
Wed Jun  3 12:34:05 2015 <5> ulogd.c:843 building new pluginstance stack: 'ct1:NFCT,ip2str1:IP2STR,print1:PRINTFLOW,emu1:LOGEMU'
Wed Jun  3 12:34:05 2015 <5> ulogd_inpflow_NFCT.c:1399 NFCT plugin working in event mode
Can anyone with this see what I did wrong or if it's a bug or not even runnable?
If you need more info just let me know?
 
Old 06-03-2015, 06:17 AM   #2
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 401

Original Poster
Rep: Reputation: 22
... or by the way, if you know any other logging tools like this and preferably not involving a database or anything.
This ulogd is so very perfect for me and with the fwfilter script it looks great.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem with xrdp on centos running as a KVM on proxmox kumarullal Linux - Networking 1 03-27-2015 02:45 PM
GUI problem on CentOS 5.3 (no Xorg process running) WojtekO Linux - Software 3 05-27-2009 12:47 AM
ulogd rpm for centos 5 DBabo Linux - Software 4 03-01-2008 05:16 PM
Problem installing IPW2200 wireless on Acer laptop running CentOS 4.5 pdown85 Linux - Wireless Networking 7 01-15-2008 03:59 PM
Problem with Starting FreeNX. Followed Guide. Centos. Dont think GNOME is running. CrewXp Linux - Software 5 08-14-2007 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration