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.)





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to