|
From: Mike B. <mby...@co...> - 2005-07-11 21:13:58
|
Hello. Last week I came across iptables logs and decided to give it a try. Everything has been great except for the feed_db.pl script. Basically when I run it with --background, nothing happens. If I run it without any args, it works just fine. I did notice though that it spawned two instances of tail: root 27826 0.0 0.2 2600 1212 pts/0 S 14:02 0:00 sh -c tail --follow=name --retry /var/log/iptables 2>/dev/null root 27827 0.0 0.1 1972 648 pts/0 S 14:02 0:00 tail --follow=name --retry /var/log/iptables When I try to run the top one, no output is ever given. Anyone have any ideas or suggestions on what I can do to help debug the script or find a way for it to work? Also, out of curiousity, why was the decision made to use the tail binary as opposed to File::Tail? Thanks, Mike |