Marco it works for us but might be that your config file breaks the init script.
Can you please file an issue on https://github.com/ntop/nProbe/issues and paste the nprobe versione as well the config file? Luca On 05/03/2016 10:55 AM, Marco Teixeira wrote: > Hello, > > Trying to start /etc/init.d/nprobe, i get: > > [root@nprobe ~]# /etc/init.d/nprobe start > Starting nProbe ens2f0 > /etc/init.d/nprobe: line 26: [: -gt: unary operator expected > > The line in question is the IF statement: > > CORE_OFFSET=$(cat /etc/nprobe/nprobe-${INTERFACE_NAME}.conf | grep > "\--cpu-affinity=#ID\+" | cut -d '+' -f 2) > if [ $CORE_OFFSET -gt 0 ]; then > > As i don't have the --cpu-affinity flag on the config, shouldn't it > just proceed ? > I tried adding the --cpu-affinity=0 but the error persists... > > Anyone running this successfully in CentOS 7 ? > > Thank you, > Marco > > > > _______________________________________________ > 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
