ntop fials to build

Shawn Protsman protsman at mac.com
Thu Mar 20 16:43:03 PDT 2008


Perhaps I spoke too soon?

naiad:~ $ ntop -P /opt/local/var/ntop
Thu Mar 20 16:38:48 2008  NOTE: Interface merge enabled by default
Thu Mar 20 16:38:48 2008  Initializing gdbm databases
Thu Mar 20 16:38:48 2008  **ERROR** ....open of /opt/local/var/ntop/ 
prefsCache.db failed: File open error
Thu Mar 20 16:38:48 2008  Possible solution: please use '-P <directory>'
Thu Mar 20 16:38:48 2008  **FATAL_ERROR** GDBM open failed, ntop  
shutting down...
Thu Mar 20 16:38:48 2008  CLEANUP[t2693840800]: ntop caught signal 2
Thu Mar 20 16:38:48 2008  THREADMGMT[t2693840800]: ntop RUNSTATE:  
SHUTDOWN(7)
Thu Mar 20 16:38:48 2008  CLEANUP[t2693840800] catching thread is  
unknown
Thu Mar 20 16:38:48 2008  CLEANUP: Running threads
Thu Mar 20 16:38:48 2008  CLEANUP: Locking purge mutex (may block for  
a little while)
Thu Mar 20 16:38:48 2008  CLEANUP: Locked purge mutex, continuing  
shutdown
Thu Mar 20 16:38:48 2008  CLEANUP: Continues
Thu Mar 20 16:38:48 2008  PLUGIN_TERM: Unloading plugins (if any)
Thu Mar 20 16:38:48 2008  CLEANUP: Clean up complete
Thu Mar 20 16:38:48 2008  THREADMGMT[t2693840800]: ntop RUNSTATE:  
TERM(8)
Thu Mar 20 16:38:48 2008  ===================================
Thu Mar 20 16:38:48 2008          ntop is shutdown...
Thu Mar 20 16:38:48 2008  ===================================

naiad:/opt/local/var/ntop $ port installed gdbm
The following ports are currently installed:  gdbm @1.8.3_1 (active)

naiad:/opt/local/var/ntop $ ll /opt/local/var/ntop
total 0
-rw-r--r--  2 nobody  admin     0B Mar 20 10:44 addressQueue.db
-rw-r--r--  2 nobody  admin     0B Mar 20 10:44 dnsCache.db
-rw-r--r--  2 nobody  admin     0B Mar 20 10:44 macPrefix.db
-rw-r--r--  2 nobody  admin     0B Mar 20 10:44 ntop_pw.db
-rw-r--r--  2 nobody  admin     0B Mar 20 10:44 prefsCache.db
drwxr-xr-x  3 nobody  admin   102B Mar 20 10:44 rrd/

Hmm…

--Shawn

On Mar 20, 2008, at 4:25 PM, David L Ballenger wrote:

> Does ntop run cleanly for you?
>
> I did:
>
> $ sudo port selfupdate
> $ sudo port install ntop
>
> Ntop seemed to install cleanly, but when I try to run it, it can't  
> find it's plugins:
>
> Thu Mar 20 16:19:16 2008  Loading Plugins
> Thu Mar 20 16:19:16 2008  Searching for plugins in /opt/local/lib/ 
> ntop/plugins
> Thu Mar 20 16:19:16 2008  **WARNING** Unable to locate plugin '/opt/ 
> local/lib/ntop/plugins/icmpPlugin.so' entry function [symbol not  
> found]
> Thu Mar 20 16:19:16 2008  **WARNING** Unable to locate plugin '/opt/ 
> local/lib/ntop/plugins/lastSeenPlugin.so' entry function [symbol not  
> found]
> Thu Mar 20 16:19:16 2008  **WARNING** Unable to locate plugin '/opt/ 
> local/lib/ntop/plugins/netflowPlugin.so' entry function [symbol not  
> found]
> Thu Mar 20 16:19:16 2008  **WARNING** Unable to locate plugin '/opt/ 
> local/lib/ntop/plugins/pdaPlugin.so' entry function [symbol not found]
> Thu Mar 20 16:19:16 2008  **WARNING** Unable to locate plugin '/opt/ 
> local/lib/ntop/plugins/remotePlugin.so' entry function [symbol not  
> found]
> Thu Mar 20 16:19:16 2008  **WARNING** Unable to locate plugin '/opt/ 
> local/lib/ntop/plugins/rrdPlugin.so' entry function [symbol not found]
> Thu Mar 20 16:19:16 2008  **WARNING** Unable to locate plugin '/opt/ 
> local/lib/ntop/plugins/sflowPlugin.so' entry function [symbol not  
> found]
>
> After the errors ntop keeps running but I suspect with reduced  
> functionality. But when I try to connect to its webserver, ntop  
> crashes with the following errors:
>
> dyld: lazy symbol binding failed: Symbol not found: ___sprintf_chk 
> $LDBLStub
>  Referenced from: /opt/local/lib/libntopreport-3.3.dylib
>  Expected in: dynamic lookup
>
> dyld: Symbol not found: ___sprintf_chk$LDBLStub
>  Referenced from: /opt/local/lib/libntopreport-3.3.dylib
>  Expected in: dynamic lookup
>
> Trace/BPT trap
>
> Anyone else trying to us ntop have this problem?  I'm running OSX  
> 10.5.2 on a PowerPC G5.
>
> Thanks - David
> On Mar 20, 2008, at 12:35 PM, Alex Zavatone wrote:
>
>> Yay.
>>
>> ntop is compiled and happy.
>>
>> Thanks all.
>>
>> On Mar 20, 2008, at 2:13 PM, Shawn Protsman wrote:
>>
>>> Alex,
>>>
>>> Two steps:
>>>
>>> $ sudo port selfupdate
>>> $ sudo port install ntop
>>>
>>> --Shawn
>>>
>>> On Mar 20, 2008, at 12:10 PM, Alex Zavatone wrote:
>>>
>>>> Could you detail how to do this?  I'm not well schooled in the
>>>> install/build process and have been holding off on getting ntop
>>>> compiled because of all the problems mentioned.
>>>>
>>>> Thanks,
>>>> - Alex
>>>> On Mar 20, 2008, at 12:49 PM, Shawn Protsman wrote:
>>>>
>>>>> Excellent! I ran selfupdate and then installed the ntop port.  
>>>>> Thanks
>>>>> guys!
>>>>>
>>>>> --Shawn
>>>>>
>>>>> On Mar 19, 2008, at 11:04 PM, markd at macports.org wrote:
>>>>>
>>>>>> Someone just proposed a fix for the port here:
>>>>>> http://trac.macosforge.org/projects/macports/ticket/13610
>>>>>>
>>>>>> Can someone verify or comment on this fix?  Ihaven't had time to
>>>>>> look at
>>>>>> it.
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>
>



More information about the macports-users mailing list