Hi Adam
nprobe changes the user by default, please have a look at the help:

nprobe -h | grep user
--dont-drop-privileges                     | Do not drop privileges changing to 
user nobody
--unprivileged-user <name>          | Use <name> instead of nobody when 
dropping privileges

Alfredo

On Jul 18, 2013, at 4:19 PM, Adam Stepanek <[email protected]> wrote:

> Hello,
> 
> I am trying to do some experimentations with nProbe as part of my university 
> project but I'm failing to make nProbe dump the flows to the file. It starts 
> up (nprobe -i lo -P /root/nprobe -V 9), then I locally send some flow records 
> (through nfreplay - part of nfdump toolset) but when I try to quit the app 
> (CTRL+C), it fails to create a directory. It says "Permission denied", 
> however, I am working under root account so that can't be the case. At the 
> end, it says "Flow file XY is now available" but there's not such a file. 
> Here's the transcription: 
> 
> ...
> 18/Jul/2013 15:42:10 [util.c:2586] WARNING: mkdir_p(/root/nprobe/2013): 
> [error=13/Permission denied]
> 18/Jul/2013 15:42:10 [util.c:2586] WARNING: mkdir_p(/root/nprobe/2013/07): 
> [error=2/No such file or directory]
> 18/Jul/2013 15:42:10 [util.c:2586] WARNING: mkdir_p(/root/nprobe/2013/07/18): 
> [error=2/No such file or directory]
> 18/Jul/2013 15:42:10 [util.c:2594] WARNING: 
> mkdir_p(/root/nprobe/2013/07/18/15), error 2 No such file or directory
> 18/Jul/2013 15:42:10 [engine.c:2688] WARNING: Unable to create file 
> '/root/nprobe/2013/07/18/15/42.flows.temp' [errno=2]
> 18/Jul/2013 15:42:11 [engine.c:2523] Flow file 
> '/root/nprobe/2013/07/18/15/42.flows' is now available
> …
> 
> I also tried to use the option --dont-nest-dump-dirs without any difference. 
> Do you have any ideas what could be the issue here? Using nProbe 
> v.6.13.130715 and OS Red Hat Enterprise Linux Server 6.4.
> 
> Thank you.
> 
> Adam
> 
> 
> 
> 
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to