LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2010, 04:29 AM   #16
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled

Quote:
Originally Posted by qwertyjjj View Post
I used yum install to install it already.
The link you provided tutors using a source. Anyhow, I can copy and paste the ntop.conf. Also there is a small change in the init script for ntop in /etc/init.d
 
Old 11-08-2010, 04:31 AM   #17
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by linuxlover.chaitanya View Post
See my earlier post. If you installed ntop from source we can not say if the installation was clean. What I would suggest you is a clean installation from yum repositories.
No, I did not install from source. The instruction says to install from source but I installed by doing yum install ntop.
I am still not sure what the problem is - the sys messages.

Last edited by qwertyjjj; 11-08-2010 at 04:34 AM.
 
Old 11-08-2010, 05:01 AM   #18
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by linuxlover.chaitanya View Post
The link you provided tutors using a source. Anyhow, I can copy and paste the ntop.conf. Also there is a small change in the init script for ntop in /etc/init.d
Any idea on what the errors say is wrong?
Thanks
 
Old 11-08-2010, 05:04 AM   #19
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Can you see what service ntop start gives you?
 
Old 11-08-2010, 05:27 AM   #20
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by linuxlover.chaitanya View Post
Can you see what service ntop start gives you?
Code:
[root openvpn]# service ntop start
Starting ntop:                                             [  OK  ]
[root openvpn]# Error Opening file ./GeoLiteCity.dat
Error Opening file ./GeoIPASNum.dat
[root openvpn]# service ntop start
-bash: [root: command not found
[root openvpn]# Starting ntop:                                             [  OK  ]
-bash: Starting: command not found
[root openvpn]# [root openvpn]# Error Opening file ./GeoLiteCity.dat
-bash: [root: command not found
[root openvpn]# Error Opening file ./GeoIPASNum.dat
-bash: Error: command not found
[root openvpn]#
[root openvpn]# pidof ntop
27951
[root openvpn]#
 
Old 11-08-2010, 05:32 AM   #21
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
The last pidof tells that ntop is running. You can check the messages file in /var/log to check the logs.
 
Old 11-08-2010, 05:47 AM   #22
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by linuxlover.chaitanya View Post
The last pidof tells that ntop is running. You can check the messages file in /var/log to check the logs.
Isn;t it bad that it can't open those .dat files?
 
Old 11-08-2010, 05:51 AM   #23
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Can you go to http://<your-ntop-ip:3000?
Till then I will look why the errors?
 
Old 11-08-2010, 05:54 AM   #24
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
http://www.gossamer-threads.com/lists/ntop/dev/22515

http://www.mail-archive.com/ntop-dev.../msg06084.html
 
Old 11-08-2010, 06:41 AM   #25
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by linuxlover.chaitanya View Post
Can you go to http://<your-ntop-ip:3000?
Till then I will look why the errors?
Hi
No, there is no access on those sites but then I am accessing using a WAN IP. I cannot access using the localhost as it is a command line linux box.

The firewall is open
-A INPUT -p tcp -m tcp --dport 3000 -m state --state NEW -j ACCEPT

I tried the redownload fix and that did not work:
http://www.gossamer-threads.com/lists/ntop/dev/22515

Last edited by qwertyjjj; 11-08-2010 at 06:50 AM.
 
Old 11-08-2010, 08:24 AM   #26
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Is there an alternative to ntop because the install is clearly not working well - it doesn;t give me confidence in the software
 
Old 11-08-2010, 11:30 AM   #27
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
ntop is a popular tool to do what you wish to do. Don't be so quick to give up on things.

If you downloaded these files, did you uncompress them? where did you put them? A quick google search shows they might belong in /usr/local/share/GeoIP but I'm not currently with access to a machine that has ntop so I can't verify.

Feel free to look for other software if you'd like.
 
Old 11-08-2010, 03:35 PM   #28
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You could install darkstat network sniffing and reporting tool. This is in the Ubuntu repositories.
http://dmr.ath.cx/net/darkstat/
I installed it when I read this thread. It's been running for several hours and I got some nice reports.

It (may have to) run on a network router to see all of the network traffic. It's hard to tell on my home LAN over a few hours. Not much traffic, especially when I'm on a service call so not using the LAN.

Last edited by stress_junkie; 11-08-2010 at 03:44 PM.
 
Old 11-09-2010, 02:18 AM   #29
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by stress_junkie View Post
You could install darkstat network sniffing and reporting tool. This is in the Ubuntu repositories.
http://dmr.ath.cx/net/darkstat/
I installed it when I read this thread. It's been running for several hours and I got some nice reports.

It (may have to) run on a network router to see all of the network traffic. It's hard to tell on my home LAN over a few hours. Not much traffic, especially when I'm on a service call so not using the LAN.
How did you get the reports?
I have oit installed and running, but when I go to my WAN IP on the webs erver it just says "hello"
 
Old 11-09-2010, 02:41 AM   #30
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by qwertyjjj View Post
How did you get the reports?
I have oit installed and running, but when I go to my WAN IP on the webs erver it just says "hello"
Just figured it out, you have to run it with the -p option and use a port number to access it through a browser.
It doesn't seem to give the usage per IP address though and current usage per IP address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check who has the highest bandwidth in a network? wakkana12 Linux - Networking 2 08-07-2010 03:00 AM
How to Check Alloted Bandwidth? nirmit Linux - Networking 0 03-16-2009 01:30 AM
How to check internet bandwidth jojojo Linux - Newbie 4 06-07-2006 06:33 PM
How To Check Traffic Usage/Bandwidth pjbeal Linux - Newbie 4 12-14-2004 06:29 PM
How to check the bandwidth of an aplication woho Linux - Software 5 11-17-2003 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration