| ï
Nothing looks wrong. Try removing prefs.db and
rerunning... otherwise I don't have a clue.
-----Burton
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Didier Benza Sent: Thursday, February 17, 2005 2:04 AM To: [email protected] Subject: Re: [Ntop] Ntop crahses at startup Here is the result : (gdb) R Starting program: /0/local/ntop/bin/ntop [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 2359)] Thu Feb 17 09:00:11 2005 Initializing gdbm databases Thu Feb 17 09:00:11 2005 ntop will be started as user nobody Thu Feb 17 09:00:11 2005 ntop v.3.1 ST Thu Feb 17 09:00:11 2005 Configured on Feb 15 2005 19:23:20, built on Feb 15 2005 19:24:22. Thu Feb 17 09:00:11 2005 Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]> Thu Feb 17 09:00:11 2005 Get the freshest ntop from http://www.ntop.org/ Thu Feb 17 09:00:11 2005 Initializing ntop Thu Feb 17 09:00:11 2005 Checking eth0 for additional devices Thu Feb 17 09:00:11 2005 Resetting traffic statistics for device eth0 Thu Feb 17 09:00:11 2005 DLT: Device 0 [eth0] is 1, mtu 1514, header 14 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 2359)] initNtop (devices=0x8059cc8 "eth0") at globals-core.c:602 602 if(myGlobals.runningPref.enableSessionHandling) (gdb) print myGlobals $1 = {program_name = 0x8059fda "ntop", basentoppid = 0, childntoppid = 0, startedAs = 0x8059108 "/0/local/ntop/bin/ntop ", ntop_argc = 1, ntop_argv = 0x8058ad8, dataFileDirs = 0x4015e540, pluginDirs = 0x4015e54c, configFileDirs = 0x4015e558, savedPref = {accessLogFile = 0x0, enablePacketDecoding = 1 '\001', stickyHosts = 0 '\0', daemonMode = 0 '\0', maxNumLines = 0, rFileName = 0x0, trackOnlyLocalHosts = 0 '\0', devices = 0x8059cc8 "eth0", enableOtherPacketDump = 0 '\0', filterExpressionInExtraFrame = 0 '\0', pcapLog = 0x0, localAddresses = 0x0, numericFlag = 0 '\0', dontTrustMACaddr = 0 '\0', protoSpecs = 0x0, enableSuspiciousPacketDump = 0 '\0', refreshRate = 0, disablePromiscuousMode = 0 '\0', traceLevel = 3, maxNumHashEntries = 4294967295, maxNumSessions = 4294967295, defaultVsan = 1, webAddr = 0x0, webPort = 3000, ipv4or6 = 0, enableSessionHandling = 1 '\001', currentFilterExpression = 0x0, samplingRate = 0, domainName = '\0' <repeats 63 times>, flowSpecs = 0x0, debugMode = 0 '\0', useSyslog = -1, mergeInterfaces = 1 '\001', pcapLogBasePath = 0x8058fc0 "/0/local/ntop/var/ntop", fcNSCacheFile = 0x0, printFcOnly = 0 '\0', mapperURL = 0x0, w3c = 0 '\0', P3Pcp = 0x0, P3Puri = 0x0, setNonBlocking = 0 '\0', disableStopcap = 0 '\0', disableInstantSessionPurge = 0 '\0', printIpOnly = 0 '\0', noInvalidLunDisplay = 0 '\0', disableMutexExtraInfo = 0 '\0', skipVersionCheck = 0 '\0'}, runningPref = { accessLogFile = 0x0, enablePacketDecoding = 1 '\001', stickyHosts = 0 '\0', daemonMode = 0 '\0', maxNumLines = 128, rFileName = 0x0, trackOnlyLocalHosts = 0 '\0', devices = 0x8059cc8 "eth0", enableOtherPacketDump = 0 '\0', filterExpressionInExtraFrame = 0 '\0', pcapLog = 0x0, localAddresses = 0x0, numericFlag = 0 '\0', dontTrustMACaddr = 0 '\0', protoSpecs = 0x0, enableSuspiciousPacketDump = 0 '\0', refreshRate = 120, disablePromiscuousMode = 0 '\0', traceLevel = 3, maxNumHashEntries = 4294967295, maxNumSessions = 4294967295, defaultVsan = 1, webAddr = 0x0, webPort = 3000, ipv4or6 = 0, enableSessionHandling = 1 '\001', currentFilterExpression = 0x0, samplingRate = 0, domainName = '\0' <repeats 63 times>, flowSpecs = 0x0, debugMode = 0 '\0', useSyslog = -1, mergeInterfaces = 1 '\001', pcapLogBasePath = 0x8058fc0 "/0/local/ntop/var/ntop", fcNSCacheFile = 0x0, printFcOnly = 0 '\0', mapperURL = 0x0, w3c = 0 '\0', P3Pcp = 0x0, P3Puri = 0x0, setNonBlocking = 0 '\0', disableStopcap = 0 '\0', disableInstantSessionPurge = 0 '\0', printIpOnly = 0 '\0', noInvalidLunDisplay = 0 '\0', disableMutexExtraInfo = 0 '\0', skipVersionCheck = 0 '\0'}, effectiveUserName = 0x8059cb0 "nobody", userId = 32700, groupId = 32700, dbPath = 0x8058fe0 "/0/local/ntop/var/ntop", spoolPath = 0x8059cd8 "/0/local/ntop/var/ntop", enableFragmentHandling = 1 '\001', hostsDisplayPolicy = showAllHosts, localityDisplayPolicy = showSentReceived, securityItemsLoaded = 0, securityItems = {0x0 <repeats 32 times>}, numDevices = 1, device = 0x407ad008, dnsCacheFile = 0x0, pwFile = 0x8059c40, addressQueueFile = 0x0, prefsFile = 0x8059bc8, macPrefixFile = 0x0, fingerprintFile = 0x0, broadcastEntry = 0x8059450, otherHostEntry = 0x8059fe8, shortDomainName = 0x0, weDontWantToTalkWithYou = {{ addr = {hostFamily = 0, addr = {_hostIp4Address = {s_addr = 0}, _hostIp6Address = {in6_u = { u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, u6_addr32 = {0, 0, 0, 0}}}}}, lastBadAccess = 0, count = 0}, {addr = {hostFamily = 0, addr = {_hostIp4Address = {s_addr = 0}, _hostIp6Address = {in6_u = { u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, u6_addr32 = {0, 0, 0, 0}}}}}, lastBadAccess = 0, count = 0}, {addr = {hostFamily = 0, addr = {_hostIp4Address = {s_addr = 0}, _hostIp6Address = {in6_u = { u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, u6_addr32 = {0, 0, 0, 0}}}}}, lastBadAccess = 0, count = 0}}, capturePackets = 0, endNtop = 0, resetHashNow = 0 '\0', flowsList = 0x0, dnsSniffCount = 0, dnsSniffRequestCount = 0, dnsSniffFailedCount = 0, dnsSniffARPACount = 0, dnsSniffStoredInCache = 0, numipaddr2strCalls = 0, numFetchAddressFromCacheCalls = 0, numFetchAddressFromCacheCallsOK = 0, numFetchAddressFromCacheCallsFAIL = 0, numFetchAddressFromCacheCallsSTALE = 0, numResolveAddressCalls = 0, numResolveNoCacheDB = 0, numResolveCacheDBLookups = 0, numResolvedFromCache = 0, dnsCacheStoredLookup = 0, numAttemptingResolutionWithDNS = 0, numResolvedWithDNSAddresses = 0, numDNSErrorHostNotFound = 0, numDNSErrorNoData = 0, numDNSErrorNoRecovery = 0, numDNSErrorTryAgain = 0, numDNSErrorOther = 0, numKeptNumericAddresses = 0, separator = 0x40147cce " ", numHandledSIGPIPEerrors = 0, checkVersionStatus = 0, checkVersionStatusAgain = 0, gdVersionGuessValue = 0x0, numPurgedHosts = 0, numTerminatedSessions = 0, thisZone = 3600, actTime = 1108627211, initialSniffTime = 0, lastRefreshTime = 0, lastPktTime = {tv_sec = 0, tv_usec = 0}, numActServices = 508, udpSvc = 0x80d3b38, tcpSvc = 0x80d4330, numIpProtosToMonitor = 19, protoIPTrafficInfos = 0x80d6cf0, numIpProtosList = 0, ipProtosList = 0x0, numFcProtosToMonitor = 0, ipPortMapper = {numElements = 176, numSlots = 0, theMapper = 0x0}, transTimeHash = {{ transactionId = 0, theTime = {tv_sec = 0, tv_usec = 0}} <repeats 256 times>}, dummyEthAddress = "\000\000\000\000\000", mtuSize = 0x4015fb40, headerSize = 0x4015fc40, localNetworks = {{0, 0, 0} <repeats 32 times>}, numLocalNetworks = 0, baseMemoryUsage = 0, ipTrafficMatrixMemoryUsage = 1468944, fcTrafficMatrixMemoryUsage = 0, webInterfaceDisabled = 0 '\0', enableIdleHosts = 0, actualReportDeviceId = 0, columnSort = 0, reportKind = 0, sortFilter = 0, sock = 0, newSock = 0, numChildren = 0, rrdPath = 0x0, rrdDirectoryPermissions = 0, rrdUmask = 0, accessLogFd = 0x0, numHandledRequests = {0, 0}, numHandledBadrequests = {0, 0}, numSuccessfulRequests = {0, 0}, numUnsuccessfulInvalidrequests = {0, 0}, numUnsuccessfulInvalidmethod = {0, 0}, numUnsuccessfulInvalidversion = {0, 0}, numUnsuccessfulTimeout = {0, 0}, numUnsuccessfulNotfound = {0, 0}, numUnsuccessfulDenied = {0, 0}, numUnsuccessfulForbidden = {0, 0}, webServerRequestQueueLength = 0, hostsCache = {0x0 <repeats 512 times>}, hostsCacheLen = 0, hostsCacheLenMax = 0, hostsCacheReused = 0, GnutellaIdx = 12, KazaaIdx = 13, WinMXIdx = 14, DirectConnectIdx = 15, FTPIdx = 0, EdonkeyIdx = 16, BitTorrentIdx = 17, ipxsapHashLoadCollisions = 0, ipxsapHashLoadSize = 0, hashCollisionsLookup = 0, numVendorLookupRead = 0, numVendorLookupAdded = 0, numVendorLookupAddedSpecial = 0, numVendorLookupCalls = 0, numVendorLookupSpecialCalls = 0, numVendorLookupFound48bit = 0, numVendorLookupFound24bit = 0, numVendorLookupFoundMulticast = 0, numVendorLookupFoundLAA = 0, defaultLanguage = 0x0, maxSupportedLanguages = 0, supportedLanguages = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, strftimeFormat = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, countryFlagHead = 0x0, ipCountryMem = 0, ipCountryCount = 0, asHead = 0x0, asMem = 0, asCount = 0, logView = 0x8059038, logViewNext = 10, scsiDefaultDevType = -1 '', displayOption = 2 '\002', fcnsCacheHash = 0x805a760, fcMatrixHashCollisions = 0, fcMatrixHashUnresCollisions = 0, warnedAboutPathologicalVLANS = 0} (gdb) print myGlobals.runningPref $2 = {accessLogFile = 0x0, enablePacketDecoding = 1 '\001', stickyHosts = 0 '\0', daemonMode = 0 '\0', maxNumLines = 128, rFileName = 0x0, trackOnlyLocalHosts = 0 '\0', devices = 0x8059cc8 "eth0", enableOtherPacketDump = 0 '\0', filterExpressionInExtraFrame = 0 '\0', pcapLog = 0x0, localAddresses = 0x0, numericFlag = 0 '\0', dontTrustMACaddr = 0 '\0', protoSpecs = 0x0, enableSuspiciousPacketDump = 0 '\0', refreshRate = 120, disablePromiscuousMode = 0 '\0', traceLevel = 3, maxNumHashEntries = 4294967295, maxNumSessions = 4294967295, defaultVsan = 1, webAddr = 0x0, webPort = 3000, ipv4or6 = 0, enableSessionHandling = 1 '\001', currentFilterExpression = 0x0, samplingRate = 0, domainName = '\0' <repeats 63 times>, flowSpecs = 0x0, debugMode = 0 '\0', useSyslog = -1, mergeInterfaces = 1 '\001', pcapLogBasePath = 0x8058fc0 "/0/local/ntop/var/ntop", fcNSCacheFile = 0x0, printFcOnly = 0 '\0', mapperURL = 0x0, w3c = 0 '\0', P3Pcp = 0x0, P3Puri = 0x0, setNonBlocking = 0 '\0', disableStopcap = 0 '\0', disableInstantSessionPurge = 0 '\0', printIpOnly = 0 '\0', noInvalidLunDisplay = 0 '\0', disableMutexExtraInfo = 0 '\0', skipVersionCheck = 0 '\0'} (gdb) print *(myGlobals.runningPref) Structure has no component named operator*. (gdb) Thanks. Burton Strauss wrote:
-- Didier Benza [EMAIL PROTECTED] Tel : +33 492 38 7167 / Fax : +33 492 38 7602 INRIA 2004, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex |
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
