Hello,everyone.
I enountered problems when i tried to install NTOP from source code on my system(Linux FC2). I downloaded ntop-3.0.tgz from sourceforge.net, and then did the following operations after unzipping the package in "/usr/local":
1. changed "/usr/local/ntop-3.0" to "/usr/local/ntop"
2. #cd /usr/local/ntop
3. #./configure
4. #./make
5. #./make install
When i ran "./configure", there was a WARING as follows:
*******************************************************************
*
* WARNING: One or more items required for the xmldump plugin are
* missing:
*
* xmlversion.h...no
* libxml2.so or libxml2.a...yes
* gdome.h...no
* libgdome.so or libgdome.a...no
* glib.h...no
* libglib.so or libglib.a...yes
* glibconfig.h...no
*
* (yes means it was found, no means it was not found)
*
* ntop will run just fine without this plugin.
*
*>>> If you want to use the xmldump plugin,
*
*??? 1. Install the necessary headers and libraries.
*??? and rerun ./configure
*
*******************************************************************
But i think that this warning is not so important, because i donot have to use xmldump. So i did nothing to fix this Warning.
*
* WARNING: One or more items required for the xmldump plugin are
* missing:
*
* xmlversion.h...no
* libxml2.so or libxml2.a...yes
* gdome.h...no
* libgdome.so or libgdome.a...no
* glib.h...no
* libglib.so or libglib.a...yes
* glibconfig.h...no
*
* (yes means it was found, no means it was not found)
*
* ntop will run just fine without this plugin.
*
*>>> If you want to use the xmldump plugin,
*
*??? 1. Install the necessary headers and libraries.
*??? and rerun ./configure
*
*******************************************************************
But i think that this warning is not so important, because i donot have to use xmldump. So i did nothing to fix this Warning.
After i finished these steps,i ran "#ntop",but there was a fatal error occured.Please see the following:
ntop -p ip
Fri Mar 4 09:22:34 2005 ntop will be started as user nobody
Fri Mar 4 09:22:34 2005 ntop v.3.0 SourceForge .tgz MT (SSL)
Fri Mar 4 09:22:34 2005 Configured on Mar 4 2005 8:49:14, built on Mar 4 2005 08:53:41.
Fri Mar 4 09:22:34 2005 Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]>
Fri Mar 4 09:22:34 2005 Get the freshest ntop from http://www.ntop.org/
Fri Mar 4 09:22:34 2005 Initializing ntop
Fri Mar 4 09:22:34 2005 PROTO_INIT: Processing protocol list: 'ip'
Fri Mar 4 09:22:34 2005 PROTO_INIT: Unknown protocol 'ip'. It has been ignored
Fri Mar 4 09:22:34 2005 Checking eth0 for additional devices
Fri Mar 4 09:22:34 2005 Resetting traffic statistics for device eth0
Fri Mar 4 09:22:34 2005 DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Fri Mar 4 09:22:34 2005 Initializing gdbm databases
Fri Mar 4 09:22:34 2005 Now running as requested user 'nobody' (99:99)
Fri Mar 4 09:22:34 2005 **FATAL_ERROR** ....open of /usr/local/var/ntop/prefsCache.db failed: File open error
Fri Mar 4 09:22:34 2005 1. Is another instance of ntop running?
Fri Mar 4 09:22:34 2005 2. Make sure that the use you specified can write in the target directory
Fri Mar 4 09:22:34 2005 ntop will be started as user nobody
Fri Mar 4 09:22:34 2005 ntop v.3.0 SourceForge .tgz MT (SSL)
Fri Mar 4 09:22:34 2005 Configured on Mar 4 2005 8:49:14, built on Mar 4 2005 08:53:41.
Fri Mar 4 09:22:34 2005 Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]>
Fri Mar 4 09:22:34 2005 Get the freshest ntop from http://www.ntop.org/
Fri Mar 4 09:22:34 2005 Initializing ntop
Fri Mar 4 09:22:34 2005 PROTO_INIT: Processing protocol list: 'ip'
Fri Mar 4 09:22:34 2005 PROTO_INIT: Unknown protocol 'ip'. It has been ignored
Fri Mar 4 09:22:34 2005 Checking eth0 for additional devices
Fri Mar 4 09:22:34 2005 Resetting traffic statistics for device eth0
Fri Mar 4 09:22:34 2005 DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Fri Mar 4 09:22:34 2005 Initializing gdbm databases
Fri Mar 4 09:22:34 2005 Now running as requested user 'nobody' (99:99)
Fri Mar 4 09:22:34 2005 **FATAL_ERROR** ....open of /usr/local/var/ntop/prefsCache.db failed: File open error
Fri Mar 4 09:22:34 2005 1. Is another instance of ntop running?
Fri Mar 4 09:22:34 2005 2. Make sure that the use you specified can write in the target directory
And i found that after the operation of "#make install",there was still no dir "/usr/local/var" in my filesystem,not even "/usr/local/var/ntop".
Would you please tell me how to fix this error?
Eager for your help.
Best Regards!
orchis
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
