Hrmm....I have always had good luck with the following:

Starting ntop with:

chown -R nobody:nobody /usr/local/var/ntop
/usr/local/bin/ntop -u nobody *other options..*

What user is it running as?


On Mon, 28 Nov 2005 16:18:02 -0500
Scott Huffman <[EMAIL PROTECTED]> wrote:

> Not a nice solution, but a workaround is to delete all the *.db files
> in the /usr/local/var/ntop/ directory.  This worked for me.  I have
> written a script that deletes all the .db files before starting ntop
> each time.  I have tried making sure that the correct user has the
> correct permissions, and it hasn't worked correctly yet.
> Scott
> 
> On 11/28/05, James Lay <[EMAIL PROTECTED]> wrote:
> >
> > On Mon, 28 Nov 2005 14:09:47 +0100
> > Lech Pańkowski <[EMAIL PROTECTED]> wrote:
> >
> > > Hallo,
> > > I would like to ask for advice concerning the following problem:
> > >
> > > Trying to run 'ntop' I have fetched the code and compiled it
> > > according to description at
> > >      http://www.ntop.org/ntop.html        (Aurox 11 environment)
> > > The only warning during compilation was:
> > >
> > > "   WARNING: One or more items required for the xmldump plugin are
> > > missing: libxml2.so or libxml2.a...yes
> > >  gdome.h...no
> > >  libgdome.so or libgdome.a...no
> > >  glib.h...no
> > >  libglib.so or libglib.a...no
> > >  glibconfig.h...no
> > > .............
> > >  ntop will run just fine without this plugin..."
> > >
> > >
> > >                          Unfortunately, after  '#  ./ntop'  there
> > > is a message:
> > >
> > > NOTE: Interface merge enabled by default
> > > Initializing gdbm databases
> > > **ERROR** ....open of /usr/local/var/ntop/prefsCache.db failed:
> > > File open error
> > > Possible solution: please use '-P <directory>'
> > > **FATAL_ERROR** GDBM open failed, ntop shutting down...
> > > CLEANUP[t3086252576]: ntop caught signal 2
> > > THREADMGMT[t3086252576]: ntop RUNSTATE: SHUTDOWN(7)
> > > CLEANUP[t3086252576] catching thread is MAIN
> > > CLEANUP: Running threads
> > > CLEANUP: Locking purge mutex (may block for a little while)
> > > CLEANUP: Locked purge mutex, continuing shutdown
> > > CLEANUP: Continues
> > > PLUGIN_TERM: Unloading plugins (if any)
> > > CLEANUP: Clean up complete
> > > THREADMGMT[t3086252576]: ntop RUNSTATE: TERM(8)
> > > ===================================
> > >                 ntop is shutdown...
> > > ===================================
> >
> > 1.  What user is this being run as?
> > 2.  Is /usr/local/var/ntop owned by that use?
> >
> > James
> > _______________________________________________
> > Ntop mailing list
> > [email protected]
> > http://listgateway.unipi.it/mailman/listinfo/ntop
> >
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to