我用百胜在Centos5.9上安装了ntop。但它并没有开始。我得到了一个错误:
Wed Mar 20 10:22:44 2013 **ERROR** ....open of /var/lib/ntop/prefsCache.db failed: Can't be writer
Wed Mar 20 10:22:44 2013 Possible solution: please use '-P <directory>'
Wed Mar 20 10:22:44 2013 **FATAL_ERROR** GDBM open failed, ntop shutting down...
Wed Mar 20 10:22:44 2013 CLEANUP[t47669729537792]: ntop caught signal 2 [state=2]
Wed Mar 20 10:22:44 2013 ntop is now quitting...
Wed Mar 20 10:25:01 2013 NOTE: Interface merge enabled by default
Wed Mar 20 10:25:01 2013 Initializing gdbm databases
Wed Mar 20 10:25:01 2013 **ERROR** ....open of /var/lib/ntop/prefsCache.db failed: Can't be writer
Wed Mar 20 10:25:01 2013 Possible solution: please use '-P <directory>'
Wed Mar 20 10:25:01 2013 **FATAL_ERROR** GDBM open failed, ntop shutting down...
Wed Mar 20 10:25:01 2013 CLEANUP[t47959862075136]: ntop caught signal 2 [state=2]
Wed Mar 20 10:25:01 2013 ntop is now quitting...我将权限777设置为/var/lib/ntop和其中的所有文件。还是不起作用。
发布于 2013-03-20 13:51:19
通过删除ntop服务、将所有者更改为ntop并重新启动来修复它。
发布于 2014-05-21 19:54:41
试着进入
ps -ax \ grep ntop
进入终端,查看正在运行的ntop进程,然后键入
数独杀手-9(进程#'s)
用显示的进程ids替换(进程#'s)。
确保当您使用ntop时ctrl+C退出,而不是ctrl+z。使用control会留下一个“杂乱”的ntop程序运行。
https://serverfault.com/questions/489654
复制相似问题