Well, that message is just a pass through back from
gdbm. You may need to check the gdbm docs to see what would cause
that.
Ideas:
* Check the individual files for permissions
(not just directories) (but ntop doesn't use gdbm much after startup except for
the address resolution queue).
* Make sure there's space available on the
device.
-----Burton
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Machin
Sent: Friday, October 07, 2005 4:08 AM
To: [email protected]
Subject: [Ntop] gdbm fatal: write error
I'm using fc4 and i did a compile from source, ntop works grate for awhile the dies ...
and starts giving the following error ..
gdbm fatal: write error
i have checked all the file permission
/var/ntop
/share/ntop
and all are set to the user ntop ....
What am I missing ??
Here is the output when starting ntop.....
[EMAIL PROTECTED] /]# ntop -u ntop
Fri Oct 7 11:00:11 2005 NOTE: Interface merge enabled by default
Fri Oct 7 11:00:11 2005 Initializing gdbm databases
Fri Oct 7 11:00:11 2005 ntop v.3.2rc2 SourceForge .tgz
Fri Oct 7 11:00:11 2005 Configured on Oct 6 2005 14:07:33, built on Oct 6 2005 14:12:07.
Fri Oct 7 11:00:11 2005 Copyright 1998-2005 by Luca Deri <[EMAIL PROTECTED]>
Fri Oct 7 11:00:11 2005 Get the freshest ntop from http://www.ntop.org/
Fri Oct 7 11:00:11 2005 NOTE: ntop is running from 'ntop'
Fri Oct 7 11:00:11 2005 NOTE: (but see warning on man page for the --instance parameter)
Fri Oct 7 11:00:11 2005 NOTE: ntop libraries are in '/lib'
Fri Oct 7 11:00:11 2005 Initializing ntop
Fri Oct 7 11:00:11 2005 Checking eth0 for additional devices
Fri Oct 7 11:00:11 2005 Added virtual interface: 'eth0:1'
Fri Oct 7 11:00:11 2005 Added virtual interface: 'eth0:2'
Fri Oct 7 11:00:11 2005 Added virtual interface: 'eth0:4'
Fri Oct 7 11:00:11 2005 Added virtual interface: 'eth0:5'
Fri Oct 7 11:00:11 2005 Resetting traffic statistics for device eth0
Fri Oct 7 11:00:11 2005 DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Fri Oct 7 11:00:11 2005 Initializing gdbm databases
Fri Oct 7 11:00:11 2005 VENDOR: Loading MAC address table.
Fri Oct 7 11:00:11 2005 VENDOR: Checking for MAC address table file
Fri Oct 7 11:00:11 2005 VENDOR: File '/etc/ntop/specialMAC.txt.gz' does not need to be reloaded
Fri Oct 7 11:00:11 2005 VENDOR: ntop continues ok
Fri Oct 7 11:00:11 2005 VENDOR: Checking for MAC address table file
Fri Oct 7 11:00:11 2005 VENDOR: File '/etc/ntop/oui.txt.gz' does not need to be reloaded
Fri Oct 7 11:00:11 2005 VENDOR: ntop continues ok
Fri Oct 7 11:00:11 2005 Fingeprint: Loading signature file.
Fri Oct 7 11:00:12 2005 Fingeprint: ...loaded 1697 records
Fri Oct 7 11:00:12 2005 ASN: Checking for Autonomous System Number table file
Fri Oct 7 11:00:12 2005 **WARNING** ASN: Unable to open file 'AS-list.txt'
Fri Oct 7 11:00:12 2005 I18N: This instance of ntop does not support multiple languages
Fri Oct 7 11:00:12 2005 IP2CC: Checking for IP address <-> Country Code mapping file
Fri Oct 7 11:00:12 2005 IP2CC: Loading file '/etc/ntop/p2c.opt.table.gz'
Fri Oct 7 11:00:12 2005 IP2CC: ...found 52395 lines
Fri Oct 7 11:00:12 2005 GDVERCHK: Guessing at libgd version
Fri Oct 7 11:00:12 2005 GDVERCHK: ... as 2.0.21+
Fri Oct 7 11:00:12 2005 Initializing external applications
Fri Oct 7 11:00:12 2005 THREADMGMT[t3080661936]: NPA: Started thread for network packet analyzer
Fri Oct 7 11:00:12 2005 THREADMGMT[t3070172080]: SFP: Started thread for fingerprinting
Fri Oct 7 11:00:12 2005 THREADMGMT[t3059682224]: SIH: Started thread for idle hosts detection
Fri Oct 7 11:00:12 2005 THREADMGMT[t3049192368]: DNSAR(1): Started thread for DNS address resolution
Fri Oct 7 11:00:12 2005 Calling plugin start functions (if any)
Fri Oct 7 11:00:12 2005 SSL is present but https is disabled: use -W <https port> for enabling it
Fri Oct 7 11:00:12 2005 INITWEB: Initializing web server
Fri Oct 7 11:00:12 2005 INITWEB: Initializing tcp/ip socket connections for web server
Fri Oct 7 11:00:12 2005 THREADMGMT[t3080661936]: NPA: network packet analyzer (packet processor) thread running [p4492]
Fri Oct 7 11:00:12 2005 THREADMGMT[t3070172080]: SFP: Fingerprint scan thread starting [p4492]
Fri Oct 7 11:00:12 2005 THREADMGMT[t3059682224]: SIH: Idle host scan thread starting [p4492]
Fri Oct 7 11:00:12 2005 INITWEB: Initialized socket, port 3000, address (any)
Fri Oct 7 11:00:12 2005 INITWEB: Waiting for HTTP connections on port 3000
Fri Oct 7 11:00:12 2005 INITWEB: Starting web server
Fri Oct 7 11:00:12 2005 THREADMGMT[t3038702512]: INITWEB: Started thread for web server
Fri Oct 7 11:00:12 2005 Listening on [eth0,eth0:1,eth0:2,eth0:4,eth0:5]
Fri Oct 7 11:00:12 2005 Loading Plugins
Fri Oct 7 11:00:12 2005 Searching for plugins in /lib/ntop/plugins
Fri Oct 7 11:00:12 2005 XMLDUMP: Welcome to XML data dump. (C) 2003-2004 by Burton Strauss
Fri Oct 7 11:00:12 2005 ICMP: Welcome to ICMP Watch. (C) 1999-2005 by Luca Deri
Fri Oct 7 11:00:12 2005 LASTSEEN: Welcome to Host Last Seen. (C) 1999 by Andrea Marangoni
Fri Oct 7 11:00:12 2005 RRD: Welcome to Round-Robin Databases. (C) 2002-04 by Luca Deri.
Fri Oct 7 11:00:12 2005 SNMP: Welcome to SNMP. (C) 2004 by F.Fusco and G.Giardina
Fri Oct 7 11:00:12 2005 NETFLOW: Welcome to NetFlow.(C) 2002-05 by Luca Deri
Fri Oct 7 11:00:12 2005 PDA: Welcome to PDA. (C) 2001-2005 by L.Deri and W.Brock
Fri Oct 7 11:00:12 2005 SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri
Fri Oct 7 11:00:12 2005 Calling plugin start functions (if any)
Fri Oct 7 11:00:12 2005 NETFLOW: Welcome to the netFlow plugin
Fri Oct 7 11:00:12 2005 NETFLOW: no devices to initialize
Fri Oct 7 11:00:12 2005 RRD: Welcome to the RRD plugin
Fri Oct 7 11:00:12 2005 RRD: Mask for new directories is 0700
Fri Oct 7 11:00:12 2005 RRD: Mask for new files is 0066
Fri Oct 7 11:00:12 2005 THREADMGMT: RRD: Started thread (t3028212656) for data collection
Fri Oct 7 11:00:12 2005 SFLOW: no devices to initialize
Fri Oct 7 11:00:12 2005 THREADMGMT[t3049192368]: DNSAR(1): Address resolution thread running [p4492]
Fri Oct 7 11:00:12 2005 THREADMGMT[t3038702512]: WEB: Server connection thread starting [p4492]
Fri Oct 7 11:00:12 2005 Note: SIGPIPE handler set (ignore)
Fri Oct 7 11:00:12 2005 THREADMGMT[t3038702512]: WEB: Server connection thread running [p4492]
Fri Oct 7 11:00:12 2005 WEB: ntop's web server is now processing requests
Fri Oct 7 11:00:12 2005 THREADMGMT[t3086382784]: ntop RUNSTATE: INITNONROOT(3)
Fri Oct 7 11:00:12 2005 Now running as requested user 'ntop' (504:504)
Fri Oct 7 11:00:12 2005 INIT: Created pid file (/var/ntop/ntop.pid)
Fri Oct 7 11:00:12 2005 Note: Reporting device initally set to 0 [eth0]
Fri Oct 7 11:00:12 2005 THREADMGMT[t3086382784]: ntop RUNSTATE: RUN(4)
Fri Oct 7 11:00:12 2005 THREADMGMT[t3017722800]: NPS(1): Started thread for network packet sniffing
Fri Oct 7 11:00:12 2005 THREADMGMT[t3028212656]: RRD: Data collection thread starting [p4492]
Fri Oct 7 11:00:12 2005 THREADMGMT[t3017722800]: NPS(1,eth0): pcapDispatch thread starting [p4492]
Fri Oct 7 11:00:12 2005 THREADMGMT[t3017722800]: NPS(1,eth0): pcapDispatch thread running [p4492]
Fri Oct 7 11:00:12 2005 THREADMGMT[t3059682224]: SIH: Idle host scan thread running [p4492]
Fri Oct 7 11:00:12 2005 THREADMGMT[t3070172080]: SFP: Fingerprint scan thread running [p4492]
gdbm fatal: write error
--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)
+27 72 524 8096
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
