On 26 Jan 2005 at 10:23, Ola Lundqvist <[EMAIL PROTECTED]> wrote: > Just a question. Have you done the first thing in the README.Debian > file that is made sure that an administrator account exist for ntop. > > ntop -A
It says in '/usr/share/doc/ntop/README.Debian': At installation you may need to set the administration password. You do that by running ntop with the option -A (or --set-admin-password). It will prompt you for the password and then exit. Now start the ntop daemon. It's not mandatory, there's a qualifying "may". If something needs to be done to get 'ntop' working, the installer script should do it. Anyway, following your advice I have tried 'ntop -A' as root; but it made no apparent difference. > # ntop -u jdoe ntop -u jdoe; echo $? Wed Jan 26 22:22:12 2005 ntop v.3.0 SourceForge .tgz MT (SSL) Wed Jan 26 22:22:12 2005 Configured on Jan 23 2005 21:53:23, built on Jan 23 2005 21:53:39. Wed Jan 26 22:22:12 2005 Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]> Wed Jan 26 22:22:12 2005 Get the freshest ntop from http://www.ntop.org/ Wed Jan 26 22:22:12 2005 Initializing ntop Wed Jan 26 22:22:12 2005 Checking ppp0 for additional devices Wed Jan 26 22:22:12 2005 Resetting traffic statistics for device ppp0 Wed Jan 26 22:22:12 2005 **WARNING** DLT: Device 0 [ppp0] MTU value unknown Wed Jan 26 22:22:12 2005 **WARNING** DLT: Processing continues OK Wed Jan 26 22:22:12 2005 DLT: Device 0 [ppp0] is 113, mtu 65355, header 0 Wed Jan 26 22:22:12 2005 Initializing gdbm databases Wed Jan 26 22:22:12 2005 Now running as requested user 'jdoe' (1000:1000) Wed Jan 26 22:22:12 2005 **FATAL_ERROR** ....open of /var/lib/ntop/prefsCache.db failed: File open error Wed Jan 26 22:22:12 2005 1. Is another instance of ntop running? Wed Jan 26 22:22:12 2005 2. Make sure that the use you specified can write in the target directory 255 That doesn't work on my system. > # ntop -u ntop This doesn't crash, and produces more output. See attached file for what it looks like if it runs for a minute and then is stopped with 'Ctrl-C'. During the time the 'ntop' server is running, if I run 'ntop' as either root or user it still doesn't work. Same old error messages. > You will have exactly this problem if you run ntop as wrong user. Probably, therefore the installer script failed to correctly set up the appropriate permissions. Language like "YOU will have... this PROBLEM if YOU..." seems evasive. You're the maintainer, the installer script is the maintainer's responsibility. I'm glad to test various config options if that helps get the 'ntop' installer working, but so far I feel as though I'm stuck on a tech support line staffed by cheap hires "Try this...", "OK, try this...", "No, well then did you try...". Last time I asked a reasonable debugging question. No answer. Still I'm curious, so here's a repeat of that question: On your system(s), does purging and reinstalling 'ntop' with the install script options 'ppp0' and 'ntop' work? If we know the install works on some systems, (without any tweaks like 'ntop - u' or 'ntop -A') then there must be some difference that the install script fails to account for. If we know that the install script fails on every system, (without certain tweaks), that would also be useful. > On Tue, Jan 25, 2005 at 03:32:03PM -0500, Alfie Costa wrote: > > On 24 Jan 2005 at 22:04, Ola Lundqvist <[EMAIL PROTECTED]> wrote: By the way, please don't quote the entire message. I already have a copy, and so must you. Readers of the web page version of this thread: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291794 ...also wouldn't want to read each of my messages twice.
The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any other MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: ntop_output.txt Date: 26 Jan 2005, 22:25 Size: 7481 bytes. Type: Text
ntop_output.txt
Description: Binary data