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
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
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
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
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
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
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
7 matches
Mail list logo