i am trying to run fastcapa (metron project) on VM(ubuntu20.04) with dpdk and librdkafka installed and built.
but when i run this commande i got this error:
cmnd: sudo ./fastca pa -c 0x0f -n 1 --huge-dir /mnt/huge_1GB -- -p 0x00 -t pcap -c /etc/project/metr on/metron-sensors/fastcapa/conf/fastcapa.conf
error:
EAL: Detected 4 lcore(s)
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:03:00.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 15ad:7b0 net_vmxnet3
EAL: PCI device 0000:0b:00.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 15ad:7b0 net_vmxnet3
EAL: PCI device 0000:13:00.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 15ad:7b0 net_vmxnet3
[ -p PORT_MASK ] defined as -1
[ -b RX_BURST_SIZE ] defined as 32
[ -w TX_BURST_SIZE ] defined as 256
[ -d NB_RX_DESC ] defined as 1024
[ -x TX_RING_SIZE ] defined as 2048
[ -q NB_RX_QUEUE ] defined as 1
[ -t KAFKA_TOPIC ] defined as pcap
[ -c KAFKA_CONFIG ] defined as /etc/project/metron/metron-sensors/fastcapa/conf/ fastcapa.conf
[ -s KAFKA_STATS ] defined as (null)
[ NUM_RX_WORKERS ] defined as 1
[ NUM_TX_WORKERS ] defined as 2
USER1: config[kafka-global]: metadata.broker.list = localhost:9092
USER1: config[kafka-global]: client.id = fastcapa
USER1: config[kafka-global]: batch.num.messages = 500000
USER1: config[kafka-global]: queue.buffering.max.messages = 5000000
USER1: config[kafka-global]: metadata.broker.list = localhost:9092
USER1: config[kafka-global]: client.id = fastcapa
USER1: config[kafka-global]: batch.num.messages = 500000
USER1: config[kafka-global]: queue.buffering.max.messages = 5000000
%3|1614601657.361|FAIL|fastcapa#producer-2| [thrd:localhost:9092/bootstrap]: loc alhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused
%3|1614601657.361|FAIL|fastcapa#producer-1| [thrd:localhost:9092/bootstrap]: loc alhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused
USER1: Initializing port 0
EAL: Error - exiting with code: 1
Cause: Cannot setup TX queue; port=0, err=Invalid argument
can someone help to solve this issue. thank you.