Solved

Running ntop daemon with the -o option

Posted on 2010-09-20
4
408 Views
Last Modified: 2012-05-10
How do I start the ntop daemon with  the -o option? I tried these two

sudo /etc/init.d/ntop -o start
sudo /etc/init.d/ntop start -o

but got neither one works
0
Comment
Question by:steiner470
  • 2
4 Comments
 
LVL 2

Assisted Solution

by:joseleonardo
joseleonardo earned 50 total points
ID: 33719626
Edit the File /etc/init.d/ntop and add "-o" option to Start Script, and that's all...
0
 

Author Comment

by:steiner470
ID: 33719720
There are several calls in the script, I don't know which one to modify:

DAEMON="/usr/sbin/ntop"
NAME="ntop"
DESC="network top daemon"
INIT="/etc/default/ntop"
HOMEDIR="/var/lib/ntop"
LOGDIR="/var/log/ntop"
0
 
LVL 7

Accepted Solution

by:
rumi78 earned 75 total points
ID: 33720164
INIT="/etc/default/ntop"

add your option to /etc/default/ntop

rgds
rumi
0
 
LVL 2

Expert Comment

by:joseleonardo
ID: 33740953
oks
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now