Add new comment

Want to support HowtoForge? Become a subscriber!
Submitted by robinson.barbosa (not registered) on Mon, 2011-05-09 02:54.

Hi, 

 Ntop : Erro encontrado:

 

**ERROR** ....open of /var/lib/ntop/prefsCache.db failed: Can't b

/

Solução:

<!--[if !supportLists]-->1.       <!--[endif]-->Passo matar serviço:   aragorn:/var/lib/ntop # ps -aux | grep ntop

Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html

ntop     16289  0.5  3.2 108028 33880 pts/1    Sl   18:08   0:00 /usr/bin/ntop -P /var/lib/ntop -i eth0 -u ntop -w 127.0.0.1:3000

root     16298  0.0  0.0   2316   704 pts/1    S+   18:09   0:00 grep ntop

aragorn:/var/lib/ntop # kill -9 16289

aragorn:/var/lib/ntop # ps -aux | grep ntop

 

<!--[if !supportLists]-->2.       <!--[endif]-->Passo inicar service com todas as interfaces de rede monitoradas ntop.

aragorn:/var/lib/ntop # ntop -i "eth0,eth1,eth2,br0,tap0" -d -L -u ntop -P /var/lib/ntop --skip-version-check --use-syslog=daemon

 

Where,

<!--[if !supportLists]-->§  <!--[endif]-->-i "eth0,eth1" : Specifies the network interface or interfaces to be used by ntop for network monitoring. Here you are monitoring eth0 and eth1.

<!--[if !supportLists]-->§  <!--[endif]-->-d : Run ntop as a daemon.

<!--[if !supportLists]-->§  <!--[endif]-->-L : Send all log messages to the system log (/var/log/messages) instead of screen.

<!--[if !supportLists]-->§  <!--[endif]-->-u ntop : Start ntop as ntop user

<!--[if !supportLists]-->§  <!--[endif]-->-P /usr/local/var/ntop : Specify where ntop stores database files. You may need to backup database as part of your disaster recovery program.

<!--[if !supportLists]-->§  <!--[endif]-->--skip-version-check : By default, ntop accesses a remote file to periodically check if the most current version is running. This option disables that check.

<!--[if !supportLists]-->§  <!--[endif]-->--use-syslog=daemon : Use syslog daemon.

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.