Code Monkey home page Code Monkey logo

Comments (10)

MatteoBiscosi avatar MatteoBiscosi commented on July 21, 2024

Hi @djstarfox could you please provide your ntopng configuration file?

from ntopng.

djstarfox avatar djstarfox commented on July 21, 2024

Sure, I should have posted that earlier.... Here are all the non-comments from the ntopng.conf file:

-G=/var/run/ntopng.pid
-i=eth1
-i=syslog://192.168.30.13:514@udp
-w=80
-m="169.254.0.0/16,192.168.1.0/24" #IPranges redacted
-n=0
-d=/opt/ntopng
-p=/etc/ntopng/protos.txt
-v=6

from ntopng.

cardigliano avatar cardigliano commented on July 21, 2024

@djstarfox I suggest to run a couple of tests, running ntopng with eth1 only, and with syslog only, to figure out which interface is leading to the segfault. After that we probably need to send you a binary with debug enabled.

from ntopng.

djstarfox avatar djstarfox commented on July 21, 2024

No luck. Commenting out either (or both) interfaces results in the same crash and segfault. Even after completely purging the working directory (RRD info), it crashes with:

free(): invalid pointer
Aborted

To test from the command line:
cd /usr/share/ntopng/
/usr/bin/ntopng /etc/ntopng/ntopng.conf

from ntopng.

djstarfox avatar djstarfox commented on July 21, 2024

Also, FYI, I've had to downgrade to ntopng_6.1.240428-23337 as a workaround. So, this bug came between version 6.1.240428 and 6.1.240512.

from ntopng.

cardigliano avatar cardigliano commented on July 21, 2024

@djstarfox there is a new ntopng_6.1.240621-23628 package available at https://packages.ntop.org/RaspberryPI/bullseye_pi/arm64/ntopng/
It seems to be working fine in our lab, with no crash, please check it and let us know

from ntopng.

djstarfox avatar djstarfox commented on July 21, 2024

After updating to 6.1.240621, ntopng crashes again after a minute with:
free(): invalid size
Aborted

from ntopng.

cardigliano avatar cardigliano commented on July 21, 2024

@djstarfox please drop an email to cardigliano at ntop.org, I will send you a binary with debug support

from ntopng.

djstarfox avatar djstarfox commented on July 21, 2024

I'm testing patch included with ntopng_6.1.240628-23672. Will let you know how it goes.

from ntopng.

djstarfox avatar djstarfox commented on July 21, 2024

Been running on the new version all weekend without any crashes. OK to resolve, unless someone else also wants to test.

from ntopng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.