f.gross
(usa OpenSuSE)
Enviado em 01/06/2009 - 11:57h
Bom dia, meus amigos , estou com um problema pra subir o ntop, esta dando o seguinte erro:
# ntop -i eth1,eth2
Mon Jun 1 09:57:13 2009 NOTE: Interface merge enabled by default
Mon Jun 1 09:57:13 2009 Initializing gdbm databases
Mon Jun 1 09:57:13 2009 **ERROR** ....open of /var/lib/ntop/prefsCache.db failed: Can't be writer
Mon Jun 1 09:57:13 2009 Possible solution: please use '-P <directory>'
Mon Jun 1 09:57:13 2009 **FATAL_ERROR** GDBM open failed, ntop shutting down...
Mon Jun 1 09:57:13 2009 CLEANUP[t3057359424]: ntop caught signal 2
Mon Jun 1 09:57:13 2009 THREADMGMT[t3057359424]: ntop RUNSTATE: SHUTDOWN(7)
Mon Jun 1 09:57:13 2009 CLEANUP[t3057359424] catching thread is MAIN
Mon Jun 1 09:57:13 2009 CLEANUP: Running threads
Mon Jun 1 09:57:13 2009 CLEANUP: Locking purge mutex (may block for a little while)
Mon Jun 1 09:57:13 2009 CLEANUP: Locked purge mutex, continuing shutdown
Mon Jun 1 09:57:13 2009 CLEANUP: Continues
Mon Jun 1 09:57:13 2009 PLUGIN_TERM: Unloading plugins (if any)
Mon Jun 1 09:57:13 2009 CLEANUP: Clean up complete
Mon Jun 1 09:57:13 2009 THREADMGMT[t3057359424]: ntop RUNSTATE: TERM(8)
Mon Jun 1 09:57:13 2009 ===================================
Mon Jun 1 09:57:13 2009 ntop is shutdown...
Mon Jun 1 09:57:13 2009 ===================================
pelo o que entendi ele nao consegue escrever no arquivo prefsCache.db "open of /var/lib/ntop/prefsCache.db failed: Can't be writer" e já chequei as permissões de escrita no arquivos e estao assim:
# ls -la /var/lib/ntop/
total 69740
drwxr-x--- 3 ntop root 4096 2009-05-20 09:22 .
drwxr-xr-x 24 root root 4096 2009-01-20 12:54 ..
-rw-r--r-- 1 root root 296956 2009-06-01 10:00 addressQueue.db
-rw-r--r-- 1 ntop root 73912403 2009-06-01 10:01 dnsCache.db
-rw-r--r-- 1 ntop root 237568 2009-05-20 09:22 fingerprint.db
-rw-r--r-- 1 ntop root 30 2008-12-17 10:01 init.cfg
-rw-r--r-- 1 ntop root 12288 2008-06-04 08:41 LsWatch.db
-rw-r--r-- 1 ntop root 1110238 2008-06-04 08:41 macPrefix.db
-rw------- 1 ntop ntop 5 2009-05-12 09:26 ntop.pid
-rw-r--r-- 1 ntop root 12561 2008-06-04 09:16 ntop_pw.db
-rwxr--r-- 1 ntop root 12961 2009-05-20 09:22 prefsCache.db
drwx------ 5 ntop ntop 4096 2009-05-07 13:05 rrd
bom e o mais estranho que apenas a eth1 (externa) aparece na pagina globalTraffic, a eth2 não sobe junto , o que pode estar acontecendo? Obrigado