See howto ask for help --- you neglected to give the command line you're
using... So this is a guess...
Usually those problems are because the file can't be created (directory
permission problems) or is already opened by another instance of ntop
read/write.
read docs/FAQ, there is a discussion of where ntop puts it's files... that
might help
If you look in the code for that error message...
if(myGlobals.addressCache == NULL) {
#if defined(WIN32) && defined(__GNUC__)
traceEvent(TRACE_ERROR, "Database '%s' open failed: %s\n",
tmpBuf, "unknown gdbm errno");
#else
traceEvent(TRACE_ERROR, "Database '%s' open failed: %s\n",
tmpBuf, gdbm_strerror(gdbm_errno));
#endif
Unfortunately, it looks like the code assumes gdbm for WIN32 doesn't set
errno... I suppose you could put a traceEvent() call in there and see...
But I'm betting on the ntop service already running...
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Serge
Couture
Sent: Monday, November 18, 2002 11:09 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] Database './addressCache.db' open failed
Hi,
I'm trying to run Ntop on the W32 plateform.
I followed the instructions to build it (successfully with vtop-2.1.3 and
with 2.1.51) with little adjustments (using backslash instead of slash,
...). But as soon as I launch Ntop it give me this error message:
Wait please: ntop is coming up...
18/Nov/2002 11:55:50 Initializing IP services...
18/Nov/2002 11:55:50 Initializing GDBM...
18/Nov/2002 11:55:50 Database './addressCache.db' open failed: unknown gdbm
errno
18/Nov/2002 11:55:50 Possible solution: please use '-P <directory>'
and of course, using the -P does not give any result. I used the files
specified in the docs\BUILD-MinGW.txt document (or more recent files if the
specified version was no longer available) and strictly followed the
instructions of this file.
Is there any other thing I have to do before being able to work with Ntop?
Anyone succeed on this plateform? Any hint ?
Serge Couture
Superviseur du r�seau local
DGEQ
[EMAIL PROTECTED]
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop