Can't start NTOP service/daemon

Thread Tools Search this Thread
Operating Systems Linux Red Hat Can't start NTOP service/daemon
# 1  
Old 06-14-2011
Can't start NTOP service/daemon

I have installed version of ntop 4.0.3 by guide.
But I can't start ntop daemon/service. I didn't find a service file for starting.
During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required.

I didn't find in /etc/init.d/ ntop daemon.
HTML Code:
# service ntop status
ntop: unrecognized service
What can I do in this situation?

Best regards,
# 2  
Old 06-14-2011
I dont think ntop has a init script for starting and stopping. Please check /usr/local/bin/ntop.
and its options for starting the ntop.

Once its started access the webpage from port 3000 and start using it.
# 3  
Old 06-14-2011
I have checked all probabilities. I can reach ntop web gui from port 3000 when I start ntop.
HTML Code:
# ls -l /usr/local/bin/
total 0
What is the main problem. Smilie
# 4  
Old 06-15-2011
did you tried to search for ntop via find command
# 5  
Old 06-15-2011
Thanks dude, I tried
HTML Code:
#find / -name ntop
I followed as far as below. I was mistaken or guide is wrong.
I only run
HTML Code:
Type the following commands to compile and install ntop:
# ./
Just type make to compile ntop:
# make
Just type make install to install ntop:
# make install
# make install-data-as

I installed ntop and it's running now. I accepted port 3000 from iptables.
HTML Code:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3000 -j ACCEPT

is ok but I can't reach from outside to ntop webgui.
http://ntop-machine-ip:3000 : can't display ntop page.

I tried to enter web users path from Admin+ Configure+Web users on Ntop webpage on ntopmachine but password is not concerned.
I have already two users which are ntop and root and passwords are same.

How can I reach to ntop machine from LAN. Smilie

HTML Code:
# netstat -tulpn | grep :3000
tcp        0      0 :::3000                     :::*                        LISTEN      2960/ntop           
# 6  
Old 06-15-2011
I hope you dont have any other iptables rule to block the IP or a subnet.
If you are suspecting the iptables, temporarily stop it and check whether you are able to access the page from the network so that we can identify the culprit.

Please post the iptables -L o/p or the contents of /etc/sysconfig/iptables file
# 7  
Old 06-15-2011
I try to prepare some notes about Ntop Installion..

## for needed librarys that needed ntop (+rrdtool )
# yum install cairo-devel libxml2-devel pango-devel pango libpng-devel \
freetype freetype-devel libart_lgpl-devel libpcap-devel libpcap gdbm-devel

## for rrdtool install ( that needed by ntop for stores and collects datas in own database )
# wget
# tar -zxvf rrdtool-1.4.5.tar.gz
# export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
# ./configure
# make && make install

## for GeoIP install ( ip adress informations..)
# wget 
# tar xzvf GeoIP.tar.gz 
# ./configure 
# make && make install

## for ntop install (finally install network monitor)
# wget http://cdnetworks-us-1.dl.sourceforg...p-4.0.1.tar.gz
# tar xvzf ntop4.0.1.tar.gz
# cd ntop-4.0.1/
# ./ --with-rrd-home=/opt/rrdtool-1.4.5/
# make && make install
# useradd -M -s /sbin/nologin -r ntop
# chown -R ntop:ntop /usr/local/share/ntop/ /usr/local/var/ntop/ /usr/local/share/GeoIP
# /usr/local/bin/ntop -d -u ntop -P /usr/local/var/ntop --skip-version-check -L --use-syslog=daemon

or try install so that rpm way Smilie


Last edited by ygemici; 06-15-2011 at 12:30 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to integrate all the systemctl commands into a shell script to verify any daemon/agent service?

Hi, Can we integrate all the systemctl command into a shell script to verify any service with all the options of systemctl if service integrate with the operating system service management tools to deliver their functionality. sudo systemctl start <service_name> sudo systemctl stop... (1 Reply)
Discussion started by: Mannu2525
1 Replies

2. Shell Programming and Scripting

not able to start xvfb service via rc script

Hi , I am having this start script to start xvfb under rc3.d but it fails during system startup saying unable to open display. also manually if i try to execute the script , it does not work. But if i execute what ever is there in the script line by line on my SHELL , it starts well. ... (2 Replies)
Discussion started by: chidori
2 Replies

3. Ubuntu

start service when get login prompt

Hi Team, I am using DRBL environment on Ubuntu. When my machine starts some times it's not starting lxdm & nslcd service. Because of that i didn't get graphic mode & also not able to authenticate user as nslcd is also stops. I have to login as root and restart these two services, then i am able... (0 Replies)
Discussion started by: paragnehete
0 Replies

4. AIX

How to start rstatd Daemon

guy's How to start rstatd Daemon on AIX 6.1 as I enable it from etc/inetd.conf then I refreshed it by this command refresh -s inetd but stil is not Active ! can some one advice in this ! (7 Replies)
Discussion started by: ITHelper
7 Replies

5. Red Hat

difference between restarting a daemon and a service

Hi, Can you please clear me the difference between restarting the daemon and the service. To be more clear, /etc/init.d/mysqld restart and /etc/init.d/mysqld restart What is the difference on this both two?..... (4 Replies)
Discussion started by: gsiva
4 Replies

6. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

7. Ubuntu

How can I automatically start a daemon at boot time.

Hi masters, I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task. Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies

8. Programming

MySQL service start error

Hi, I have installed MySql version 5.0.67 in RedHat LINUX version 5. The installation completed successfully. When I am trying to start the service an error occured the error shown below ".......Manager of pid-file quit without updating file" Can anyone help me to fix the problem.... (4 Replies)
Discussion started by: saravanakumar
4 Replies

9. Shell Programming and Scripting

Start a service as user

Hi I need a service to be start as user after a reboot. My script in /etc/init.d contain the following: start() { su - $USER cd ${INSTALL_PATH}/bin ./MyApp -X exit return 0 } This function stops after su - $USER, I get user shell, and only if I manualy... (5 Replies)
Discussion started by: potro
5 Replies

10. UNIX for Dummies Questions & Answers

Making a Script to Start as a Service

Hi, I have a shell script on my solaris box. So, what are the steps required to make this script run as a Service, when the system re-starts. (for ex:- at run level 3). I know that I should use the rc.d folders. But I don't know the exact steps. Kindly explain, Thanks in... (3 Replies)
Discussion started by: S.Vishwanath
3 Replies
Login or Register to Ask a Question