ntopng for IPFire

Help on building IPFire & Feature Requests
User avatar
gocart
Posts: 518
Joined: December 16th, 2013, 4:43 pm
Location: Germany

Re: ntopng for IPFire

Post by gocart » May 4th, 2018, 11:04 pm

deleted...
Last edited by gocart on May 5th, 2018, 1:52 pm, edited 2 times in total.

Stefan87
Posts: 39
Joined: July 20th, 2017, 11:55 pm

Re: ntopng for IPFire

Post by Stefan87 » May 5th, 2018, 1:56 am

I'm still waiting for the update of the installer So far there are no updates available

Image

Edwin
Posts: 104
Joined: March 19th, 2016, 12:02 pm

Re: ntopng for IPFire

Post by Edwin » May 5th, 2018, 8:06 am

Good morning gokart,

Just re-downloaded and re-installed. ntopng is running now, thank you so much!

Regards,
Edwin.

Edit: It sees only the red and green interface..
Edit2: found the ntopng.conf. Stopped ntopng in the Webiif, enabled blue in config and restart ntopng in Webif. ntopnf refuses to restart...
Other things to do now, later...
Image
Image

ummeegge
Community Developer
Community Developer
Posts: 4676
Joined: October 9th, 2010, 10:00 am

Re: ntopng for IPFire

Post by ummeegge » May 5th, 2018, 9:31 am

Stefan87 wrote:
May 5th, 2018, 1:56 am
I'm still waiting for the update of the installer So far there are no updates available
Am currently on vacation so no time at all for an update in here. If too impatient please use gocarts version.

UE
Image
Image
Image

User avatar
gocart
Posts: 518
Joined: December 16th, 2013, 4:43 pm
Location: Germany

Re: ntopng for IPFire

Post by gocart » May 5th, 2018, 1:42 pm

Hi,
all packages are updated to the last build (x86 and x64) with all needed libs. Redis is updated to 4.0.9.
Please enable needed interfaces manually in the /etc/ntopng/ntopng.conf.

The download post:
viewtopic.php?f=50&t=19565&p=115997#p115997

@Edwin: use "service ntopng stop" and wait min 3 sec, then "service ntopng start". Ntopng need time to fully close.

Greetings, gocart

Stefan87
Posts: 39
Joined: July 20th, 2017, 11:55 pm

Re: ntopng for IPFire

Post by Stefan87 » May 5th, 2018, 2:36 pm

Mit allen nötigen Libs und Core120 fähig als klassisches .ipfire Paket zum installieren über /opt/pakfire/tmp.
einfach die zwei Dateien reinkopieren in das Verzeichnis und die dann installieren ?

User avatar
gocart
Posts: 518
Joined: December 16th, 2013, 4:43 pm
Location: Germany

Re: ntopng for IPFire

Post by gocart » May 5th, 2018, 2:48 pm

@Stefan87
Erst das Redis nach /opt/pakfire/tmp kopieren, dann mit "tar axf *" auspacken und die install.sh aufrufen. Ordner leer machen und das Gleiche noch mal mit ntopng. Nicht beide gleichzeitig. Dees wird nix...

Grüße, gocart
Last edited by gocart on May 5th, 2018, 6:17 pm, edited 1 time in total.

Stefan87
Posts: 39
Joined: July 20th, 2017, 11:55 pm

Re: ntopng for IPFire

Post by Stefan87 » May 5th, 2018, 3:24 pm

Work Thanks

Edwin
Posts: 104
Joined: March 19th, 2016, 12:02 pm

Re: ntopng for IPFire

Post by Edwin » May 5th, 2018, 11:29 pm

Downloaded the latest redis and ntopng packages and did a re-inststall. It all works as expected.
Thanks!
Image
Image

User avatar
kettenshcutz
Posts: 17
Joined: May 23rd, 2018, 12:04 pm

Re: ntopng for IPFire

Post by kettenshcutz » June 1st, 2018, 11:48 am

very big thanks for that smart piece of software :)

