Last week I decided to install ntop on one of my CentOS 6 machines and, to much of my surprise, it turned out that there is no ntop package in the standard CentOS6 repositories (i.e. Base, EPEL, RPMFusion). Then, I looked into Fedora repository and it turned out that there is package, but for the older version, i.e. 4.0 (the newest version of ntop at the time this post was written was 5.0). So, I downloaded that older version, placed new version of ntop, modified a bit SPEC file and tried to build it. It didn't work intermediately, but after few more tweaks it worked. I filled a bug report on RedHat's bugzilla so that maintainter can upgrade a package, if he wishes so.
In the mean time, I decided to build package for CentOS 6. The main problem is that Fedora introduced Systemd instead of traditional SysV init used by CentOS. To cut the story short, I managed to do that, too. The resulting SPEC file can be used in both Fedora and EPEL6. I uploaded new SPEC file (and init file) to bugzilla, so you can fetch them there if you wish.
Until maintainers decide what to do, and if anything to do with it, here are the SRPM file and resulting binary RPM file for 64-bit CentOS6.
Random notes of what's on my mind. Additional materials you'll find on my homepage.
Subscribe to:
Post Comments (Atom)
About Me
- Stjepan Groš (sgros)
- scientist, consultant, security specialist, networking guy, system administrator, philosopher ;)
Blog Archive
-
▼
2012
(124)
-
▼
July
(17)
- Searching for packet catpuring and interface manip...
- ntop 5 on CentOS 6...
- A case against wizards...
- Integrating FreeIPA and Alfresco...
- Biseri naših neukih novinara 5...
- Querying SNORT SQL database
- Temeljne dozvole na Linux/Unix operacijskom sustav...
- Korisnici i grupe u Linux operacijskom sustavu...
- Research paper: "Lessons from the PSTN for Dependa...
- ASLR to extreme
- Biseri naših neukih novinara 4...
- Zimbra log cluttering...
- Plaća i sindikati...
- VMWare Workstation DNS server...
- Colors in terminal...
- Sigurnost Hrvatskih Web stranica...
- Linux and Canon ImageRunner 2520
-
▼
July
(17)
11 comments:
Hello, the links are broken.
Can you fix them ?
Thanks.
I accidentally removed binary files, but unfortunatelly I'll be able to fix that only in a week or two...
Ok, links are fixed.
Thank you, it's been very useful.
I installed it successfully.
Hmm, I try to run ntop, but it fails:
# service ntop start
Starting ntop: service not configured, run ntop manually
or:
# /etc/init.d/ntop start
Starting ntop: service not configured, run ntop manually
Any advice?
Maybe something wrong with init script?
Please advise.
You have to manually run ntop once in order for it to set administrator password. As a root user just type ntop in command line and press enter. It will ask you password, and maybe something else. Then, kill this process (if it is still running) and start it as a service.
OK, I got it here:
http://www.nux.ro/archive/2012/08/ntop__service_not_configured__run_ntop_manually.html
By the way, I am trying to use the "--no-mac" option in /etc/ntop.conf file, but this fails:
# service ntop start
Starting ntop: /usr/sbin/ntop: unrecognized option '--no-mac'
/usr/sbin/ntop: unrecognized option '--no-mac'
[FAILED]
Why ntop wouldn't recognize this option?
There is no more --no-mac option (man ntop doesn't show it). But why and when it was removed and if there is replacement option, I don't know.
Subversion should be listed as one of the builddeps.
And python-devel too.
Post a Comment