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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-21-2008, 04:07 AM
|
#1
|
Member
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35
Rep:
|
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.
|
|
|
10-21-2008, 04:56 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
10-21-2008, 08:38 AM
|
#3
|
Member
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
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.
|
|
|
10-21-2008, 08:43 AM
|
#4
|
Member
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35
Original Poster
Rep:
|
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 08:45 AM.
|
|
|
10-21-2008, 01:27 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
10-21-2008, 10:52 PM
|
#6
|
Member
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|