Bug#416501: nfdump: can't customize behaviour

2014-05-05 Thread Denis Volkov
Hello 7 years later I've faced the same problem. This is how script should start nfcapd: + start-stop-daemon --start --quiet --pidfile /var/run/nfcapd.pid --exec /usr/bin/nfcapd -- ... -x '/root/nfrotate-args %f' If we check command line in /proc//cmdline, we can see: 00 2D 78 │ 00 2F 72 6F │ 6F

Bug#416501: nfdump: can't customize behaviour

2007-03-31 Thread Alessandro Ogier
Erik Wenzel ha scritto: > Am Freitag, den 30.03.2007, 22:46 +0200 schrieb Alessandro Ogier: >> Erik Wenzel ha scritto: Mar 29 17:28:26 lattepiu /usr/bin/nfcapd[16728]: Can't execvp: "/home/netflow/stuff/process.sh: No such file or directory >>> This is clearly a shell error. Is "/home/net

Bug#416501: nfdump: can't customize behaviour

2007-03-31 Thread Erik Wenzel
Am Freitag, den 30.03.2007, 22:46 +0200 schrieb Alessandro Ogier: > Erik Wenzel ha scritto: > >> Mar 29 17:28:26 lattepiu /usr/bin/nfcapd[16728]: Can't execvp: > >> "/home/netflow/stuff/process.sh: No such file or directory > > This is clearly a shell error. Is "/home/netflow/stuff/process.sh" ther

Bug#416501: nfdump: can't customize behaviour

2007-03-30 Thread Alessandro Ogier
Erik Wenzel ha scritto: >> Mar 29 17:28:26 lattepiu /usr/bin/nfcapd[16728]: Can't execvp: >> "/home/netflow/stuff/process.sh: No such file or directory > This is clearly a shell error. Is "/home/netflow/stuff/process.sh" there > and has executable permissions? Really? Check twice. nice lesson Erik

Bug#416501: nfdump: can't customize behaviour

2007-03-29 Thread Alessandro Ogier
Erik Wenzel ha scritto: > I don't think this is a nfdump related bugs. This looks like a shell > quoting problem to me. > Try DAEMON_ARGS="-w -t 300 -p 5000 -l /home/netflow/ -D -u nfcapd -g > nfcapd -x \"/home/netflow/stuff/process.sh %f\"" It's maybe something debian related, cause i ever use

Bug#416501: nfdump: can't customize behaviour

2007-03-29 Thread Erik Wenzel
Am Mittwoch, den 28.03.2007, 15:00 +0200 schrieb oggei: > Package: nfdump > Version: 1.5.2-6 > Severity: important > > > Hi, i needed to make some customizations on DAEMON_ARGS so i created one > on /etc/default/nfcapd . > Everything work fine except for -x (execute command on rotating) part, > a

Bug#416501: nfdump: can't customize behaviour

2007-03-28 Thread oggei
Package: nfdump Version: 1.5.2-6 Severity: important Hi, i needed to make some customizations on DAEMON_ARGS so i created one on /etc/default/nfcapd . Everything work fine except for -x (execute command on rotating) part, and no way getting it to work making all of sort of escaping. example: D