Bug #585
closedUnable to start the ntop service
0%
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.
Updated by Jim Pingle over 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.
Updated by Lars Goldschlager over 14 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.
Updated by Lars Goldschlager over 14 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.
Updated by Joshua Schmidlkofer almost 14 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?
Updated by Jim Pingle almost 14 years ago
Updated by Jim Pingle over 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.
Updated by Michele Di Maria over 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
Updated by Jim Pingle over 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.
Updated by Michele Di Maria over 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...
Updated by Jim Pingle over 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...
Updated by Jim Pingle over 13 years ago
- Status changed from Feedback to Closed
Installed a few more times and it seems to work fine. Closing the ticket.