Hello Ok, what is the permission on the directory /var/lib/ntop? $ ls -la /var/lib/ntop
Regards // Ola On Mon, Jan 24, 2005 at 01:16:08AM -0500, Alfie Costa wrote: > On 23 Jan 2005 at 20:28, Ola Lundqvist <[EMAIL PROTECTED]> wrote: > > > > Sun Jan 23 02:34:48 2005 **FATAL_ERROR** ....open of > > > /var/lib/ntop/prefsCache.db failed: File open error > > > What user have permission to that file? > > I've experimented with several, by reconfiguring the package with: > > dpkg-reconfigure ntop > > ...but always seem to get the same error messages. Examples of permission > variants that don't work for me... > > When the config script asks, "Which is the name of the user to run the ntop > daemon as ?" and "Which interfaces should ntop listen on?" I leave both at > the > defaults, 'eth0' and 'ntop': > > ls -l /var/lib/ntop/prefsCache.db;echo $? > ls: /var/lib/ntop/prefsCache.db: No such file or directory > 1 > > Reconfigure, with 'ppp0' and 'ntop': > > -rw-r--r-- 1 ntop ntop 12288 Jan 24 00:59 /var/lib/ntop/prefsCache.db > > Reconfigure, with 'ppp0' and 'jdoe': > > -rw-r--r-- 1 jdoe ntop 12795 Jan 24 00:59 /var/lib/ntop/prefsCache.db > > All of those configurations result in the same errors (see previous message). > > This seems odd: > > groups ntop > ntop > > Shouldn't the config script have added 'jdoe'? (So I tried adding 'jdoe', > with 'adduser jdoe ntop', but that didn't help.) > > > > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]