Project

General

Profile

Actions

Bug #585

closed

Unable to start the ntop service

Added by Koen Van Impe almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
ntop
Target version:
-
Start date:
05/09/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.0
Affected Plus Version:
Affected Architecture:

Description

I've installed the latest snapshot pfSense-2.0-BETA1-20100507-1115 with quick install.

I installed ntop as a package.

It does not seem possible to start the ntop service.

Under Status/Services clicking "start" leaves the service still stopped. I'm also unable to connect to the ntop port (:3000). System is a clean install, no changes to firewall rules. Ntop is configured to listen on the LAN interface.

Actions #1

Updated by Jim Pingle almost 14 years ago

It looks like the includes on that package are rather messed up. It's trying to install a bunch of unneeded X libraries and who knows what else.

Actions #2

Updated by Chris Buechler over 13 years ago

  • Category set to ntop
Actions #3

Updated by Lars Goldschlager over 13 years ago

And yet, the problem is it doesn't include all the packages it really needs.

In a default install the following packages are missing:

  • GeoIP (uses /usr/lib/libGeoIP.so.5)
  • rrdtool (uses /usr/lib/librrd_th.so) rrdtool also pulls in a HUGE load of packages itself, including python26 (could a custom lib-only package be provided? be enough?), xproto, freetype, cairo (linked in ntop as well), pango (linked in ntop), fonts, etc.

So yes all the packages it pulls, it actually uses (wow), but it missed these two and the basketload of dependencies they pull.

Actions #4

Updated by Lars Goldschlager over 13 years ago

Extra update. it seems rrdtool 1.4.3 pulled in this build is too new for this ntop, since it provides librrd_th.so.5 and ntop is linked against librrd_th.so.4.

The crude hack of symlinking .so.5 to .so.4 works... but, it's a crude hack.

Actions #5

Updated by Joshua Schmidlkofer about 13 years ago

I hate being an utter n00b, but how does one attempt to install the various missing packages? I would love to get ntop running, but I am a little clueless as to how. Do I add the ports collection as some people have suggested?

Actions #6

Updated by Jim Pingle about 13 years ago

See additional related errors in #1285 and #1330

Actions #7

Updated by Jim Pingle almost 13 years ago

  • Status changed from New to Feedback

Should be OK now. Try to install/reinstall the package, save the settings, it should start.

Actions #8

Updated by Michele Di Maria almost 13 years ago

Hello,
on my secondary machine (CARP as backup) the service starts, but after 1 minute the service stops and I see on the log:

kernel: pid 27907 (ntop), uid 0: exited on signal 11 (core dumped)

On the Master machine it's working great... The machine has been just updated and all the packages reinstalled... I don't know if I can send you some more log to see...

Thanks,
Michele

Actions #9

Updated by Jim Pingle almost 13 years ago

One of the many joys of ntop... you might try to remove the package and reinstall it, to make sure it's got all of the proper dependencies.

Actions #10

Updated by Michele Di Maria almost 13 years ago

I did, no way, still stops after few time...
maybe updating ntop to the latest version could help, but anyway it's another bug than this and in my case has no real impact since it's only on the secondary machine...

Actions #11

Updated by Jim Pingle almost 13 years ago

We're using the latest version of ntop from the FreeBSD ports tree.

The only other thing I can think of that might help in your case might be to remove all other packages, then do a firmware update, and reinstall ntop. That should make sure that libraries are known-good versions from the base system and ntop. Failing that, a wipe+reload+restore the config, then reinstall the package might help.

Sadly ntop has so many dependencies that debugging it can be quite a pain. I've installed it on several more systems/VMs since yesterday and still haven't had any issues. It's been running for over 24hrs on one of my VMs, which is more than it did most of the time on 1.2.3 for me...

Actions #12

Updated by Jim Pingle almost 13 years ago

  • Status changed from Feedback to Closed

Installed a few more times and it seems to work fine. Closing the ticket.

Actions

Also available in: Atom PDF