i used the installer and finished the installation without any impacts or issues. webservice is running and the monitoring of ntop is wonderful

thanks for sharing this :-*

regards

tx.hermit
Posts: 25
Joined: May 26th, 2018, 6:12 pm

Re: ntopng for IPFire

Post by tx.hermit » June 1st, 2018, 7:24 pm

I am missing something...
If I wget the links on the download post, install redis, no problem. Then do the same for ntopng, the script has several issues. Are there other dependencies that I am missing?

Thanks.

User avatar
gocart
Posts: 518
Joined: December 16th, 2013, 4:43 pm
Location: Germany

Re: ntopng for IPFire

Post by gocart » June 1st, 2018, 8:19 pm

@tx.hermit

What for issues? Please report. (ipfire version, install logs and error messages are needed to help you)

Greetings, gocart

User avatar
kettenshcutz
Posts: 17
Joined: May 23rd, 2018, 12:04 pm

Re: ntopng for IPFire

Post by kettenshcutz » June 4th, 2018, 9:18 am

hey again
an strange error occured now, 3 days after installation

i wasnt able to reach the NTOP webIF anymore. after some research i just tried to reinstall ntop but got some errors during install about

/usr/lib/mysql/libmysqlclient.so.15

thats the error : https://prnt.sc/jqko7c

theres a link for this file at /usr/lib

the the file libmysqlclient.so.15 doenst exist (anymore?). Its called libmysqlclient.so.15.0.0

i copied the file libmysqlclient.so.15.0.0 to libmysqlclient.so.15 and it works
Even the reset of the link to the valid file libmysqlclient.so.15.0.0 will work. I guess renaming of libmysqlclient.so.15.0.0 to libmysqlclient.so.15 will work as well, but i wont change active files, so i made a simple copy of libmysqlclient.so.15.0.0

thats strange because nothing has changed on the system, no update or new-installations of wtf-ever. happens out of the sudden !?

ummeegge
Community Developer
Community Developer
Posts: 4676
Joined: October 9th, 2010, 10:00 am

Re: ntopng for IPFire

Post by ummeegge » June 5th, 2018, 9:43 am

Hi all,
we do have a problem with the DB since IPFire dropped MySQL and new installed systems do not have to my knowledge the mysql libs anymore. To clear things a little up, the community version of Ntopng uses the following MySQL function
Quote from --> https://www.ntop.org/products/traffic-analysis/ntop/ :
Export expired flows information to MySQL, possibly augumented with nProbe data
to use nProbe a license is needed and is also not provided in here... The paid professional and enterprise versions do also use the following features
Advanced MySQL insertions yielding 5x faster database writes
Optimized MySQL aggregations for faster historical flow data explorations
so in general, the SQL support in this version is not that good connected in my opinion but is anyways a dependency to build Ntopng.

To avoid a vast installation i tried it with the MariaDB perl module (*.so) only which worked even without further functions.

@gocart
whats your current building state in that manner ? Should we switch in here to MariaDB ?

Another problem is currently to build Ntopng for 32bit --> https://github.com/ntop/ntopng/issues/1721 whereby i have currently no solution for this but am currently also not working on it.
On ARM platform redis do currently not build and needs to be patched.

So Ntopng is in my opinion in this state no candidate for a potential Addon for IPFire.

Some news from here, greetings,

UE
Image
Image
Image

User avatar
gocart
Posts: 518
Joined: December 16th, 2013, 4:43 pm
Location: Germany

Re: ntopng for IPFire

Post by gocart » June 5th, 2018, 3:00 pm

Hi UE,

my package is build with mariadb 10.2.14. The mariadb libs are included in my package...

Code: Select all

usr/lib/mysql/libmariadb.so
usr/lib/mysql/libmariadb.so.3
All runs without problems.
@ue Ach und den Schmutz mit libz hatte ich oooch ;-)

The download post of my build in german language:
viewtopic.php?f=50&t=19565&p=115997#p115997

Greetings, gocart

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests