+ Responder ao Tópico



  1. #1

    Exclamation problemas ao iniciar ntop

    Pessoal, por favor me ajudem... ao executar o comando ntop -untop apresenta a seguinte msg

    Mon Nov 17 08:34:26 2008 NOTE: Interface merge enabled by default
    Mon Nov 17 08:34:26 2008 Initializing gdbm databases
    Mon Nov 17 08:34:26 2008 ntop v.3.2 SourceForge .tgz
    Mon Nov 17 08:34:26 2008 Configured on Dec 26 2006 10:53:49, built on Dec 26 20
    06 10:54:23.
    Mon Nov 17 08:34:26 2008 Copyright 1998-2005 by Luca Deri <[email protected]>
    Mon Nov 17 08:34:26 2008 Get the freshest ntop from Welcome to ntop.org
    Mon Nov 17 08:34:26 2008 NOTE: ntop is running from 'ntop'
    Mon Nov 17 08:34:26 2008 NOTE: (but see warning on man page for the --instance
    parameter)
    Mon Nov 17 08:34:26 2008 NOTE: ntop libraries are in '/usr/lib'
    Mon Nov 17 08:34:26 2008 Initializing ntop
    Mon Nov 17 08:34:27 2008 **WARNING** Truncated network size (device eth0) to 10
    24 hosts (real netmask 255.255.0.0)
    Mon Nov 17 08:34:27 2008 Checking eth0 for additional devices
    Mon Nov 17 08:34:27 2008 Resetting traffic statistics for device eth0
    Mon Nov 17 08:34:27 2008 DLT: Device 0 [eth0] is 1, mtu 1514, header 14
    Mon Nov 17 08:34:27 2008 Initializing gdbm databases
    Mon Nov 17 08:34:27 2008 VENDOR: Loading MAC address table.
    Mon Nov 17 08:34:27 2008 VENDOR: Checking for MAC address table file
    Mon Nov 17 08:34:27 2008 VENDOR: File '/etc/ntop/specialMAC.txt' does not need
    to be reloaded
    Mon Nov 17 08:34:27 2008 VENDOR: ntop continues ok
    Mon Nov 17 08:34:27 2008 VENDOR: Checking for MAC address table file
    Mon Nov 17 08:34:27 2008 VENDOR: File '/etc/ntop/oui.txt' does not need to be r
    eloaded
    Mon Nov 17 08:34:27 2008 VENDOR: ntop continues ok
    Mon Nov 17 08:34:27 2008 Fingeprint: Loading signature file.
    Mon Nov 17 08:34:27 2008 Fingeprint: ...loaded 1697 records
    Mon Nov 17 08:34:27 2008 ASN: Checking for Autonomous System Number table file
    Mon Nov 17 08:34:27 2008 ASN: Loading file '/etc/ntop/AS-list.txt'
    Mon Nov 17 08:34:27 2008 ASN: ...found 111435 lines
    Mon Nov 17 08:34:27 2008 ASN: ....Used 3780 KB of memory (12 per entry)
    Mon 17 Nov 2008 08:34:27 AM BRST I18N: Default language (from ntop host) is 'en
    _US'
    Mon 17 Nov 2008 08:34:27 AM BRST I18N: This instance of ntop supports 0 additio
    nal language(s)
    Mon 17 Nov 2008 08:34:27 AM BRST IP2CC: Checking for IP address <-> Country Cod
    e mapping file
    Mon 17 Nov 2008 08:34:27 AM BRST IP2CC: Loading file '/etc/ntop/p2c.opt.table'
    Mon 17 Nov 2008 08:34:27 AM BRST IP2CC: ...found 52395 lines
    Mon 17 Nov 2008 08:34:27 AM BRST GDVERCHK: Guessing at libgd version
    Mon 17 Nov 2008 08:34:27 AM BRST **WARNING** GDVERCHK: Unable to load gd, messa
    ge is 'libgd.so: cannot open shared object file: No such file or directory'
    Mon 17 Nov 2008 08:34:27 AM BRST GDVERCHK: ... as 2.x
    Mon 17 Nov 2008 08:34:27 AM BRST Initializing external applications
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3021675440]: NPA: Started thread f
    or network packet analyzer
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3013282736]: SFP: Started thread f
    or fingerprinting
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3004890032]: SIH: Started thread f
    or idle hosts detection
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t2996497328]: DNSAR(1): Started thr
    ead for DNS address resolution
    Mon 17 Nov 2008 08:34:27 AM BRST Calling plugin start functions (if any)
    Mon 17 Nov 2008 08:34:27 AM BRST SSL is present but https is disabled: use -W <
    https port> for enabling it
    Mon 17 Nov 2008 08:34:27 AM BRST INITWEB: Initializing web server
    Mon 17 Nov 2008 08:34:27 AM BRST INITWEB: Initializing tcp/ip socket connection
    s for web server
    Mon 17 Nov 2008 08:34:27 AM BRST **ERROR** INITWEB: binding problem - 'Address
    already in use'(98)
    Mon 17 Nov 2008 08:34:27 AM BRST Check if another instance of ntop is running
    Mon 17 Nov 2008 08:34:27 AM BRST or if the current user (-u) can bind to the sp
    ecified port
    Mon 17 Nov 2008 08:34:27 AM BRST **FATAL_ERROR** Binding problem, ntop shutting
    down...
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP[t3056978496]: ntop caught signal 2
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3056978496]: ntop RUNSTATE: SHUTDO
    WN(7)
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP[t3056978496] catching thread is MAIN
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP: Running threads NPA SFP SIH DNSAR1
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3021675440]: NPA: network packet a
    nalyzer (packet processor) thread running [p23120]
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3021675440]: NPA: network packet a
    nalyzer (packet processor) thread terminated [p23120]
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3013282736]: SFP: Fingerprint scan
    thread starting [p23120]
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3013282736]: SFP: Fingerprint scan
    thread running [p23120]
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3004890032]: SIH: Idle host scan t
    hread starting [p23120]
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3004890032]: SIH: Idle host scan t
    hread running [p23120]
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t2996497328]: DNSAR(1): Address res
    olution thread running [p23120]
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t2996497328]: DNSAR(1): Address res
    olution thread terminated [p23120]
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP: Locking purge mutex (may block for a
    little while)
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP: Locked purge mutex, continuing shutdo
    wn
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP: Continues (still running SFP SIH)
    Mon 17 Nov 2008 08:34:27 AM BRST FREE_HOST: Start, 1 device(s)
    Mon 17 Nov 2008 08:34:27 AM BRST FREE_HOST: End, freed 0
    Mon 17 Nov 2008 08:34:27 AM BRST PLUGIN_TERM: Unloading plugins (if any)
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP: Freeing device eth0 (idx=0)
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP: Clean up complete
    Mon 17 Nov 2008 08:34:27 AM BRST THREADMGMT[t3056978496]: ntop RUNSTATE: TERM(8
    )
    Mon 17 Nov 2008 08:34:27 AM BRST CLEANUP[t3056978496]: Still running threads SF
    P SIH
    Mon 17 Nov 2008 08:34:27 AM BRST ===================================
    Mon 17 Nov 2008 08:34:27 AM BRST ntop is shutdown...
    Mon 17 Nov 2008 08:34:27 AM BRST ===================================

  2. #2

    Padrão

    Problema resolvido pessoal, apos liberar a porta 3000 o ntop funcionou blz. Se alguem precisar da regra é essa:

    iptables -A INPUT -p tcp --dport 3000 -j ACCEPT #NTOP


    Flw