免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2992 | 回复: 4
打印 上一主题 下一主题

ntop启动不了gdbm fatal: write error [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-17 09:03 |只看该作者 |倒序浏览
我的ntop用着用着就不好用了,在控制台下启动是gdbm fatal: write error的错误日志。
全部日志如下:
Fri Oct 17 08:59:58 2008  NOTE: Interface merge enabled by default
Fri Oct 17 08:59:58 2008  Initializing gdbm databases
Fri Oct 17 08:59:58 2008  ntop will be started as user nobody
Fri Oct 17 08:59:58 2008  ntop v.3.2 SourceForge .tgz
Fri Oct 17 08:59:58 2008  Configured on Sep 18 2007 12:47:01, built on Sep 18 20
07 12:47:27.
Fri Oct 17 08:59:58 2008  Copyright 1998-2005 by Luca Deri <deri@ntop.org>
Fri Oct 17 08:59:58 2008  Get the freshest ntop from http://www.ntop.org/
Fri Oct 17 08:59:58 2008  NOTE: ntop is running from 'ntop'
Fri Oct 17 08:59:58 2008  NOTE: (but see warning on man page for the --instance
parameter)
Fri Oct 17 08:59:58 2008  NOTE: ntop libraries are in '/usr/lib'
Fri Oct 17 08:59:58 2008  Initializing ntop
Fri Oct 17 08:59:58 2008  Checking eth0 for additional devices
Fri Oct 17 08:59:58 2008  Resetting traffic statistics for device eth0
Fri Oct 17 08:59:58 2008  DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Fri Oct 17 08:59:58 2008  Initializing gdbm databases
Fri Oct 17 08:59:58 2008  VENDOR: Loading MAC address table.
Fri Oct 17 08:59:58 2008  VENDOR: Checking for MAC address table file
Fri Oct 17 08:59:58 2008  VENDOR: File '/etc/ntop/specialMAC.txt' does not need
to be reloaded
Fri Oct 17 08:59:58 2008  VENDOR: ntop continues ok
Fri Oct 17 08:59:58 2008  VENDOR: Checking for MAC address table file
Fri Oct 17 08:59:58 2008  VENDOR: File '/etc/ntop/oui.txt' does not need to be r
eloaded
Fri Oct 17 08:59:58 2008  VENDOR: ntop continues ok
Fri Oct 17 08:59:58 2008  Fingeprint: Loading signature file.
Fri Oct 17 08:59:58 2008  Fingeprint: ...loaded 1697 records
Fri Oct 17 08:59:58 2008  ASN: Checking for Autonomous System Number table file
Fri Oct 17 08:59:58 2008  ASN: Loading file '/etc/ntop/AS-list.txt'
Fri Oct 17 08:59:59 2008  ASN: ...found 111435 lines
Fri Oct 17 08:59:59 2008  ASN: ....Used 3780 KB of memory (12 per entry)
Fri 17 Oct 2008 08:59:59 AM EDT  I18N: Default language (from ntop host) is 'en_
US'
Fri 17 Oct 2008 08:59:59 AM EDT  I18N: This instance of ntop supports 0 addition
al language(s)
Fri 17 Oct 2008 08:59:59 AM EDT  IP2CC: Checking for IP address <-> Country Code
mapping file
Fri 17 Oct 2008 08:59:59 AM EDT  IP2CC: Loading file '/etc/ntop/p2c.opt.table'
Fri 17 Oct 2008 08:59:59 AM EDT  IP2CC: ...found 52395 lines
Fri 17 Oct 2008 08:59:59 AM EDT  GDVERCHK: Guessing at libgd version
Fri 17 Oct 2008 08:59:59 AM EDT  **WARNING** GDVERCHK: Unable to load gd, messag
e is 'libgd.so: cannot open shared object file: No such file or directory'
Fri 17 Oct 2008 08:59:59 AM EDT  GDVERCHK: ... as 2.x
Fri 17 Oct 2008 08:59:59 AM EDT  Initializing external applications
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3050552240]: NPA: Started thread fo
r network packet analyzer
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3042163632]: SFP: Started thread fo
r fingerprinting
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3033775024]: SIH: Started thread fo
r idle hosts detection
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3025386416]: DNSAR(1): Started thre
ad for DNS address resolution
Fri 17 Oct 2008 08:59:59 AM EDT  Calling plugin start functions (if any)
Fri 17 Oct 2008 08:59:59 AM EDT  SSL is present but https is disabled: use -W <h
ttps port> for enabling it
Fri 17 Oct 2008 08:59:59 AM EDT  INITWEB: Initializing web server
Fri 17 Oct 2008 08:59:59 AM EDT  INITWEB: Initializing tcp/ip socket connections
for web server
Fri 17 Oct 2008 08:59:59 AM EDT  INITWEB: Initialized socket, port 3000, address
(any)
Fri 17 Oct 2008 08:59:59 AM EDT  INITWEB: Waiting for HTTP connections on port 3
000
Fri 17 Oct 2008 08:59:59 AM EDT  INITWEB: Starting web server
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3016997808]: INITWEB: Started threa
d for web server
Fri 17 Oct 2008 08:59:59 AM EDT  Listening on [eth0]
Fri 17 Oct 2008 08:59:59 AM EDT  Loading Plugins
Fri 17 Oct 2008 08:59:59 AM EDT  Searching for plugins in /usr/lib/ntop/plugins
Fri 17 Oct 2008 08:59:59 AM EDT  RRD: Welcome to Round-Robin Databases. (C) 2002
-04 by Luca Deri.
Fri 17 Oct 2008 08:59:59 AM EDT  XMLDUMP: Welcome to XML data dump. (C) 2003-200
4 by Burton Strauss
Fri 17 Oct 2008 08:59:59 AM EDT  LASTSEEN: Welcome to Host Last Seen. (C) 1999 b
y Andrea Marangoni
Fri 17 Oct 2008 08:59:59 AM EDT  SNMP: Welcome to SNMP. (C) 2004 by F.Fusco and
G.Giardina
Fri 17 Oct 2008 08:59:59 AM EDT  NETFLOW: Welcome to NetFlow.(C) 2002-05 by Luca
Deri
Fri 17 Oct 2008 08:59:59 AM EDT  ICMP: Welcome to ICMP Watch. (C) 1999-2005 by L
uca Deri
Fri 17 Oct 2008 08:59:59 AM EDT  PDA: Welcome to PDA. (C) 2001-2005 by L.Deri an
d W.Brock
Fri 17 Oct 2008 08:59:59 AM EDT  SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Der
i
Fri 17 Oct 2008 08:59:59 AM EDT  Calling plugin start functions (if any)
Fri 17 Oct 2008 08:59:59 AM EDT  NETFLOW: Welcome to the netFlow plugin
Fri 17 Oct 2008 08:59:59 AM EDT  NETFLOW: no devices to initialize
Fri 17 Oct 2008 08:59:59 AM EDT  RRD: Welcome to the RRD plugin
Fri 17 Oct 2008 08:59:59 AM EDT  RRD: Mask for new directories is 0700
Fri 17 Oct 2008 08:59:59 AM EDT  RRD: Mask for new files is 0066
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT: RRD: Started thread (t3007916976) f
or data collection
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3050552240]: NPA: network packet an
alyzer (packet processor) thread running [p19115]
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3042163632]: SFP: Fingerprint scan
thread starting [p19115]
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3033775024]: SIH: Idle host scan th
read starting [p19115]
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3025386416]: DNSAR(1): Address reso
lution thread running [p19115]
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3016997808]: WEB: Server connection
thread starting [p19115]
Fri 17 Oct 2008 08:59:59 AM EDT  Note: SIGPIPE handler set (ignore)
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3016997808]: WEB: Server connection
thread running [p19115]
Fri 17 Oct 2008 08:59:59 AM EDT  WEB: ntop's web server is now processing reques
ts
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3007916976]: RRD: Data collection t
hread starting [p19115]
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3055369088]: ntop RUNSTATE: INITNON
ROOT(3)
Fri 17 Oct 2008 08:59:59 AM EDT  Now running as requested user 'nobody' (65534:6
5534)
Fri 17 Oct 2008 08:59:59 AM EDT  **WARNING** INIT: Unable to create pid file (/v
ar/lib/ntop/ntop.pid)
Fri 17 Oct 2008 08:59:59 AM EDT  Note: Reporting device initally set to 0 [eth0]
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t3055369088]: ntop RUNSTATE: RUN(4)
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t2999528368]: NPS(1): Started thread
for network packet sniffing
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t2999528368]: NPS(1,eth0): pcapDispa
tch thread starting [p19115]
Fri 17 Oct 2008 08:59:59 AM EDT  THREADMGMT[t2999528368]: NPS(1,eth0): pcapDispa
tch thread running [p19115]
gdbm fatal: write error

论坛徽章:
0
2 [报告]
发表于 2008-10-17 09:05 |只看该作者

请高手指点

有没有遇到过这种问题的,小弟急求解决方法

论坛徽章:
0
3 [报告]
发表于 2008-10-17 12:06 |只看该作者
'libgd.so
看看这个文件是不是有问题

论坛徽章:
0
4 [报告]
发表于 2008-10-20 08:55 |只看该作者

问一下libgd.so在哪个文件件下

我用 find / -name libgd.so命令没有找到此文件

论坛徽章:
0
5 [报告]
发表于 2008-10-20 09:03 |只看该作者
没有用过这个,我只是从你的日志中看到这个文件找不到,你看看安装说明之类的,需要这个文件吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP