LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-07-2011, 04:01 PM   #1
Hariharan
Member
 
Registered: Nov 2004
Location: Bangalore
Posts: 64

Rep: Reputation: 0
ntop service start error


Hi,
i have install ntop in my linux system use yum (yum install ntop).I entered in to /usr/share/ntop/html and i ran this "ntop" the following was am got
.
.
.
.Mon Feb 7 21:50:23 2011 THREADMGMT: RRD: Started thread (t2995960720) for data collection
Mon Feb 7 21:50:23 2011 THREADMGMT[t2995960720]: RRD: Data collection thread starting [p24469]
Mon Feb 7 21:50:23 2011 INIT: Created pid file (/var/run/ntop.pid)
Mon Feb 7 21:50:23 2011 THREADMGMT[t3086276304]: ntop RUNSTATE: INITNONROOT(3)
Mon Feb 7 21:50:23 2011 Now running as requested user 'ntop' (102:103)
Mon Feb 7 21:50:23 2011 Note: Reporting device initally set to 0 [venet0] (merged)
Mon Feb 7 21:50:23 2011 THREADMGMT[t3086276304]: ntop RUNSTATE: RUN(4)
Mon Feb 7 21:50:23 2011 THREADMGMT[t2985470864]: NPS(1): Started thread for network packet sniffing [venet0]
Mon Feb 7 21:50:23 2011 THREADMGMT[t2985470864]: NPS(venet0): pcapDispatch thread starting [p24469]
Mon Feb 7 21:50:23 2011 THREADMGMT[t2985470864]: NPS(venet0): pcapDispatch thread running [p24469]
Mon Feb 7 21:50:23 2011 THREADMGMT[t3048410000]: SIH: Idle host scan thread running [p24469]
Mon Feb 7 21:50:23 2011 THREADMGMT[t3058899856]: SFP: Fingerprint scan thread running [p24469]
Mon Feb 7 21:50:33 2011 THREADMGMT[t2974981008]: RRD: Started thread for throughput data collection
Mon Feb 7 21:50:33 2011 THREADMGMT[t2995960720]: RRD: Data collection thread running [p24469]
Mon Feb 7 21:50:33 2011 THREADMGMT[t2974981008]: RRD: Throughput data collection: Thread starting [p24469]
Mon Feb 7 21:50:33 2011 THREADMGMT[t2974981008]: RRD: Throughput data collection: Thread running [p24469]


FROM HERE IF I PRESS Crtl+c
.
.

Mon Feb 7 21:53:48 2011 CLEANUP[t3086276304]: ntop caught signal 2 [state=4]
Mon Feb 7 21:53:48 2011 THREADMGMT[t3086276304]: ntop RUNSTATE: SHUTDOWN(7)
Mon Feb 7 21:53:48 2011 CLEANUP[t3086276304] catching thread is unknown
Mon Feb 7 21:53:48 2011 CLEANUP: Running threads SFP SIH WEB DNSAR1 DNSAR2 DNSAR3 NPS(venet0)
Mon Feb 7 21:53:48 2011 THREADMGMT[t3016940432]: DNSAR(3): Address resolution thread terminated [p24469]
Mon Feb 7 21:53:48 2011 Joining thread DNSAR1
Mon Feb 7 21:53:48 2011 THREADMGMT[t2985470864]: NPS(venet0): pcapDispatch thread terminated [p24469]
Mon Feb 7 21:53:49 2011 THREADMGMT[t2995960720]: RRD: Data collection thread stopping [p24469] State>RUN
Mon Feb 7 21:53:49 2011 THREADMGMT[t2995960720]: RRD: Data collection thread terminated [p24469]
Mon Feb 7 21:53:53 2011 THREADMGMT[t3006450576]: WEB: Server connection thread terminated [p24469]
Mon Feb 7 21:53:53 2011 THREADMGMT[t3058899856]: SFP: Fingerprint scan thread terminated [p24469]
Mon Feb 7 21:53:53 2011 THREADMGMT[t3048410000]: SIH: Idle host scan thread terminated [p24469]
Mon Feb 7 21:53:53 2011 THREADMGMT[t2974981008]: RRD: Throughput data collection: Thread stopping [p24469] State>RUN
Mon Feb 7 21:53:53 2011 THREADMGMT[t2974981008]: RRD: Throughput data collection: Thread terminated [p24469]
Mon Feb 7 21:53:58 2011 CLEANUP[t3086276304]: ntop caught signal 14 [state=7]
Mon Feb 7 21:53:58 2011 ntop is now quitting...

After this if i ran this "Service ntop start"
root@server [/usr/share/ntop/html]# service ntop start
Starting ntop: [ OK ]
Error Opening file ./GeoLiteCity.dat
Error Opening file ./GeoIPASNum.dat
root@server [/usr/share/ntop/html]#


Please any one guide me to complete this.
1.How to start the ntop service?
2.How to work with in URL?


Please help meeeeee........


Thanks In Advance,
hari.
 
Old 02-07-2011, 04:39 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

1. You can use service ntop start. The error you get looks like a known bug for rhel based distros

2. To access ntop page, use http://localhost:3000

Regards
 
Old 02-07-2011, 05:50 PM   #3
Hariharan
Member
 
Registered: Nov 2004
Location: Bangalore
Posts: 64

Original Poster
Rep: Reputation: 0
Hi bathory,
i cant understand the 1'st point......can u explain that?
 
Old 02-08-2011, 12:27 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Quote:
Error Opening file ./GeoLiteCity.dat
Error Opening file ./GeoIPASNum.dat
From the bug report posted in my previous post, looks like even if ntop complains about those 2 files, it's actually starts and works normally.
You can check if it's running and listening on the default port 3000, using:
Code:
netstat -tanpl|grep 3000
Regards
 
Old 02-08-2011, 12:04 PM   #5
Hariharan
Member
 
Registered: Nov 2004
Location: Bangalore
Posts: 64

Original Poster
Rep: Reputation: 0
Thanks for ur reply...........

ya i check with that command its working fine.what about this
Error Opening file ./GeoLiteCity.dat
Error Opening file ./GeoIPASNum.dat
it cause any problems?
can u give me the configuration guide?
and i need to configure cisco router in ntop plzzzzz help for this........
 
Old 02-08-2011, 04:45 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

I don't think it's a problem as ntop actually reads those 2 files besides the error it spits out.
Regarding documentation have a look at the official documentation. For the rest you can use google to find what you want.

Regards
 
Old 02-08-2011, 07:17 PM   #7
Hariharan
Member
 
Registered: Nov 2004
Location: Bangalore
Posts: 64

Original Poster
Rep: Reputation: 0
K thanks...........
 
  


Reply



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
'service squid start' gives error logicalfuzz Linux - Networking 5 06-04-2014 12:33 AM
[SOLVED] ntop start error Redhad 4.8 EL Touch Linux - Software 2 10-19-2009 03:19 PM
boot up error on /var/log/messages [server.ERROR] cannot start systen DBus service junust Linux - General 0 08-04-2009 04:55 AM
why my ntop can't start using service ntop start command cmx08 Linux - Software 5 10-21-2008 10:52 PM
Proftpd Service Start ERROR!! poisonousmist Linux - Newbie 2 10-14-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:37 PM.

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
Open Source Consulting | Domain Registration