ntop / nProbe

Open source components and extensions for nProbe
http://ntop.org
GNU General Public License v2.0
1.64k stars 44 forks source link

Error during installation on Raspberry PI #497

Closed fanciulli closed 3 years ago

fanciulli commented 3 years ago

On latest version (9.5.210718-7384) of nprobe I get the following when installing nprobe on a PI (following the procedure provided on the ntop website):

Screenshot 2021-07-20 at 09 53 13

Below the systemctl log lines:

Screenshot 2021-07-20 at 09 54 47

lucaderi commented 3 years ago

It works for me. Please try again

root@pi3:/storage/home/deri/binary_packages# ls /etc/nprobe ls: impossibile accedere a '/etc/nprobe': File o directory non esistente root@pi3:/storage/home/deri/binary_packages# dpkg -i ./nprobe_9.7.210808-7419_armhf.deb Selezionato il pacchetto nprobe non precedentemente selezionato. (Lettura del database... 176744 file e directory attualmente installati.) Preparativi per estrarre .../nprobe_9.7.210808-7419_armhf.deb... Estrazione di nprobe (9.7.210808-7419)... Configurazione di nprobe (9.7.210808-7419)... Rebuilding ld cache... Making the /var/log/nprobe directory... (Re)Starting nprobe services... Created symlink /etc/systemd/system/multi-user.target.wants/nprobe.service → /etc/systemd/system/nprobe.service. root@pi3:/storage/home/deri/binary_packages# service nprobe status ● nprobe.service - nprobe extensible NetFlow v5/v9/IPFIX probe/collector for IPv4/v6 Loaded: loaded (/etc/systemd/system/nprobe.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2021-08-13 09:37:10 CEST; 29s ago Process: 20265 ExecStartPre=/bin/sh -c /bin/sed "/^-g.$|^-G.|^--daemon-mode.|^--pid-file./s/^/#/" /etc/nprobe/nprobe.conf > /run/nprobe.conf (code=exited, status=0/SUC Main PID: 20267 (nprobe) Tasks: 4 (limit: 2062) CGroup: /system.slice/nprobe.service └─20267 /usr/bin/nprobe /run/nprobe.conf

ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [nprobe.c:9464] The # flows per packet has been set to 16 ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [nprobe.c:9467] IP TOS is ignored ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [nprobe.c:9495] Non IPv4/v6 traffic is discarded according to the template ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [util.c:559] Loaded database /usr/share/ntopng/httpdocs/geoip/dbip-asn-lite.mmdb [ip_version: 6] ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [util.c:594] Loaded database /usr/share/ntopng/httpdocs/geoip/dbip-country-lite.mmdb [ip_version: 6] ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [nprobe.c:10503] Not capturing packet from interface (collector mode) ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [nprobe.c:7887] Initializing pcap socket on device lo (promisc) ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [util.c:4381] nProbe changed user to 'nprobe' ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [export.c:548] Using TLV as serialization format ago 13 09:37:11 pi3 nprobe[20267]: 13/Aug/2021 09:37:11 [nprobe.c:10893] nProbe started successfully root@pi3:/storage/home/deri/binary_packages# ls /etc/nprobe/nprobe.conf /etc/nprobe/nprobe.conf root@pi3:/storage/home/deri/binary_packages#