From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Mukom TAMON
Sent: Tuesday, August 19, 2008 9:22 AM
To: [email protected]
Subject: Re: [Ntop] Error Loading Shared
libraries:libntopreport-3.3.7.so:while Starting ntop for First Time

 

Thanks James,
   I rand sudo ldconfig and then executed the initial command.
[EMAIL PROTECTED]:~$ /usr/local/bin/ntop -A -u ntop -P
/usr/local/var/ntop

 i am now getting this error
Tue Aug 19 05:18:11 2008  NOTE: Interface merge enabled by default
Tue Aug 19 05:18:11 2008  Initializing gdbm databases
Tue Aug 19 05:18:11 2008  **ERROR** ....open of
/usr/local/var/ntop/prefsCache.db failed: File open error
Tue Aug 19 05:18:11 2008  Possible solution: please use '-P <directory>'
Tue Aug 19 05:18:11 2008  **FATAL_ERROR** GDBM open failed, ntop
shutting down...
Tue Aug 19 05:18:11 2008  CLEANUP[t3076114624]: ntop caught signal 2
[state=2]
Tue Aug 19 05:18:11 2008  ntop is now quitting...

Any ideas?

 

With ntop, when in doubt, always check permissions ;)  Does user
"bigbrother" have permission to write to /usr/local/var/ntop?  I've
always found it best to run ntop as root the first run, set the admin
pass, then go back and change permissions to match the user you plan to
run ntop as.  I run ntop as "nobody", so here's my perms for
/usr/local/var/ntop:

 

drwxr-xr-x 4 nobody nobody 4096 2008-05-21 18:39 /usr/local/var/ntop/

 

keep in mind that ntop also stores the html in /usr/local/share/ntop:

 

drwxr-xr-x 3 nobody nobody 4096 2008-05-21 14:45 /usr/local/share/ntop/

 

Hope that helps.

 

James

 

 

 

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to