I install mingw and use it to compile source files on Win2000 and WinME both. Win 2000 ntop.exe binary runs well even on other Win 2000 machine I only install winpcap and copy ntop.exe and libgdbm-2.dll. But WinME ntop.exe fails on the compiler machine and shows me the gdbm error.
BTW, I just try demo ntop and it works. I see there are whole bunch files in ntop-win32 install directory but did not see libgdbm-2.dll. What are the required files to make ntop.exe run? Thanks, Jen-Lung ----- Original Message ----- From: "Burton M. Strauss III" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 7:29 AM Subject: RE: [Ntop] Can't run ntop on Windows ME > 1. DOS memory, which is what you're showing, isn't meaningful. However, > yes, 128MB should be enough to run at least with a small network. > > 2. & 3. / not a clue. I haven't tried it... some random thoughts... > > Where did you get the version of NTop from? If it's the version from > www.ntop.org (the demo), it runs fine for me on both 2K and 98SE - I just > downloaded and installed and ran it on my wife's Windows 98 SE machine. > Don't have ME to test... > > When you say: > > "Here is what I did. > 1. install winpcap.dll > 2. copy ntop.exe and libgdbm-2.dll in same directory. > 3. execute " ntop -w 3000"" > > does this mean you are NOT using the demo package? Because I'm confused > about your "copy" statement. The install shield in the demo does all that. > If you copied NTop to some OTHER directory, then you have to copy > EVERYTHING. Ntop looks for its files relative to it's execution directory > and - if not found there - in specific, hardcoded places (and I don't know > what those are for Windows). > > If it's not the demo, please download the demo, follow the directions > EXACTLY re installing winpcap and let me know if THAT works... > > -----Burton > > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Jen-Lung Tseng > Sent: Wednesday, January 16, 2002 10:24 PM > To: [EMAIL PROTECTED] > Subject: Re: [Ntop] Can't run ntop on Windows ME > > > > > 1. You don't have enough memory > 128M should be enough, right? > > Memory Type Total Used Free > ---------------- -------- -------- -------- > Conventional 636K 60K 576K > Upper 0K 0K 0K > Reserved 0K 0K 0K > Extended (XMS) 65,535K ? 128,264K > ---------------- -------- -------- -------- > Total memory 66,171K ? 128,840K > > Total under 1 MB 636K 60K 576K > > Largest executable program size 576K (589,680 bytes) > Largest free upper memory block 0K (0 bytes) > MS-DOS is resident in the high memory area. > > > 2. The database directory doesn't exist > > 3. You don't have access to the database file. > I did the same thing on WinME and Win2000. > Ntop 2.0 fails on WinME but it runs well on Win2000. > > Here is what I did. > 1. install winpcap.dll > 2. copy ntop.exe and libgdbm-2.dll in same directory. > 3. execute " ntop -w 3000" > > Then I can see dnsCache.db is created in the same directory but size is > zero. > Do I have to include certain directory in PATH? > Or I have to generate dnsCache.db in advance? If so, how can I prepare it? > > Thanks for your promptly response. > > Jen-Lung > > > ----- Original Message ----- > From: "Burton M. Strauss III" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, January 16, 2002 4:22 PM > Subject: RE: [Ntop] Can't run ntop on Windows ME > > > > You will get that if: > > > > 1. You don't have enough memory - but that's a very narrow range of > > available memory where it fails > > 2. The database directory doesn't exist > > 3. You don't have access to the database file. > > > > Make sure that dnsCache.db exists and that you can read/write to it. > > > > -----Burton > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > > Jen-Lung Tseng > > Sent: Tuesday, January 15, 2002 6:09 PM > > To: [EMAIL PROTECTED] > > Subject: [Ntop] Can't run ntop on Windows ME > > > > > > Hi, > > > > I have successfully compiled ntop 2.0 on Windows ME but I got error > > message when run it. > > -------------- > > D:\src\ntop>ntop -w 3000 > > Wait please: ntop is coming up... > > 15/Jan/2002 16:01:49 Initializing IP services... > > 15/Jan/2002 16:01:49 Initializing GDBM... > > 15/Jan/2002 16:01:49 Database './dnsCache.db' open failed: unknown gdbm > > errno > > 15/Jan/2002 16:01:49 Possible solution: please use '-P <directory>' > > -------------- > > > > Does anyone knows what is wrong? > > > > Thanks, > > > > Jen-Lung > > > > _______________________________________________ > > Ntop mailing list > > [EMAIL PROTECTED] > > http://listmanager.unipi.it/mailman/listinfo/ntop > > > > _______________________________________________ > > Ntop mailing list > > [EMAIL PROTECTED] > > http://listmanager.unipi.it/mailman/listinfo/ntop > > > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listmanager.unipi.it/mailman/listinfo/ntop > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listmanager.unipi.it/mailman/listinfo/ntop > _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop
