Dieter
I believe you are using a custom startup script

Please use our init.d file that it expects a config files with the following 
format

-T=....
-n=none
....

If you want to avoid headache, please use the nbox configuration GUI

Regards Luca

Sent from my iPad

> On 21 Dec 2015, at 15:30, Dieter Gerhard <[email protected]> wrote:
> 
> Hi Luca,
> 
> i try to run nprobe as a service.
> From the command line, i start it with the parameters:
> 
> /usr/local/bin/nprobe -W -T " %EXPORTER_IPV4_ADDRESS %IPV4_SRC_ADDR 
> %IPV4_DST_ADDR %IPV4_NEXT_HOP %INPUT_SNMP %OUTPUT_SNMP %IN_PKTS %IN_BYTES 
> %FIRST_SWITCHED %LAST_SWITCHED %L4_SRC_PORT %L4_DST_PORT %PROTOCOL %SRC_AS 
> %DST_AS %IPV4_SRC_MASK 
> %IPV4_DST_MASK" -nnone --collector-port 2055 -B 1 -V 9 --max-num-flows 
> 5242880 --in-iface-idx -1 --out-iface-idx -1 
> --mysql=127.0.0.1:netflow:raw:netflow:blabla &
> 
> It works fine.
> 
> If i insert this in the "options=" section from the /etc.Iinit.d/nprobe.sh 
> file, it dont works.
> 
> if i try a /etc/init.d/nprobe restart
> 
> i see  this:
> 
> /etc/init.d/nprobe.sh: line 21: fg: no job control
> Restarting nProbe Done.
> 
> the nprobe service is not running.
> 
> The OS is  centos 6.7
> 
> 
> you have any idea ?
> 
> 
> 
> Mit freundlichen Grüßen / Kind regards
> 
> Dieter Gerhard
> 
> Senior Network Engineer Network Analysis
> MCITP,WCNA,CCNA
> Datacenter Network Aviation Industry Services
> FRA AI/D-L, LIC-B ,Room 6.1.52
> Phone:        +49 (0)69 / 696-96963    IBM Deutschland Aviation Industry 
> Services GmbH        
> <mime-attachment.gif>
> Fax:  +49 (0)69 / 696- 98 96963        Am Weiher 24
> Mobile:       +49 (0)151 58921919      65451 Kelsterbach
> Email:        [email protected]        Germany
> IBM Deutschland Aviation Industry Services GmbH / Geschäftsführung: Claus 
> Rohde, Jürgen Schwarz, Dirk Weigel
> Sitz der Gesellschaft: Kelsterbach / Registergericht: Amtsgericht Darmstadt, 
> HRB 94232
> 
> 
> _______________________________________________
> 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