LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-21-2008, 05:07 AM   #1
cmx08
Member
 
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35

Rep: Reputation: 15
why my ntop can't start using service ntop start command


Hi All

I have install ntop previously but I can't run the ntop using the command "service ntop start". I need to run the ntop using the command "ntop -w 8080" for example to run the ntop. Why?

Thx.
 
Old 10-21-2008, 05:56 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
because there'd probably no service script in /etc/init.d for it. generally ntop doesn't contain one, you can convert an existing one for a different service if you wish to.
 
Old 10-21-2008, 09:38 AM   #3
cmx08
Member
 
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
generally ntop doesn't contain one, you can convert an existing one for a different service if you wish to.
Thx for your answer. But I not so understand what you mean? Can you please explain it more clearly. Thx and sorry for that.
 
Old 10-21-2008, 09:43 AM   #4
cmx08
Member
 
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35

Original Poster
Rep: Reputation: 15
But from the HowtoForge tutorial "http://www.howtoforge.com/network_monitoring_with_ntop", they start the ntop service using command "service ntop start".

Last edited by cmx08; 10-21-2008 at 09:45 AM.
 
Old 10-21-2008, 02:27 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well they presumably installed from an rpm whose author wrote one. the "service" command is really misleading and i'd advise you never use it, it's pointless at best. instead of running "service something restart" just run "/etc/init.d/something restart" and such, much quicker, and that's all the service command does. in your case there is just no script there to run. where did you install ntop from? those scripts are distro specific, so if you just got a tarball from ntop.org then it has no idea what distro you are running without a lot of guess work and it's not a software writers job to integrate it into each distro on the market.
 
Old 10-21-2008, 11:52 PM   #6
cmx08
Member
 
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35

Original Poster
Rep: Reputation: 15
I just download the ntop tarball from the ntop.org and install it. Anyway I will do more research on doing that.

Thx a lot for helping.
 
  


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 start the ntop services on RH9 shahg_shahg Linux - Wireless Networking 3 06-17-2010 10:23 PM
why can't I start rsyslogd using the service command? bammin Linux - Newbie 1 08-30-2008 06:53 AM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
service start/stop command stalls..... CaptainInsane Fedora 2 01-20-2007 05:03 PM
how to start the ntop services on RH9 shahg_shahg Linux - Wireless Networking 1 06-07-2005 01:29 PM


All times are GMT -5. The time now is 11:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration