Solved

Running ntop daemon with the -o option

Posted on 2010-09-20
4
409 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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

914 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